Home General

URGENT: setting printer with standard PrinterSetupDialog

edited July 2001 in General
I would like to set the printer for all the reports in my program using
the standard PrinterSetupDialog from Delphi.
This doesn't seem to work as my reports ignore which printer I've set in
the dialog.
What can I do about this ?

Thanks !

Comments

  • edited July 2001
    > I would like to set the printer for all the reports in my program using

    You need to assign the values from Printer to *each* report's
    TppReport.PrinterSetup, or have one universal TppPrinterSetup that you
    assign to each reports TppPrinterSetup. Check the TppPrinteSetup.Assign
    method in the 'ppPrintr.pas' unit to know what values need to be assigned.


    HTH,
    Ed Dressel
This discussion has been closed.