Mapping LPT1: to a USB Printer

Status
Not open for further replies.
Code:
net use LPT1: \\computername\printershare

Computername is the computer that is sharing the USB printer (it could be the local machine too (use the 127.0.0.1 IP address for that)). Printershare is the name that you are sharing the printer with.
 
Nodsu forgot something though;

On a reboot you still want the map to the share to be present so extend nodsu's command as following

net use LPT1: \\computer\sharename /persistent:yes
this maps the LPT port persistently for the current user.

for mapping under specific user use;

net use LPT1: \\computer\sharename /persistent:yes /user:DOMAIN\Username password


You can also map network drives the similar way Nodsu proposed.

share the folder to map the network to
net use driveletter: \\computer\sharename
 
Status
Not open for further replies.
Back