Discussion Locked

Running a batch file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a W2K machine running a dos based program which needs to print to LPT1.

The printer that this w/s prints to is a tcp/ip network printer port 10.10.xx.xx

I have been told to use a batch file using net use command to solve the problem... Any help??

5 replies

by beermonster

Hi,
The problem is that the net use command connects to shared resources, rather than directly to a printer. To overcome this share the printer on your workstation, and the try -

net use LPT1 \\yourlocalmachine\printersharename

Hope this helps...

by sharon

Beermonster is right. Also, if you need the computer to always stay connected to the printer, put /persistent:yes at the end

This discussion is closed to new replies.