TechSpot

Mapping LPT1: to a USB Printer

By Mr.Fork
Jan 25, 2006
Topic Status:
Not open for further replies.
  1. Anyone know how to use 'net use' command to do this?
  2. Nodsu

    Nodsu TS Rookie Posts: 9,431

    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.
  3. xero

    xero TS Rookie Posts: 97

    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
  4. Mr.Fork

    Mr.Fork TS Rookie Topic Starter Posts: 26

    Thaniks for the tips guys. I'll give that a whirl...
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.