Print to Windows default Printer
Scott David Daniels
Scott.Daniels at Acm.Org
Thu Jan 20 10:57:32 EST 2005
Tim Golden wrote:
> [Samantha]
> | I am new to Python and I am having considerable trouble
> | trying to print
> | (using a simple script) to the default printer rather than the screen.
> | Thanks for any help.
> | S
>
> It may be that something here will help you:
>
> http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html
>
> Specifically, I think that the section print raw text is
> closest to what you're asking (although not necessarily
> to what you'll eventually want):
>
> http://tgolden.sc.sabren.com/python/win32_how_do_i/print.html#win32print
>
You might be interested in using PDFCreator to save paper during
your tests. It is a windows printer driver that creates a PDF file:
http://sourceforge.net/projects/pdfcreator/
--Scott David Daniels
Scott.Daniels at Acm.Org
More information about the Python-list
mailing list