Discussion Locked

Printing to a USB printer in DOS

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is it possible to print to a USB printer in a DOS program? (QBasic)?

Thankyou
Peter

8 replies

by sgt_shultz

well, this is not what you are looking for maybe but i would think you could capture the port to lpt1 (look in the printer driveer properties in windows) then if you stayed in windows and used qbasic in a command shell, it would print to lpt1...

by swomack

It is not possible to print to a USB printer from DOS. We had an HP laser printer and tried to print from a DOS program and couldn't. I called HP tech support and they said it can't be done.

by thechas

If your running the program in a DOS window inside of Windows, the printing function should just use the default Windows printer.

If you are booting into DOS, you will need to find a DOS USB driver so that DOS can recognize and deal with the USB port.

Here is a link to a DOS USB driver site:

http://tinyurl.com/7utp

Chas

This discussion is closed to new replies.