Computing.Net > Forums > Windows XP > Capturing LPT1 on WinXP to a net printer

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Capturing LPT1 on WinXP to a net printer

Reply to Message Icon

Name: Brandon Price
Date: March 15, 2002 at 11:18:58 Pacific
Comment:

I need help on this one. I have a two laserjet 4000 printers in my office and I can't seem to capture a printer to LPT1 to print from my dos applications. I only have one program that needs LPT1 to print and I tried going to the dos prompt and capturing it manually but it doesn't change it in the windows XP printer properties. If you have a solution to this please email me. thanks much.



Sponsored Link
Ads by Google

Response Number 1
Name: Paul H
Date: March 15, 2002 at 14:56:38 Pacific
Reply:

when you installed the printers did you select the option to print from dos programs?? if not delete the printers and reinstall. good luck


0

Response Number 2
Name: Brandon Price
Date: March 20, 2002 at 21:55:18 Pacific
Reply:

Yes, I did select 'print from dos based programs' but I can't seem to change the printer that is captured to LPT1. Maybe i should try the registry. Thanks for replying. if you think of anything else i can try please let me know thanks.


0

Response Number 3
Name: Brian Johnston
Date: April 4, 2002 at 11:28:12 Pacific
Reply:

I had this problem with a vital DOS program in our office. Most users do not have their own printer at their workstation. They had to print to 1 of 2 network printers (HP 8150's) shared by our domain controller. Here is how I solved it:

Download "Devcon.exe" from Microsoft. This is a command line device manager for WinXP. Place it in the local machine's root (C:\) directory for easy access.

Share the network printer from one of your computers. MAKE SURE that the share name of the printer is 8 characters or less (DOS naming limit). We had problems troubleshooting this at first.

Open a command prompt.

The first step is to disable the current LPT port mapping by typing:

devcon disable *PNP0401

*PNP0401 is the code for LPT1. See the docs for devcon.exe for other lpt port numbers.

The second step is to re-map the LPT1 port to the network printer using the Net Use command. Here is the basic syntax:

net use lpt1 \\printserver\printername

Now your DOS program will happily send jobs to the LPT1 port oblivious to the fact that XP is trying to make life a big pain in the #$@!!

Another note: If you don't have administrative rights on the local machine, neither command will work. If you don't want to give someone local admin rights (we didn't), you have to run these commands from a login script from the domain controller. They will be executed automatically when the user restarts and logs in.

Hope this helps!
-Brian


0

Response Number 4
Name: brandon price
Date: April 11, 2002 at 08:01:31 Pacific
Reply:

This really works, I was able to capture the printer to lpt1 and print from my dos applications. I did have to put it into the logon script since i don't want my users to have admin rights.

Thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Capturing LPT1 on WinXP to a net printer

Print from DOS to a USB printer www.computing.net/answers/windows-xp/print-from-dos-to-a-usb-printer/55515.html

XP wont print to a network printer www.computing.net/answers/windows-xp/xp-wont-print-to-a-network-printer/103374.html

Adding a domain printer to xp home www.computing.net/answers/windows-xp/adding-a-domain-printer-to-xp-home/53936.html