How To Use QUERYDIBSUPPORT in Printer DriverLast reviewed: March 11, 1997Article ID: Q151892 |
4.00
WINDOWS 95
kbprg kbprint kbhowto
The information in this article applies to:
SUMMARYA printer driver should set flags based on the drivers capability for the DIB when it gets calls to the Control function with the QUERYDIBSUPPORT escape.
MORE INFORMATIONWhen a printer driver gets call to the Control function with the QUERYDIBSUPPORT Escape, the lpInData parameter points to the BITMAPINFO structure and the lpOutData points to LPINT. Based on the capabilities of the driver, it is expected to set the following flags:
QDI_SETDIBITS Device can convert DIB to bitmap QDI_GETDIBITS Device can convert bitmap to DIB QDI_DIBTOSCREEN Device can draw DIB QDI_STRETCHDIB Device can stretch DIBThe driver uses the biBitCount, biCompression, and biPlanes to determine its capability with respect to DIB support. Once the capabilities are determined, it then sets the flags above appropriately. These flags are documented in the Windows SDK in \MSTOOLS\INCLUDE\WINGDI.H.
|
Additional reference words: QUERYDIBSUPPORT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |