Print to Windows default Printer

Samantha samantha7395 at hotmail.com
Thu Jan 20 13:46:00 EST 2005


The printer is on LPT1, but I sure can't get the temp file to print for some 
reason.
I am using Windows XP SP2.
S
"Tim Golden" <tim.golden at viacom-outdoor.co.uk> wrote in message 
news:mailman.959.1106240645.22381.python-list at python.org...
> [Samantha]
>
> [... snip my explanation of PRINT / COPY LPTx: ...]
>
> | Thanks Tim,
> | That is exactly what I want to do.
> | How do I map the printer to LPT1?
> | S
>
> Depends on a lot of things: whether the printer is
> local or networked; what version of Windows you're
> running, &.
>
> As a very basic starting point: if it's a local printer
> (ie plugged into the back of your machine) it's probably
> on LPT1: already, or you could go to the Add Printer
> wizard and tell it to configure it for LPT1: there.
>
> If it's networked, then something like:
>
> NET USE LPT1: \\servername\printerqueue
>
> should achieve the right effect.
>
> TJG
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________ 





More information about the Python-list mailing list