Computing.Net > Forums > Disk Operating System > dos application printing to windows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

dos application printing to windows

Reply to Message Icon

Name: Mike Belrose
Date: November 26, 2003 at 20:04:58 Pacific
OS: Windows all versions
CPU/Ram: Pent 4 256K
Comment:

I run a DOS program as a windows application. The program runs fine in all versions of Windows but will only print to a Laserjet or epson characterset printer from LPT1. The LPT1 problem is not an issue but I would like to print from the DOS program running as a Windows application to the currently installed Windows printer. Any suggestions



Sponsored Link
Ads by Google

Response Number 1
Name: JackG
Date: November 26, 2003 at 23:05:47 Pacific
Reply:

Unless your Windows printer driver supports printing from DOS applications by hooking the printer hardware port and emulating it, then you can not do it. There are so many different printer protocalls used with DOS that this would be very difficult, unless there was an emulation driver written for every printer. DOS is trying to print characters or bit map graphics, Windows only prints through uses an API interface. Very few Windows Printer drivers even attempt this conversion from DOS. Your only choice is to print to a text file and the use windows to print the text file afterwords.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: dos application printing to windows

DOS Printing in Win95 www.computing.net/answers/dos/dos-printing-in-win95/779.html

DOS application can't print from sharing printer www.computing.net/answers/dos/dos-application-cant-print-from-sharing-printer/2516.html

DOS Application not printing on XP www.computing.net/answers/dos/dos-application-not-printing-on-xp-/14194.html