Solved

Network printer working with windows XP and Dos program

Posted on 2004-09-22
2
1,139 Views
Last Modified: 2010-03-18
I have a problem with printing to a network printer using an old dos program running on Windows XP.

The issue is that the dos program can only print to LPT ports. With windows 98 Pcs this is not a problem, as the network printer, which is shared from one PC, can be captured to a local port. There is no way to capture a port on windows xp.

I searched on google, and thought I had discovered a solution. The command:
net use lpt3 KEN\EPSON /persistent:yes

can map the LPT3 port to the network printer. However, there is a problem. The command executes sucessfully, but when I try to print from the dos program, all seems well on the client computer. The computer that the printer is attached to (windows 98) brings up the following error. "error writing to LPT port."

This is frustrating. The redirection is working but this error is stopping my plan.

All other computers on the network (all windows 98) can print to that printer using their captured port setup.

Please help
Thanks
0
Comment
Question by:driver20384
2 Comments
 
LVL 15

Expert Comment

by:adamdrayer
ID: 12129585
try "dir > lpt3:" at a dos prompt
0
 
LVL 1

Accepted Solution

by:
curtwade earned 250 total points
ID: 12280791
We had the same issue with an old DOS app on a network and the "net use" only worked consistently for users who were admins on XP boxes - always failed for normal users.

Does it have to be LPT3?  If not, try this - which will only work if the XP PC physically has an LPT1 port:

1. Install the printer driver on the XP machine and have it point to the shared printer on the Win9X machine.  Test to make sure the XP box can print to it from a Windows app (e.g., something simple like NOTEPAD or WORDPAD).

2. On the "Ports" tab of the printer settings, check the "Enable printer pooling" box and put a check next to "LPT1" on the list above.

After a re-boot, the DOS app on the XP machine ought to think its sending jobs to LPT1, but they should be routed to the shared printer.

Good luck!
Curt....

0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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