Papersize, Papertray, Setdefaultmultipurposepapertraysize – Apple LaserWriter Select 310 Printer User Manual

Page 40

Advertising
background image

C H A P T E R 2

LaserWriter Select 310 Software

28

Setting Compatibility Operators

papersize

2

papertray

2

setdefaultmultipurposepapertraysize

2

Syntax

– papersize

name bool

Definition

This operator returns the name of the operator that selects a tray
containing paper of the current size. For example, if the current paper
size is letter, this operator returns the value /lettertray. The value of
bool
is true if the page feeds short edge first, false if the page feeds
long edge first.

Standard value: The operator appropriate for the tray specified by
papertray

.

Error

stackoverflow

Syntax

– papertray

integer

Definition

This operator returns the paper tray number most recently set by the
setpapertray

operator.

Standard value: The value of the defaultpapertray operator.

Error

stackoverflow

Syntax

name bool setdefaultmultipurposetraysize –

Definition

This operator tells the interpreter what paper size is installed in the
multipurpose tray. Because the printer engine cannot sense this
information, operators that need to know paper size refer to the value
stored by this operator.

This operator must be executed outside the server loop.

The name operand is the name of one of the standard device setup
procedures: /letter, /legal, /a4, /b5, /executive page,
/a5, /com10, /monarch, /c5,

or /dl.

The procedures /lettersmall and /a4small are not allowed.

The value of the pagetype operator controls whether or not the page
is small.

The bool parameter is included for compatibility with other PostScript
printers. It specifies whether the paper is to be fed long edge first or short
edge first. For all paper sizes on the LaserWriter Select 310 printer, the
value of bool must be true, which means the short edge is fed first.

Errors

invalidaccess

, rangecheck, stackunderflow, typecheck

Advertising