C H A P T E R 2
LaserWriter Select 310 Software
papersize
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
papertray
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
setdefaultmultipurposepapertraysize
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
28 | Setting Compatibility Operators |