| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
dos application printing to windows
|
Original Message
|
Name: Mike Belrose
Date: November 26, 2003 at 20:04:58 Pacific
Subject: dos application printing to windows 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
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: JackG
Date: November 26, 2003 at 23:05:47 Pacific
|
Reply: (edit)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.
Report Offensive Follow Up For Removal
|

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