PDA

View Full Version : Net use lpt1: command in XP


dbullock@hlcllp.com
November 8th 05, 09:27 PM
We have an old QBasic program that we wrote years ago that wants to
print to LPT1. I wrote a batch file for everybody's machine that starts
up at boot-up and directs LPT1 to a certain printer. It has worked fine
until recently. On a couple of XP machines the dos box comes up and
asks for a password to the print server. The print server is nothing
more than a Win 95 machine with the printers shared out...not even
logged into the network. It still works OK on the Win2000 machines but
the XP machines are balking. I figure it's due to some XP patch. Any
ideas how to fix this?

Alan Morris [MSFT]
November 8th 05, 11:58 PM
not a patch. XP security prohibits the system from mapping physical devices
to network addresses unless the user has administrative privilege.

Disable the LPT port in the BIOS in order for a user to map the port, or the
user can map LPT2:, LPT3: if no physical device exists.

http://support.microsoft.com/default.aspx?scid=kb;en-us;313644&Product=winxp
Non-Administrators Cannot Remap an LPT Port to a Network Printer
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

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

> wrote in message
oups.com...
> We have an old QBasic program that we wrote years ago that wants to
> print to LPT1. I wrote a batch file for everybody's machine that starts
> up at boot-up and directs LPT1 to a certain printer. It has worked fine
> until recently. On a couple of XP machines the dos box comes up and
> asks for a password to the print server. The print server is nothing
> more than a Win 95 machine with the printers shared out...not even
> logged into the network. It still works OK on the Win2000 machines but
> the XP machines are balking. I figure it's due to some XP patch. Any
> ideas how to fix this?
>

Google