Networking Forums

Networking Forums > Computer Networking > Windows Networking > Net Use LTP1: issue

Reply
Thread Tools Display Modes

Net Use LTP1: issue

 
 
JN
Guest
Posts: n/a

 
      07-22-2009, 10:08 PM
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, 12:01 AM
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
No logon server available - Windows 2003 Trust Issue? NS Issue? newsgroups.jd@gmail.com Windows Networking 15 08-21-2006 07:38 PM
Senao 2611CB3+Deluxe setup issue, network configuration issue, orboth? RWM Wireless Internet 0 01-27-2006 06:00 PM
3 NIC IP routing issue & local dhp client issue Grimmo' Windows Networking 6 05-04-2005 10:19 AM
MN-500 Issue Eric K. Cone Broadband Hardware 4 03-18-2005 07:13 PM
1. Redhat linux 7.2 issue 2. Redhat enterprise linux issue Moo Linux Networking 0 08-26-2004 10:02 AM



1 2 3 4 5 6 7 8 9 10 11