Net use lpt1: command in XP

D

dbullock

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?
 
A

Alan Morris [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top