Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS program under XP doesn't find USB Printer

Status
Not open for further replies.

ArthriticGrayMatter

Programmer
Jun 12, 2002
40
US
Problem: (Using XP pro)

Two printers attached to computer. One to Com-2 the other to USB port. USB printer set as default. Any windows program prints to USB automatically; however, Dos program printing to LPT-1 does not find default printer and prints to com-2.

Does anyone have an idea of what is going on here.
 
I'm not positive, but I think DOS and USB don't mix, when it comes to printing anyway. My office here purchased several cheapo Lexmark USB port printers, and none would print from this ancient DOS-based data logger software we're still using. Hopefull for you I'm wrong.

JP
 
Thanks Wuneyej. I'm afraid you're right. I was hoping that someone might have an idea for a hack. I thought that all printing under XP was handled by XP. Perhaps someone else has encountered this problem and found a solution for both of us. <G>
 
If you're on a network, try printing to it via a network print queue. We had this with a DOS-based program, and when we printed to the printer across the aisle, it would work. (Capture to network printer) We had to set the timeout at about 10 seconds, because the DOS program did not send an &quot;End-of-Job&quot; to windows when it was done.

Howard Dingman
Pro-Tel Communications
Endicott, NY

webmaster<at>holocom<dot>com
 
Thanks Howard. Sorry for the delayed response but I've been out of the country.

How do I set up the printer? It is a shared printer on my net but it is also a local printer. Do I set up a new printer and configure it differently? If so, please explain the configuration needed.
 
just try &quot;NET USE LPT1: \\servername\printername&quot; at the command prompt.

If you set it up as a new printer, there's a question about &quot;do you use this printer to print from MS-DOS programs?&quot; Answer yes, and set it to LPT1: on the Capture dialog.

hd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top