[python-win32] Specify number of copies and collate when printing
Bill Burns
billburns at pennswoods.net
Fri Jan 13 02:57:09 CET 2006
I've built a small app (w/PythonCard) which sends PostScript to a
printer. The app uses win32print for printing. I'm using the 205 build.
The GUI has a spinner to specify the number of copies and a checkbox to
specify if it should collate. The path to the files are in a wxList.
To print multiple copies, I'm currently looping through the range of
copies (listed in the spinner) and then repetitively sending the files
to the printer.
Example:
The wxList contains three (3) files (File1, File2, File3).
Number of copies is set at two (2).
All three files get send to the print *twice* (total of six files).
*The order in which the files are sent, is determined by whether the
collate checkbox is checked or unchecked.
This certainly works, but I'd like to know if its possible to send the
files to the printer *once* and tell the printer the number of copies to
print (and whether or not to collate)?
Does anyone know if this is possible?
Thanks,
Bill
More information about the Python-win32
mailing list