Re: Easiest way to print from XP/DOS.




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
although I don't remember the exact circumstances.

If the printer is connected to the pc, give it a sharename,
such as \\mypc\hpprinter. Then do a redirect of an lpt
port to that sharename: net use LPT2: \\mypc\hpprinter.

This indirect routing through the network driver back to
the local hardware port seems silly, but it did fix a
program that couldn't directly access the hardware.


I'm trying to find out if this was some change in
xp from previous versions, or is there something
abnormal going on. I'm trying to avoid setting
up an xp machine for one client.


jim-on-linux




On Saturday 30 December 2006 03:05, Tim Roberts
wrote:
jim-on-linux <inq1ltd@xxxxxxxxxxx> 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 that virus detector or some
self.defense software is interacting?

It is quite possible that they simply do not
have a printer hooked up to their computer's
parallel port. If all of your printers are
from network shares, then the special file
"prn" will not go anywhere.

Typing to "prn" is a dreadful way to do
printing on Windows. --
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

.



Relevant Pages

  • Re: Easiest way to print from XP/DOS.
    ... The client is in a one printer office. ... output file is opened with note and then sent to ... When I typed from keyboard on ... Typing to "prn" is a dreadful way to do ...
    (comp.lang.python)
  • Re: Easiest way to print from XP/DOS.
    ... jim-on-linux wrote: ... zip the dist directory and send it to the client. ... If not, I may have to register the package in xp, ...
    (comp.lang.python)
  • Re: Easiest way to print from XP/DOS.
    ... The client is in a one printer office. ... output file is opened with note and then sent to ... Providenza & Boekelheide, Inc. ...
    (comp.lang.python)