short Escape(hDC, GETTECHNOLOGY, NULL, NULL,lpTechnology)
This escape retrieves the general technology type for a printer, thereby allowing an application to perform technology-specific actions.
Parameter | Type/Description |
hDC | HDC Identifies the device context. | |
lpTechnology | LPSTR Points to a buffer to which the driver copies a null-terminated string containing the printer technology type, such as “PostScript.” |
The return value specifies the outcome of the escape. It is 1 if the escape is successful, and is zero if the escape is not successful or is not implemented.