symlink the real device to the device its printing to.



-Scott



Michael Shadel <mshadel@bigplanet.com>
Sent by: plug-discuss-admin@lists.plug.phoenix.az.us

05/25/2005 02:38 PM
Please respond to
plug-discuss@lists.plug.phoenix.az.us

To
plug-discuss@lists.plug.phoenix.az.us
cc
Subject
Re: lpt2 without a real lpt2 card installed





JD Austin wrote:

>
>
> Michael Shadel wrote:
>
>> Is there a way to make a linux box (novell suse 9 on an hp dc2000 p4)
>> think it has an lpt2 port even though it does not have one installed?
>
>
> Typically you set up a network printer and queue and nobody knows the
> difference.
> What exactly are you trying to do with the non existent printer port?
> JD
>
I have a dos program running under dosemu, it has hundred of reports
that print to lpt2. dosemu will redirect a port to a network printer. It
has an lpt1 port and my program will print to the network printer if I
send it to lpt1. I have my reasons but I do not want to change all the
reports to print to lpt1 and I do not want to install lpt2 cards in all
of the desktops. I also believe I could print to a file and run a
spooler, but again I would have to change all of the report to print to
a file instead of lpt2.