Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Printer Not Recognized When In DOS Program

Dec 9, 2003 9:53PM PST

My printer (default) works fine when in my Win98 applications but when I move into a DOS mode (using an old FoxPro 2.0 program), it (the printer)won't print and I don't know how to get it recognized from within that horrible program. Suggestions?

Discussion is locked

- Collapse -
Re:Printer Not Recognized When In DOS Program
Dec 9, 2003 10:02PM PST

When you install the printer driver, a question is often asked. It looks like this one. "Do you need to print from DOS?" If you didn't then you may need to dive into the printer settings (you didn't tell what make/model printer!) and see if you can enable it.

Bob

- Collapse -
A few additional points
Dec 9, 2003 11:00PM PST

1. Do you work in a MS-DOS Command windows 'under' Windows 98, or in real mode DOS? That might make a difference. Real mode does need it's own DOS-printer drivers. USB printers don't work with real mode DOS. Most printers, I think, will (eventually) work from an MS-DOS-window (but I can't try here).
2. If you can't find a setting like Bob mentioned, then uninstall the printer (remove it from Control Panel/Printers) and install again, carefully noting all questions that might be relevant to your situation.
3. Possible workaround? See if you can tell this nice old application to "print to disk". Then open the print file in Notepad and print it.
4. See the documentation that came with the printer. Somewhere in a hidden corner of the CD might be something about using the printer with MS-DOS.
5. If posting again, mention make and model of the printer also.

Kees

- Collapse -
problem with printing from DOS
Jun 12, 2009 11:18PM PDT

mmmm...

If it is pure DOS Program,
if the program output is stored a text file,

no problem

write a batch file
type filename.txt >prn
post the above file in autoexe file

then tun that program