I’m generating invoices, and depending on where the goods are being sent I need 2 or 5 copies printed. Since I will be creating 100s of these at a time, I’d like to print them all in a batch without showing any print dialogs.
Is there a way of from code to specify the number of copies I want, or,
do I have to create a large ‘printerjob’ repeating each page as many times as I need them?
I do something similar with invoices. They are all seperate files.
I only show a dialog with the first print to select the printer. After that I process them all without a dialog. Printing of multiple copies is just a loop. At that time I couldn’t think of a more elegant (read better) solution. Haven’t given it any thought since then. It just works…