Can I print from Python?

ddoc news at 92tr.freeserve.co.uk
Wed Apr 10 19:40:52 EDT 2002


Jim Williams wrote:
> Ahhh..that sheds a little light then.  probably could do something like
> os.system("copy file.txt lpt1") maybe.  Thanks will experiment with it.

Remember the basic Windows applications accept a comman line switch to 
print a file so you can make a rich text file and then shell Wordpad with 
/p file.rtf    to print it.

-- 
A



More information about the Python-list mailing list