PostScript
4-18
setpapertray
integer setpapertray —
changes the active paper source for the next page through the end of job by
settingthePageSizeentryinthepagedevicetothesizeloadedintheselected
source and by setting MediaPosition to the selected source. This operator
executes a setpagedevice.
The PageSize Policy page device parameter is not altered by this operator.
Use the following
integers to set the paper tray:
0 Tray 1
1 Tray 2
2 Multipurpose Feeder or Envelope Feeder
3 Manual Paper
4 Manual Envelope
5 Tray 3
7 Multipurpose Feeder
8 Tray 4
9 Tray 5
Notes:
• If the Manual Paper or Manual Envelope source is selected, the
ManualFeed page device parameter is set to
true.
• A rangecheck error is returned if a paper source that is not installed is
selected.
• If a setpapertray operator is issued for the back of a duplexed page, the
printer ejects a blank back page, changes the paper source, and prints the
information for the back side of the page on the front side of a page from the
new paper source.
The setting returns to the user default setting for the
Paper Source menu item at
the end of the print job.
Errors: rangecheck, stackunderflow, typecheck