Re: Easiest way to print from XP/DOS.

2006-12-31 Thread Tim Roberts
jim-on-linux <[EMAIL PROTECTED]> wrote: > >Thanks, >The client is in a one printer office. If the >output file is opened with note and then sent to >the printer everything is fine but it defeats the >purpose of the utility. Also tried > lpt1 but >the same results. Is it a USB printer? Re

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread [EMAIL PROTECTED]
jim-on-linux wrote: > Thanks, > The client is in a one printer office. If the > output file is opened with note and then sent to > the printer everything is fine but it defeats the > purpose of the utility. Also tried > lpt1 but > the same results. This may not help, but it worked once for me

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread jim-on-linux
Thanks, However, using note to print is a problem. First, because note adds a header( file name etc.) to the printed output that is not acceptable. Next, the number of files is 200 to 300 per day. The idea of the utility is to eliminate the operator. But, if you have a virus detector that

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread jim-on-linux
Thanks, The client is in a one printer office. If the output file is opened with note and then sent to the printer everything is fine but it defeats the purpose of the utility. Also tried > lpt1 but the same results. I'm trying to find out if this was some change in xp from previous v

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread Tim Golden
jim-on-linux wrote: > The utility creates a text file that is sent to > the printer with the statement below. >os.system('type ' +FileName+ ' >prn'), > and the file prints. > > But, from an xp machine if I try to print using > the same statement, I get a question on the dos > screen which rea

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread Tim Roberts
jim-on-linux <[EMAIL PROTECTED]> wrote: > >Did you run from a file or type in from keyboard? > >When the client runs the utility program the >output file is built but nothing prints and no >messages appear. When I typed from keyboard on an >xp pro at c:\, I got the message. > >Is it possible th

Re: Easiest way to print from XP/DOS.

2006-12-29 Thread Tom Plunket
jim-on-linux wrote: > When the client runs the utility program the > output file is built but nothing prints and no > messages appear. If the file has a '.txt' extension, you could try os.system'ing "start ", which'll make the file pop open with notepad (or whatever happens to be associated wi

Re: Easiest way to print from XP/DOS.

2006-12-29 Thread jim-on-linux
Did you run from a file or type in from keyboard? When the client runs the utility program the output file is built but nothing prints and no messages appear. When I typed from keyboard on an xp pro at c:\, I got the message. Is it possible that virus detector or some self.defense software

Re: Easiest way to print from XP/DOS.

2006-12-29 Thread Larry Bates
jim-on-linux wrote: > > This is the situation I'm in. > > I've built a single file utility using py2exe. I > zip the dist directory and send it to the client. > > For clients that use win95, win98 machines, > They unpack the zip file and run the exe. > > The utility creates a text file that i

Easiest way to print from XP/DOS.

2006-12-29 Thread jim-on-linux
This is the situation I'm in. I've built a single file utility using py2exe. I zip the dist directory and send it to the client. For clients that use win95, win98 machines, They unpack the zip file and run the exe. The utility creates a text file that is sent to the printer with the stateme