XPRINT GET COPIES statement

Purpose | Retrieves the XPRINT copy count.
Syntax | XPRINT GET COPIES TO CopyVar& Function Form: CopyVar& = XPRINT(COPIES)
Remarks | XPRINT allows you to set the number of copies to be automatically printed, if it is supported by the printer driver. XPRINT GET COPIES retrieves the copy count, assigning the value to the long integer variable specified by CopyVar&. The default value is one (1). If this statement is executed without a host printer attached, error 57 is generated.
See also | XPRINT ATTACH, XPRINT SET COPIES