XPRINT GET COPIES statement  

Purpose

Retrieve the XPRINT copy count.

Syntax

XPRINT GET COPIES TO copycount&

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 copycount&.  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