Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GETTECHNOLOGY
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define GETTECHNOLOGY 20 
short Control(lpDevice, GETTECHNOLOGY, NULL, lpTechnology)
LPPDEVICE lpDevice;
LPSTR lpTechnology;
 
The GETTECHNOLOGY escape retrieves the general technology type for a
printer. This allows an application to perform technology-specific actions.
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
lpDevice      Points to a PDEVICE structure specifying the destination
              device.
 
lpTechnology  Points to a buffer to which the driver copies a
              null-terminated string containing the printer technology type,
              such as "PostScript."
 
Return Value
 
The return value is 1 if the escape is successful. Otherwise, it is 0 if the
escape is not successful or not implemented.
 
See Also
 
PDEVICE