Print to Windows default Printer

Samantha samantha7395 at hotmail.com
Thu Jan 20 16:17:35 EST 2005


Thanks for the URL. I finally am able to print the temp file. Not exactly 
what I wanted, but it will work. The code I used to print was this:

    os.system ("start /min notepad /P temp.txt")

Thanks ALL!
S
"Kristian Zoerhoff" <kristian.zoerhoff at gmail.com> wrote in message 
news:mailman.970.1106248792.22381.python-list at python.org...
> On Thu, 20 Jan 2005 19:14:10 -0000, Tim Golden
> <tim.golden at viacom-outdoor.co.uk> wrote:
>> [Kristian Zoerhoff]
>> |
>> | On Thu, 20 Jan 2005 18:58:25 -0000, Tim Golden
>> | <tim.golden at viacom-outdoor.co.uk> wrote:
>> | >
>> | > Can anyone else try a "PRINT blah" or a "COPY blah LPT1:"
>> | > on XP SP2?
>> |
>> | The printer is probably connected via USB, not the parallel port
>> | (LPT1), so the above won't work. I googled, and found some sage advice
>> | here:
>> |
>> |     http://www.winnetmag.com/Article/ArticleID/39674/39674.html
>> |
>> | that may assist the OP.





More information about the Python-list mailing list