Solved

Network printer working with windows XP and Dos program

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 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