Solved

net use statement

Posted on 1998-11-10
3
490 Views
Last Modified: 2013-12-19
I have assigned lpt1 on one of the machines on my network to print to a shared printer with the following statement:
net use lpt1: \\server\backprinter
Now this user wants to print on the offices front printer, trying to assign the port to the front printer fails as the port has already been assigned.
How do I set the lpt to be configured to nothing so I can reassign it?
0
Comment
Question by:joegass
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
PJansen earned 10 total points
ID: 1565401
Use
"net use lpt1: /D"
to free the port and reassign the port to the new printershare.

Peter
0
 

Expert Comment

by:ericber
ID: 1565402
You could also use another net use statement assigned the second printer to lpt2.  For example:

net use lpt2: \\server\front

You could have more than two and for each net use statement, when you install the specific Print Device all print jobs selected for the particular printer will redirect to the respective lpt port.

Eric
0
 

Expert Comment

by:ericber
ID: 1565403
First sentence should be "assigning" and not assigned.
0

Featured Post

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question