INFO: Changing Print Settings Mid-Job (85679)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
- Microsoft Win32 Application Programming Interface (API)
This article was previously published under Q85679
3.10 4.00 | 3.50 3.51
WINDOWS | WINDOWS NT
kbprint
SUMMARY
In Windows 3.1 and later, print settings can be changed on a page-by-page
basis through the ResetDC() API.
MORE INFORMATION
An application can pass a new DEVMODE structure (containing new print settings) to ResetDC() between pages to change the print settings. For example, this function makes it possible to change the paper bin or paper orientation for each page in a print job. Note that ResetDC() cannot be used to change the driver name, device name, or the output port.
Before calling ResetDC(), the application must ensure that all objects (other than stock objects) that were previously selected into the
printer device context are selected out.
Modification Type: | Minor | Last Reviewed: | 2/11/2005 |
---|
Keywords: | kbinfo KB85679 |
---|
|