Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Networking > Net Use LTP1: issue

Reply
Thread Tools Display Modes

Net Use LTP1: issue

 
 
JN
Guest
Posts: n/a

 
      07-22-2009
This occurs mostly on clients, but on 2000, 2003, and XP boxes.

We have an old DOS program that is hard coded to print some reports to LPT1.
Most of our computers do not have printer ports any longer, just USB
printers. I also have network printers that print directly over TCP/IP. In
order to print to these printers from DOS programs that are hard coded to
LPT 1 and others that allow printing to LPT2 and 3 I did the following:

1. Setup the Printers:
a. USB Laserjets on USB
b. Color central copiers at TCP RAW printers
2. Shared the TCP printers on the local machines
a. HP LaserJet 5 shared as HPLaserjet
b. Konica Color Copier shared as Konica
3. Set the following in my logon scripts:

Net Use LPT1: \\127.0.0.1\HPLaserJet
Net Use LPT2: \\127.0.0.1\Konica.

What happens is the LPT ports get redirected to the computers own shared out
USB printer or remote TCP printer by using the looopback IP 127.0.0.1. This
works fine almost all the time, but occasionally when I try to print to LPT1
after printing most of the day, the print jobs do not print and if I try to
Net Use LPT1 /delete and remap I get "Error 5: Access Denied" even when it
is with a domain admin or local admin account.

I cannot seem to figure out what is causing the local share to stop working.




 
Reply With Quote
 
 
 
 
Kara A. Kalel
Guest
Posts: n/a

 
      08-21-2009
Did you try mapping the USB printers to a network print server, then
printing to that IP address? Put this in your startup.bat script for the
relevant machines:

net use LPT1: /delete
net use LPT2: /delete
net use LPT3: /delete

net use LPT1: \\192.168.0.25
net use LPT2: \\192.168.0.26
net use LPT3: \\192.168.0.27

I have a habit of clearing existing drive mappings in the login scripts,
to keep user error from creeping in. <grin>

Make sure your HOSTS file and DHCP zone file have the right entries for
these three printers. (I also RO the HOSTS file on Windows machines.)

JN wrote:
> This occurs mostly on clients, but on 2000, 2003, and XP boxes.
>
> We have an old DOS program that is hard coded to print some reports to LPT1.
> Most of our computers do not have printer ports any longer, just USB
> printers. I also have network printers that print directly over TCP/IP. In
> order to print to these printers from DOS programs that are hard coded to
> LPT 1 and others that allow printing to LPT2 and 3 I did the following:
>
> 1. Setup the Printers:
> a. USB Laserjets on USB
> b. Color central copiers at TCP RAW printers
> 2. Shared the TCP printers on the local machines
> a. HP LaserJet 5 shared as HPLaserjet
> b. Konica Color Copier shared as Konica
> 3. Set the following in my logon scripts:
>
> Net Use LPT1: \\127.0.0.1\HPLaserJet
> Net Use LPT2: \\127.0.0.1\Konica.
>
> What happens is the LPT ports get redirected to the computers own shared out
> USB printer or remote TCP printer by using the looopback IP 127.0.0.1. This
> works fine almost all the time, but occasionally when I try to print to LPT1
> after printing most of the day, the print jobs do not print and if I try to
> Net Use LPT1 /delete and remap I get "Error 5: Access Denied" even when it
> is with a domain admin or local admin account.
>
> I cannot seem to figure out what is causing the local share to stop working.
>
>
>
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: possibly an exchange routing issue or a relay issue or a router issue. Robbin Meng [MSFT] Windows Small Business Server 0 09-23-2008 04:49 AM
Re: possibly an exchange routing issue or a relay issue or a router issue. Robbin Meng [MSFT] Windows Small Business Server 0 09-04-2008 12:03 PM
RE: possibly an exchange routing issue or a relay issue or a router issue. Robbin Meng [MSFT] Windows Small Business Server 0 09-04-2008 10:53 AM
Re: possibly an exchange routing issue or a relay issue or a router issue. David Windows Small Business Server 0 09-04-2008 09:25 AM
Windows Vista mouse issue.. Possibly ease of use type issue? Malakie Windows Vista Hardware 0 07-10-2008 09:30 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59