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

ShowPropertiesDialog

edited December 2004 in General
Using the following code I can show the printer specific properties dialog:

ppReport1.Printer.ShowPropertiesDialog;

If I then change some of the printers properties, then print using:

ppReport1.Print;

The changes made in the dialog are not reflected in the printed output. How
can I fix this?

Comments

  • edited December 2004

    Try something like the following...

    uses
    ppPrintr;


    ppPrinter.PrinterSetup := myReport.PrinterSetup;

    if ppPrinter.ShowPropertiesDialog then
    ppReport1.PrinterSetup := ppPrinter.PrinterSetup;



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.