[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 496
  • Last Modified:

net use statement

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
joegass
Asked:
joegass
  • 2
1 Solution
 
PJansenCommented:
Use
"net use lpt1: /D"
to free the port and reassign the port to the new printershare.

Peter
0
 
ericberCommented:
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
 
ericberCommented:
First sentence should be "assigning" and not assigned.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now