Discussion Locked

Print from DOS to USB Printer

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

I have a HP 895 DeskJet printer attached via the USB port. How do I print from a DOS window directly to the printer. I know I can redirect to a file and then print the file, but I would like to print directly to the printer.

Right now when I do a DIR > PRN: the output ends up in Acrobat PDFWriter. My default printer is the HP 895. When I try to capture the port I'm asked for a network address. Is there a setting I'm missing? Is there a utility that can capture a LPT port and send theresult to USB?

10 replies

by volovoy

When you install local printer, you have the question during installation about printing from DOS. You have answer Yes on this question and choose local port for printing. If you didn't do this, try uninstall (delete) printer and install it again.
Good luck

Alex

by zalog

The install process requires one to run the HP Setup program. The screen that asks "Do you want to print from MS-DOS applications?" is not displayed during the setup.

by zalog

The install process requires one to run the HP Setup program. The screen that asks "Do you want to print from MS-DOS applications?" is not displayed during the setup.

by volovoy

Ok. Go to Start, Settings, Printers. Make right click on your local printer, click on Properties, Details. Do you see Print to the following port - LPT1? It means that you can print directly from DOS to LPT1 port. On my computer I have HP Deskjet 855, and I don't have any problem with printing from DOS.

Alex

by zalog

The printer is attached to the USB. Driecting the output to LPT1: causes the output to go to Acrobat PDFWriter. Is your priter attached via Parallel or USB?

by nettek

You do not need redirect to PRN. You can redirect to the port. For example, c:\dir > lpt1, or c:\dir > com1. When you go to the properties of your HP895, and click on the "Details" tab, you will see "Print to the following port"; below that will bethe USB port your printer is using.

This discussion is closed to new replies.