Solved

net use statement

Posted on 1998-11-10
3
487 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
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Map drive to different targets depending on localhost name 4 61
Exchange 2010 smtp and senderbase ratings 3 63
Group Policy Question 7 69
DNS issue with resolving request 14 90
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

831 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