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 ?
> 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.
Comments
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