On Thu, 15 Sep 2005 08:07:35 +0100, "Ron Lowe"
<ron-msng@{d.e.l.e.t.e}lowe-family.me.uk> wrote:
>"Stan Hilliard" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed).. .
>>I have a DOS program that I want to be able to print to USB printers.
>>
>> That normally cannot be done, but I am wondering if a network between
>> the program and the USB wouldn't accomplish that. If so, what is the
>> simplest way to use a network for that purpose on a currently
>> not-networked system.
>>
>> For Win98SE, 2000, XP
>>
>> Information will be appreciated,
>> Stan Hilliard
>
>
>This *may* be possible, but you may not get it to work.
>
>Install the USB printer on a windows machine.
>( It can be the same machine you are running the DOS program on, if you are
>running the DOS program on a windows machine. )
Yes I am running the DOS program on the same windows machine that the
USB printer is connected to.
>Share the printer.
OK
>In the DOS machine, you should then re-direct an LPT port ( say LPT1 or
>LPT2 ) to the network printer.
The program sends its output to PRN, which I assume is OK?
>This requires that the DOS machine is network-capable.
>If it's a stand-alone DOS box, that takes some work.
>If you're running the DOS app from within windows, it's easier, as the
>network support is built-in.
The DOS program runs within a DOS window in Windows.
>Either way, once there is network suport, use the command:
>
>net use LPT2: \\computer-name\printer-share-name
>( this can be the local machine, if you wish. )
For the case of windows XP, I suppose that PRN will point to LPT1:
Question - How can I make sure that I use the correct computer-name
and printer-share-name of the local machine? How do I verify that?
>Now printing to LPT2 will re-direct you to the networked USB printer.
>
>The problem now is what printer type to tell the DOS app is on LPT2.
I think that I am OK there because the output to be printed is plain
ASCII text.
>You're going to have to just try is and see.
|