Printing From Python
Fuzzyman
michael at foord.net
Fri Jan 30 04:03:57 EST 2004
Thomas Heller <theller at python.net> wrote in message news:<7jzahm2e.fsf at python.net>...
> michael at foord.net (Fuzzyman) writes:
>
> > I looked through the manual, I looked on the web and could find very
> > little on this subject....
> >
> > The closest I could find was :
> > http://www.faqts.com/knowledge_base/view.phtml/aid/4549.
> >
> > Saying that printing (to a printer :-) wasn't easy (at least on
> > windows - let alone *cross* platform) - and that was dated 2000.
> >
> > Oh and - http://mail.python.org/pipermail/python-list/2002-September/121462.html
> > from 2002 giving two different methods for Unix and Windows... the
> > windows one doesn't work across our network........
>
> Although I am connected to a network printer, I have no problems opening
> lpt1:, write some data to it, and the printer prints it:
>
> C:\>net use
> Neue Verbindungen werden gespeichert.
>
>
> Status Lokal Remote Netzwerk
>
> -------------------------------------------------------------------------------
> [...]
> Getrennt LPT1 \\server\lexmarkps Microsoft Windows-Netzwerk
> Der Befehl wurde erfolgreich ausgeführt.
>
>
> C:\>copy con: lpt1:
> hello, world
> ^Z
> 1 Datei(en) kopiert.
>
> C:\>
>
>
> Another thing that comes to mind is something like 'notepad /p x.txt'.
>
> If you want to print other things than simple text files, it gets more
> complicated IMO.
>
> Thomas
You mean python isn't capable of it ?
Fuzzy
More information about the Python-list
mailing list