I'm trying to set the printer at runtime
Default Printer = Lexmark
Secondary = HP Deskjet
Rpt.PrinterSetup.PrinterName := 'HP Deskjet';
Rpt.PrinterSetup.Copies := 3;
Rpt.Print;
When i run this code it prints on the default printer.
What did i forget?
Olivier Peter.
Comments
Try using the TppReport.PrinterSetup.PrinterNames property to define the
PrinterName property. These names need to be exact for ReportBuilder to use
them correctly.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com