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.
ENUMPAPERBINS
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define ENUMPAPERBINS 31 
short Control(lpDevice, ENUMPAPERBINS, lpInData, lpOutData)
LPPDEVICE lpDevice;
LPINT lpInData;
LPINT lpOutData;
 
The ENUMPAPERBINS escape retrieves attribute information about a specified
number of paper bins. The GETSETPAPERBINS escape retrieves the number of
bins available on a printer.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
lpDevice   Points to a PDEVICE structure specifying the destination device.
 
lpInData   Points to a 16-bit variable that specifies the number of bins for
           which information is to be retrieved.
 
lpOutData  Points to a BINNAMES structure to which information about the
           paper bins is copied. The size of the structure depends on the
           number of bins for which information was requested.
 
Return Value
 
It is 1 if the escape is successful. Otherwise, it is 0 if the escape is not
successful or not implemented.
 
See Also
 
GETSETPAPERBINS, BINNAMES, PDEVICE
 
 
                                      ♦