Discussion Locked

How to capture printer port (LPT1)?

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

How to capture printer port (LPT1) for Dot-matrix printer if using WinXP platform to run MS-DOS program? Formerly, my user was not encountered such problem to print her report via MS-DOS program using Win98 platform.

Please enlighten me if anyone of you know how to solve this program.

Thanks a zillion.

Fion

9 replies

by komp

Go to the command prompt and type the following command:

NET USE LPT1: \\computer_name\printer_share_name /PERSISTENT:YES

Substitute computer_name and printer_share_name with the actual computer and printer names on the network. Enclose with quotes (") if the names contain space(s), i.e "\\MY HOST\SHARED PRINTER"

Use the switch /PERSISTENT:YES if you're gonna keep this capture when the computer restarts.

To cancel the capture, append the /D switch, for example:

NET USE LPT1: \\COMP\PRNT /D

Hope this helps.

by rsears

I have seen this exact behavior and solved it using the
net use lpt1: \\computername\printershare

But also have seen this command fail if the user is not a local admin. If it fails try making the user a member of the local administrators on the machine and I?ll bet the command will map the port.

This discussion is closed to new replies.