Print to Windows default Printer

Samantha samantha7395 at hotmail.com
Thu Jan 20 20:41:24 CET 2005


Thanks Scott,
Not wasting any paper yet. I can't seem to get the file to print at all yet.
S
"Scott David Daniels" <Scott.Daniels at Acm.Org> wrote in message 
news:41efd18e$1 at nntp0.pdx.net...
> 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