Home General

Duplex printing behaviour after upgrading RB

edited June 2016 in General
Hi

I have upgraded from XE RB 15.05 to Seattle RB 17.01.
One of my customers had a complaint about duplex printing behaviour
change. He said with the older version the program would print duplex
when the printers default duplex property is set to true. But now he has
to goto printer settings and set duplex to true every time.

The duplex property of the rtm is (and always was) none. I'm confused?

Best Regards

Bora Aydemir

Comments

  • edited June 2016
    Hi Bora,

    Set Report.PrinterSetup.Duplex to dpDefault to use the default Printer
    default duplex setting

    Old versions of RB did not have the dpDefault option. The dpDefault is used
    to honor the printer default settings and dpNone is used to indicate no
    duplexing.



    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2016
    Thanks for the answer. I have a couple of questions.

    I can access the duplex property of the report from the object
    inspector. But what about the archive reader? Do I have to set Duplex
    value of the arvhive reader from code?

    Will setting the Duplex value of the RTM file to dpDefault have the same
    effect? If so what will happen when I save a report with a rtm (duplex =
    default) to a raf file and later print the raf file through a
    ArchiveReader? Does a raf file save the duplex property or should I
    programmatically set then duplex property of then archive reader before
    printing?

    Best regards

    22/06/2016 23:38 tarihinde Nard Moseley (Digital Metaphors) yazdi:
  • edited June 2016
    Hi Bora,

    For report templates, the PrinterSetup is saved/loaded from the .rtm file.
    The Report.Template.OnLoadEnd event to can be used to modify properties from
    what was saved.

    For archives, the PrinterSetup is saved/loaded from the first page in the
    .raf file and assigned to the ArchiveReader.PrinterSetup. The
    ArchiveReader.OnInitializePrinterSetup event can be used to modify the
    properties from what was saved.



    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2016
    Thanks

    Setting Duplex to dpDefault in the rtm solved my problems.


    23/06/2016 17:59 tarihinde Nard Moseley (Digital Metaphors) yazdi:
This discussion has been closed.