Solved

Network printer working with windows XP and Dos program

Posted on 2004-09-22
2
1,136 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now