XP LPT1 printing problem

  • Thread starter Thread starter Albert Ros
  • Start date Start date
A

Albert Ros

I currently support a Netware 4.11 environment and I am
deploying several XP Professional based PC's. I have a
login script where it captures LPT1 to a Novell Print
Queue. This setup was in place before the XP machines
were deployed to replace Windows 95 units. With the 95
units, this setup worked fine. Now with XP, the PC does
capture but when the user tried to print, we get an error
and the job sits in the PC's print server with an error.
If I switch to LPT2, then it works fine. I have an
application that demands LPT1 so I need this to work.

Thanks,
Albert
 
For security resons, if the user is not admin on the system they cannot net
use an exisiting resource.


http://support.microsoft.com/default.aspx?scid=kb;en-us;313644

RESOLUTION
To work around this behavior, use one of the following methods:
a.. Log on as an administrator, and then use the net use command.
b.. Disable the LPT port mapping to the local parallel port when the
computer starts by using the devcon disable *PNP0401 command. Note that the
devcon disable *PNP0401 command is for LPT1. To find the hardware ID for
other LPT ports, use the devcon findall * command. The devcon command must
run when the computer starts. For a computer in a domain, you can set up a
group policy to run the preceding command as the computer startup script. To
set the group policy, open the appropriate group policy, open Computer
Configuration\Windows Settings\Scripts (Startup/Shutdown)\Startup, and then
add the command.
c.. If your program can print to the LPT2 port or the LPT3 port, use the
net use command to map the network printer to the LPT2 port or the LPT3
port. Most computers do not have physical LPT2 or LPT3 ports, so a
non-administrator can map an LPT2 port or an LPT3 port to a network printer.


--
Alan Morris

Microsoft Printing Team

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top