Hi Luc,

I'm interested.
Does it handle more than plain text - although even that would be
good!

> I wrote a module that permits something like:
>
>    d = Win32PrinterDocument(printerName,spoolFile)
>    f = file(inputfile)
>    for line in f.readlines():
>       d.PrintLine(line.rstrip())
>    d.endDoc()
>
> Output will go to the specified Windows printer. Unfortunately I'll
need
> some time to make it ready for the public. Tell me if you are
interested.

I was going to try doing something similar (if I ever get time!)
using the WSH objects. What approach are you taking? It looks
(from the EndDoc reference) that you are using the native GDI?

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to