Re: Newbie Printing Question

2005-03-28 Thread Larry Bates
If it is a print that can take direct character output (e.g. one that has PCL or text mode emulation) you can do following: lpr=open('LPT1','w') # or LPT2, LPT3 lpr.writeline('the output line you want') lpr.close() If it is a GDI-only printer it is MUCH more difficult. You need to interface with

Newbie Printing Question

2005-03-27 Thread Richard Lyons
I'm just starting to work with Python. Have had a little experience with basic. I am using Python on a Windows XP system. How to I print a line of output generated in a python script to a printer attached to the windows computer? -- http://mail.python.org/mailman/listinfo/python-list