Re: [Tutor] Python printing to LPT

2011-02-12 Thread Ken G.
On 02/12/2011 09:53 PM, Bill Allen wrote: Ken, Thanks for the great info on doing this on a Linux platform. I am sure I will be trying this with Linux sometime and I'll refer back to this. --Bill I discovered some more information on this at the following link: http://mail.python.org/

Re: [Tutor] Python printing to LPT

2011-02-12 Thread Bill Allen
As a followup, I have done some more searching and found some terrific information on this subject of Python printing on the Windows platform. The following link shows variations using some modules from the pywin32 package. http://timgolden.me.uk/python/win32_how_do_i/print.html --Bill On

Re: [Tutor] Python printing to LPT

2011-02-12 Thread Bill Allen
Ken, Thanks for the great info on doing this on a Linux platform. I am sure I will be trying this with Linux sometime and I'll refer back to this. --Bill On Sat, Feb 12, 2011 at 18:33, Ken G. wrote: > On 02/12/2011 10:14 AM, Bill Allen wrote: > >> >> Is is possible to print directly

Re: [Tutor] Python printing to LPT

2011-02-12 Thread Ken G.
On 02/12/2011 10:14 AM, Bill Allen wrote: Is is possible to print directly to an LPT port printer from Python? --Bill I use the following format in my Ubuntu 10.04 usage. It set up a printing file. import os # declare values month = "02"; date = "11"; year = "2011" # open up fi

Re: [Tutor] Python printing to LPT

2011-02-12 Thread Bill Allen
Allan, Ok, that encourages me to try it both ways and see which works out better. Thanks, --Bill On Sat, Feb 12, 2011 at 15:34, ALAN GAULD wrote: > > to print some plain text to a dot matrix printer that the printer can > handle > > with its own internal fonts without need for any ki

Re: [Tutor] Python printing to LPT

2011-02-12 Thread ALAN GAULD
> to print some plain text to a dot matrix printer that the printer can handle > with its own internal fonts without need for any kind of other processing. In that case you can either open LPT1 as a file and write to it or use redirection to PRN from the command line. > I am dubious about t

Re: [Tutor] Python printing to LPT

2011-02-12 Thread Bill Allen
Alan, Sorry for being vague. I am wanting to print from a Python app that I am writing for MS Windows XP.The desired end result is to print some plain text to a dot matrix printer that the printer can handle with its own internal fonts without need for any kind of other processing.What I

Re: [Tutor] Python printing to LPT

2011-02-12 Thread Alan Gauld
"Bill Allen" wrote Is is possible to print directly to an LPT port printer from Python? Yes. and No. It depends on how you define "directly" and what you are trying to print and from which OS. Alan G ___ Tutor maillist - Tutor@python.org T

[Tutor] Python printing to LPT

2011-02-12 Thread Bill Allen
Is is possible to print directly to an LPT port printer from Python? --Bill ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor