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.
SETCOPYCOUNT
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define SETCOPYCOUNT 17 
short Control(lpDevice, SETCOPYCOUNT, lpInData, lpOutData)
LPPDEVICE lpDevice;
LPINT lpInData;
LPINT lpOutData;
 
The SETCOPYCOUNT escape specifies the number of uncollated copies of each
page that the printer is to print.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
lpDevice   Points to a PDEVICE structure specifying the destination device.
 
lpInData   Points to a 16-bit variable containing the number of uncollated
           copies to print.
 
lpOutData  Points to a 16-bit variable that receives the number of copies to
           print. This may be less than the number requested if the
           requested number is greater than the device's maximum copy
           count.
 
Return Value
 
The return value is 1 if the escape is successful. Otherwise it is 0 if it
is not, or if the escape is not implemented.
 
See Also
 
PDEVICE