I must be missing something easy - I need to retrieve the printer that was used to print a report, i.e. what printer did the user select in the dialog. Is there a way to get this information from the report component?
If you typecast the PrintDialog.Printer property of the TppReport object as a TppPrinter, you can gain access to the selected printer name. Something like the following..
Comments
If you typecast the PrintDialog.Printer property of the TppReport object as
a TppPrinter, you can gain access to the selected printer name. Something
like the following..
uses
ppPrintr;
lsPrinterName := TppPrinter(ppReport.PrintDialog.Printer).PrinterName;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com