Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Duplex printing question

edited April 2003 in General
I am using the following code to access the duplex printing property:
TppPrinter(ppReport.PrinterDialog.Printer).PrinterSetup.Duplex

I use this to determine if I need to print a blank sheet of paper so
that duplex printing will work. However, one customer when he duplex
prints, sets the printer to print two-sided instead of setting a
switch to duplex print. So, the duplex property of the printer does
not get set. Is there a way around this? I am using version 5.55 of
the report writer and cannot update to the current version.

Comments

  • edited April 2003
    Jeff,

    Try replacing the print dialog and registering a custom dialog that has an
    option to turn off and on Duplexing with a printer able to print two sided
    pages. Copy the ppPDlg.pas file and rename the unit and class, then
    register the new class in the initialization and finalization section.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.