PAPERSOURCE

Specifies which paper tray the printer should use if multiple trays are available on the device.
Used by: GOPTIONS statement, OPTIONS statement
Default: device-dependent
Restrictions: hardware-dependent , PostScript printers require a PPD file

not supported by Java or ActiveX

See: PAPERDEST

PAPERSIZE

PPDFILE

Options Used in Both GOPTIONS and OPTIONS Statements

Syntax

PAPERSOURCE=tray

Parameter Values

tray
specifies the name or number of the paper tray. Values for tray depend on the type of printer and can be one of the following:
tray
the name or number of the paper tray, for example, PAPERSOURCE=3, PAPERSOURCE=TRAY3, PAPERSOURCE=Upper
'long tray name'
a character string that is the name of the paper tray, for example, PAPERSOURCE='Optional Output Tray'. Names with blanks or special characters must be quoted.

Details

On some printers, if the PAPERSIZE= option is also specified, it overrides the setting on the PAPERSOURCE= option.
For PostScript printers, a tray number, such as PAPERSOURCE='tray3', must correspond to an InputSlot value in the PPD file.
For PCL printers, consult the printer's documentation for valid tray values. If a numeric value exceeds the maximum tray value allowed for the printer, a warning message is issued . For string values, the string is checked against a list of strings that are valid for the driver:
  • 'AUTO'
  • 'HCI' or 'HCIn', where n is a number from 2 to 21
  • 'MANUAL'
  • 'MANUAL_ENVELOPE'
  • 'TRAYn', where n is 1, 2, or 3.
If the string is not valid for the driver, a warning message is issued.