Solved

net use statement

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
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"…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now