short Escape(hdc, GETTECHNOLOGY, NULL, NULL,lpTechnology)
The GETTECHNOLOGY printer escape retrieves the general technology type for a printer, which allows an application to perform technology-specific actions.
Applications should avoid using this escape. Printer drivers written for Windows version 3.0 and later may not support this escape.
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. This value is 1 if the escape is successful. It is zero if the escape is not successful or is not implemented.