Generally DOS apps send data directly to the printer, so it depends on the control codes you send the print. As such WIDTH has nothing to do with it.
However, depending on the printer and driver installed, operation under Windows may be being intercepted by the driver, and it is taking control of the printer on your behalf. Some drivers can disable this behavior, but this is generally limited to a small range of Windows-only printers that can't be used directly from a DOS application anyway (typically these are USB-connected printers).
Therefore, the questions are these:
1. What version of Windows are you using?
2. What sort of printer are you using? Also, which printer driver and version?
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Announcement
Collapse
No announcement yet.
Printing Draft to Windows and Dos
Collapse
X
-
Printing Draft to Windows and Dos
I have a form on a short program that I produced using pb 3.5.
The program prints in draft mode well when I am using DOS, but I can't get it to print correctly when I am in windows using dos.
Is there a way that I can make the program print the draft form while in windows without having to purchase a third party program to perform the task.
I vaguely remember doing something with a "lpt1:" statement and a "WIDTH" statement, but don't remember was it is.
------------------
Tags: None
Leave a comment: