Discussion Locked

capturing a printer port in Win2K

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to redirect the output of a DOS app to a network printer in Windows 2000. I know how to do it in Win9x, but this is comletely new for me. TPreviouslty the user had a Win98 with a captured printer port and it worked Ok. I really apreciate any help

5 replies

by vinnyd

You need to use the net use command.

net use lpt2 \\servername\printersharename

by joseph moore

Ok. You can use the NET USE command to capture LPT1 and redirect it to a network shared printer.
For example, say that \\SERVER1 has a shared network printer called \\PRINTER1. To get LPT1 to print to this printer, open a Command Prompt and type:NET USE LPT1 \\SERVER1\PRINTER1 /PERSISTENT:YES

That will map LPT1 to the network shared printer, and make the mapping persistent, so it will remap when you log back in.

hope this helps

This discussion is closed to new replies.