Discussion Locked

Print from a DOS application

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

Hello, my question is; how do I print from a DOS program with out kicking me back to windows?
I'm running a DOS program in windows, I mean, it runs in MS-DOS mode, so when I start the program it goes to MS-DOS mode,but when I try to print it takes me back to wintdows, to the printer's software window???
how do I make it print with out going out to windows? in fact I would like to know how do you make DOS programs print wit out going out to windows in general????
Thanks again!
MDL3

11 replies

by thechas

You need to have a DOS driver for the printer installed in the short-cut for the dos window.

Alternately, boot to a command prompt, and run the program from there. You will still need to invoke a DOS driver for the printer.

by mdl3

what's the command to set up a driver in DOS?
or how do you load drivers in DOS?
thanks!
MDL3

by Former member

Go to the Printer Properties in Windows, Select the Details tab of the printer you want to use, click Capture Printer Port, select LPT1 for Device, enter in the path of that printer & tick Reconnect at Logon. Dos applications will now print quite happily.

by neelkant

Hi there, here's the solution.
1)Remove the printer driver.
2)Reinstall the printer. While installing the driver it will ask u whether u want the printer to print from dos . Click on yes.
Thats ALL!!!!

by opus100

You should be able to "capture" a printer port in dos from the command line. Not 100% sure of the syntax but try looking for help on the "net use" command. You don't mention what version of windows you have, but you need to let dos know about the LPT port. Some dos programs also have a printer setup section you need to go through as well. Good luck.

by pinoy_teknik

Try to reinstall the PRinter.....

At the printer folder your going to remove the printer, then Add Printer, If this is a network printer try to Enable the Print from MSDOS base program...You can see the Option there when installing the Printer..
Hope this can!!!

This discussion is closed to new replies.