XPRINT SET COLLATE statement  

Purpose

Change the XPRINT collate status.

Syntax

XPRINT SET COLLATE numrexp

Remarks

XPRINT allows you to set the collate status, if the printer driver supports both multiple copies and collate capability.  XPRINT SET COLLATE enables or disables collating, depending upon the value of the numrexp (1=true  0=false).  The following equates are predefined in the compiler to symbolically represent the possible status:

%DMCOLLATE_FALSE       = 0
%DMCOLLATE_TRUE        = 1

If the printer does not support collating, or other values are used, error 5 is generated.  If this statement is executed without a host printer attached, error 57 is generated.

See also

XPRINT ATTACH, XPRINT GET COLLATE