Re: LPT1 Port Prints to Network Printer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bill Peele [MS] (bpeele_at_online.microsoft.com)
Date: 03/18/04


Date: Thu, 18 Mar 2004 22:10:25 GMT

--------------------
From: <anonymous@discussions.microsoft.com>
Subject: Re: LPT1 Port Prints to Network Printer
Date: Wed, 17 Mar 2004 14:45:24 -0800
Newsgroups: microsoft.public.win2000.printing

Thanks Bruce
  that did it...for now...First just for kicks I went to
the command prompt (because all my printers were back when
I started up today) and ran the "net use" command. To my
surprise (yeah right) the LPT1 was on the network again so
that everything I print goes to my network printer. so i
went and did the "net use lpt1 /d" command. I then
restarted my computer and checked out my printers and they
are now fine and dandy. I thank you. With this
information, even if it reverts back again, I should be
able to dig myself out. The next step is to inform the
manufacturer of the DOS program that it keeps messing up
my printers. It seems to be that when I used this program
last, everything reverted back to be on the network. This
last bit is just for your knowledge if it helps on
situations in the future. Thank you! Thank you! Thank you!

---
Brent,
To answer your other question for how to put back the LPT1 remapping, you go to a command prompt and run "net use lpt1 
\\<server name>\<printer share name>".  When you do this it will remap the port for that instance, meaning when you reboot 
it will no longer be remapped.  If you want it to still be remapped after the reboot you need to add " /p:y" to the end of the 
command to make it persistent.  If you haven't put 2 and 2 together yet the /d, for delete, is mainly used to remove persistent 
mappings but can be used to remove a non-persistent mapping before a reboot.
Bill Peele
Microsoft Enterprise Support
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the 
terms specified at http://www.microsoft.com/info/cpyright.htm 
Note:  For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread 
from which they originated. 


Relevant Pages

  • NET USE Error with XP Pro Client / 2000 Domain
    ... I am trying to map LPT1: to a network printer for an old DOS app we are ... If I run this same command when logged in as the administrator it works ...
    (microsoft.public.windowsxp.security_admin)
  • net use help
    ... On some computers i'm using the net use command, redirecting my LPT1 to a ... network printer, what happens is that on some computers, sometimes, the ... network printer gets unavailable, but it is available, ... use command again it says its available and works fine ...
    (microsoft.public.windowsxp.general)
  • RE: One printer for all users who log on...
    ... add the printers as a local printer then add the port which points to the network printer. ... Finally redirect the printers port (lpt1) to the network port. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Redirecting lpt1 output to an installed printer
    ... to the lpt1 port. ... I am doing now is to redirect the output using the "net use" ... If there's a recognized printer on that port, ... which I do via a "net use LPT1" command inside a batch file. ...
    (microsoft.public.vb.general.discussion)
  • Re: [SLE] Printing from Mozilla/Firefox in 9.1
    ... The xpp command works great. ... >>But when I update the unix.js to contain the list of printers, ... >>won't print for me using the lpr command like it did in 9.0. ...
    (SuSE)