user manual

PostScript Languange Printer Commands 1-25
setdefaultpapertray int setdefaultpapertray
This operator copies the values of PageSize and MediaType found in the
InputAttributes dictionary for the specified tray into a dictionary with keys for the
PageSize and MediaType. It also writes the requested tray number into the first
element of the Priority array in the
InputAttributes dictionary and places this entry in
the dictionary it is building. This dictionary is then passed to
setpagedevice. The
result is that the requested tray will be selected as a default and will be used by any
PostScript language job that does not expressly select a paper size or medium. If the
setdefaultpapertray compatibility operator is invoked at a save level other than zero,
an invalid access error occurs.
Errors: rangecheck, stackunderflow, typecheck
setpapertray int setpapertray
This operator copies the values of PageSize and MediaType found in the
InputAttributes dictionary for the specified tray into a dictionary with keys for the
PageSize and MediaType. It also writes the requested tray number into the first
element of the
Priority array in the InputAttributes dictionary and places this entry in
the dictionary it is building. This dictionary is then passed to
setpagedevice. The
result is that the requested tray will be selected until some other
setpagedevice
operation or tray selection compatibility operator causes a different tray to be selected.
Errors: rangecheck, stackunderflow, typecheck