Solved

net use statement

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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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