You can use win32print.DocumentProperties to set up the printer
parameters.  Take a look at \win32\demos\print_desktop.py
for an example.

       Roger


Bill Burns wrote:
> 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
> 
> 
> 
> 
> 
> 
> 
>
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to