The operators for returning and setting the default multipurpose tray
paper size are spelled incorrectly in the "Personal LaserWriter NTR
Printer Developer Note". The correct spellings, respectively, are:
defaultmultipurposetraysize
and
setdefaultmultipurposetraysize
This PostScript code will print a page showing the default
multipurpose tray paper size:
/Times-Roman findfont
15 scalefont
setfont
72 700 moveto
/str 20 string def
(Default multipurpose tray paper size: ) show
statusdict begin
defaultmultipurposetraysize pop str cvs show
showpage
This PostScript code changes the default multipurpose tray paper size
based on the values used for "NAME" and "BOOL":
serverdict begin 0 exitserver
statusdict begin
NAME BOOL setdefaultmultipurposetraysize
The allowable values for "NAME" are the standard device setup procedures:
/letter
/legal
/a4
/b5
The standard device setup procedures /lettersmall and /a4small are not
allowed.
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 Personal LaserWriter NTR, the
value of "BOOL" must be true, meaning short edge first.
The following PostScript code changes the default multipurpose tray paper
size to a4:
serverdict begin 0 exitserver
statusdict begin
/a4 true setdefaultmultipurposetraysize