printing to different printers with Qreport

Hi,
How can we print the same report to two different printers with code when using the Qreport.
jbsjbsAsked:
Who is Participating?
 
ZifNabCommented:
Hi jbsjbs,

change this to change from printer :

QuickRep.PrinterSettings.PrinterIndex

so you can do this :

QuickRep.PrinterSettings.PrinterIndex := {your printer}
QuickRep.Print;
QuickRep.PrinterSettings.PrinterIndex := -1 {default printer}
QuickRep.Print;

Zif.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.