SETCOPYCOUNT

Syntax

short Escape(hDC, SETCOPYCOUNT, sizeof(int),lpNumCopies,lpActualCopies)

This escape specifies the number of uncollated copies of each page that the printer is
to print.

Parameter Type/Description  

hDC HDC Identifies the device context.  
lpNumCopies LPINT Points to a short-integer value that contains the number of uncollated copies to be printed.  
lpActualCopies LPINT Points to a short-integer value that will receive the number of copies to be printed. 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 specifies the outcome of the escape. It is 1 if the escape is successful; it is zero if the escape is not successful. If the escape is not implemented, the return value is zero.