ID Number: Q75911
3.00 3.10
WINDOWS
docerr
Summary:
Some of the return codes that identify paper sizes for the PostScript
printer driver (PSCRIPT) are not documented in the Windows Software
Development Kit (SDK) version 3.0 include file, DRIVINIT.H. The
omitted constants are listed below:
#define DMPAPER_LETTER_EXTRA 50
#define DMPAPER_LEGAL_EXTRA 51
#define DMPAPER_TABLOID_EXTRA 52
#define DMPAPER_A4_EXTRA 53
More Information:
The DRIVINIT.H file contains constants (defined with the prefix
DMPAPER_) for all the standard paper sizes. These constants are
usually retrieved from the printer driver by using the ExtDeviceMode
function, and examining the dmPaperSize field. Some drivers support
the paper sizes listed above, and will return one of the listed
constants if the extra paper size is selected in the ExtDeviceMode
dialog box.
The version of the DRIVINIT.H file distributed with the Windows Device
Development Kit (DDK) version 3.0 includes the above constants,
however, the version of this file shipped with the Windows SDK
version 3.0 does not include the above constants. The version of this
file included with the Windows SDK version 3.1 does include the above
constants.
Additional reference words: 3.00 3.10 3.x Linotronic DeviceMode docerr