C H A P T E R 2

LaserWriter Select 310 Software

setpagestackorder

Syntax

bool setpagestackorder –

Definition This operator sets value returned by pagestackorder. A value of true indicates that the output is going to the face-down tray. A value of false indicates that the output is directed to the face-up tray. Since the LaserWriter Select 310 printer has only a face-down tray, true is the only correct value for this parameter.

Errors rangecheck, invalidaccess, stackunderflow, typecheck

setpagetype

Syntax

int setpagetype –

Definition This operator specifies the default page type to be used subsequently when any paper tray is installed. The following values may be used:

0selects the standard page image area (letter, a4, etc.)

na non-zero value selects note sizes

Errors invalidaccess, stackunderflow, typecheck

setpapertray

Syntax

integer setpapertray –

Definition This operator sets the paper tray from which paper will be fed, and it sets the image area according to the size of paper in the tray and the value of the pagetype operator. The integer argument must be:

0for the main cassette (cassette 250)

1for the multipurpose tray

2for the optional cassette (cassette250/500)

Because this operator installs a new image area, it should be invoked before any marks are placed on the current page. If this operator is executed while an outstanding printer error exists, the interpreter waits until the error has been cleared before completing the execution of this operator.

Errors rangecheck, stackunderflow, typecheck

30

Setting Compatibility Operators

Page 42
Image 42
Apple 310 manual Setpagestackorder, Setpagetype, Setpapertray