SETCOPYCOUNT

  #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.

Parameters

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.