Change Selected Printer in PrintDialog
I'm trying to change in delphi code the selected printer
I do this
ppReport1.PrinterSetup.PrinterName := 'MyPrinter';
If sending directly to the printer it works fine, but if show the preview
and then click on the print button, the PrintDialog still show the default
printer
I want to change the selected printer in the PrintDialog before PrintDialogs
shows
I try this without succes
ppReport1.Printer.PrinterName := RecFNT.Imp
thanks
James G
This discussion has been closed.
Comments
Sorry I fix my problem
I'm using external templates (rtm) and I was setting the printer before
loading the template .. my mistake
thanks :P
"James Garza" escribi? en el mensaje