PRB: dmPrintQuality Does Not Affect Text Print QualityLast reviewed: July 23, 1997Article ID: Q114601 |
3.00 3.10
WINDOWS
kbprg kbprb docerr
The information in this article applies to:
SYMPTOMSAn application is able to change printer settings such as paper orientation without requiring user intervention, but the same method does not work to change the print quality of text from letter quality (LQ) or near letter quality (NLQ) to draft. The ExtDeviceMode() function is used to attempt this change through the dmPrintQuality member of the DEVMODE structure. Please see the MORE INFORMATION section below for details about how the dmPrintQuality member of the DEVMODE structure, the DRAFTMODE printer escape, and the selection in the Print Quality combobox in the Print Options dialog, affect the "draft" mode or "quality" of printed output.
CAUSEThis is a limitation of the standard DEVMODE structure. There is no programmable way to change the text print quality (from LQ/NLQ to draft or vice versa) without user intervention because it is not in the standard DEVMODE structure. With printer drivers that offer a Letter Quality/Draft option, such as most Unidrv-based dot-matrix printer drivers, the user can change the text print quality from the Printers applet in Control Panel as follows:
An exception to this is the IBM Proprinter Unidrv-based printer drivers. The Proprinters are dot-matrix printers but they do not provide a print quality choice through the Print Options dialog. Please see the following article in the Microsoft Knowledge Base for information about selecting a draft font with a Proprinter driver:
ARTICLE-ID: Q86269 TITLE : PRB: IBM Proprinter Draft Mode Unavailable Under Windows 3.1Please see the following article in the Microsoft Knowledge Base for information about the proper use of the ExtDeviceMode() function:
ARTICLE-ID: Q112641 TITLE : SAMPLE: Using ExtDeviceMode() to Modify Printer Settings STATUSThis feature is under consideration for a future release of Microsoft Windows.
MORE INFORMATIONThere are three types of "draft" settings that affect the appearance or "quality" of printed output. They are not clearly explained in the SDK documentation:
dmPrintQualitydmPrintQuality controls the graphics resolution only. If the application sets draft mode by setting the dmPrintQuality member of the DEVMODE structure to DMRES_DRAFT, it means the driver should print graphics in the lowest possible resolution for that device. For example, a laser printer that offers the choice of 300, 150, or 75 dpi resolution will be set to 75 dpi. A dot-matrix printer that supports 240x144, 120x144, and 120x72 dpi will be set to 120x72 dpi. Text is not affected by this setting, unless the text is printed as graphics.
DRAFTMODEIf the application sets draft mode by calling the DRAFTMODE printer escape, it means the driver should print text only. It will not print graphics.
Print QualityIf the user selects Draft from the Print Quality list in the Print Options dialog as discussed in this article, then the driver will tell the printer to print text in draft mode. Graphics are not affected by this setting.
|
Additional reference words: 3.00 3.10 docerr Epson Okidata Deskjet NEC
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |