How do you map a local shared printer in Windows XP

Posted on 2005-03-02
Medium Priority
Last Modified: 2006-11-17
I have a computer with a printer attached to it via its LPT1 port.  I have the printer shared out.  I need an ordinary user to be able to connect and print to that printer from another computer.  I have followed this but it does not seem to work... http://support.microsoft.com/default.aspx?scid=kb;en-us;313644

From a command prompt I can type in:  "net use lpt1 \\computername\printer" and it comes back as "command completed successfully"  BUT the printer does NOT show up in Printers and Faxes.

And ideas?
Question by:daveyd123
  • 2
  • 2
LVL 97

Expert Comment

by:Lee W, MVP
ID: 13444291
Go to "Start", select "Run", then type in "\\computername\printer"
LVL 22

Expert Comment

by:Christopher McKay
ID: 13445062
If you click "Start"
click run
type "\\computername"
click "ok"

you should see the printer shared in the Explorer window brought up.

Right click on the shared printer, and choose "Connect"

Now you should have access to the printer.

Hope this helps!



Author Comment

ID: 13449019
I know that I can do it that way.....but....I need to write a batch file to map the local shared printer to another computer
LVL 97

Accepted Solution

Lee W, MVP earned 300 total points
ID: 13449080
No where did you say anything about a batch file.  That's a different story - see:

Author Comment

ID: 13450133
Awesome....that script works like a charm!

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of:,,, …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question