XPRINT GET COLLATE statement  

Purpose

Retrieve the XPRINT collate status.

Syntax

XPRINT GET COLLATE TO collatestatus&

Remarks

XPRINT allows you to set the collate status, if the printer driver supports both multiple copies and collate capability.  XPRINT GET COLLATE retrieves the collate status, assigning the value to the long integer variable specified by collatestatus&.  The following equates are predefined in the compiler to symbolically represent the possible collate status:

%DMCOLLATE_FALSE       = 0
%DMCOLLATE_TRUE        = 1

If this statement is executed without a host printer attached, error 57 is generated.

See also

XPRINT ATTACH, XPRINT SET COLLATE