DOCUMENT:Q75911 04-JUL-1999 [win16sdk] TITLE :INFO: Paper Sizes 50 through 56 Reserved for PostScript Driver PRODUCT :Microsoft Windows Software Development Kit PROD/VER:WINDOWS:3.1 OPER/SYS: KEYWORDS:kb16bitonly kbOSWin310 _IK kbOSWin300 kbSDKWin16 ====================================================================== 3.00 3.10 WINDOWS kbprg ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows Software Development Kit (SDK) 3.1 ------------------------------------------------------------------------------- SUMMARY ======= Version 3.4 of the PostScript printer driver, distributed with version 3.0 of the Microsoft Windows graphical envionment, implements the following paper size constants: #define DMPAPER_LETTER_EXTRA 50 #define DMPAPER_LEGAL_EXTRA 51 #define DMPAPER_TABLOID_EXTRA 52 #define DMPAPER_A4_EXTRA 53 These constants are specific to the PostScript driver (as is the entire range from 50 to 56). These constants are used only by Linotronic printers to help save paper and do not generally apply. The DRIVINIT.H header file distributed with version 3.0 of the Microsoft Windows Device Development Kit (DDK) lists these constants while the DRIVINIT.H file distributed with version 3.0 of the Microsoft Windows Software Development Kit (SDK) does not. In version 3.1, the PRINT.H header file replaces DRIVINIT.H. PRINT.H contains the following note: WARNING: The PostScript driver mistakingly uses DMPAPER_ values between 50 and 56. Don't use this range when defining new paper sizes. To avoid conflicts, do not use the range 50-56 when defining new paper sizes. 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 PostScript 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. Additional query words: 3.00 3.10 ====================================================================== Keywords : kb16bitonly kbOSWin310 _IK kbOSWin300 kbSDKWin16 Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310 Version : WINDOWS:3.1 Issue type : kbinfo ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.