Previous Page | Next Page

Graphics Options and Device Parameters Dictionary

PAPERSOURCE



Specifies which paper tray the printer should use if multiple trays are available on the device.
Used in: GOPTIONS statement; OPTIONS statement
Default: device-dependent
Restriction: hardware- dependent, PostScript printers require a PPD file; not supported by Java or ActiveX
See also: PAPERDEST, PAPERSIZE, PPDFILE

Syntax
Details

Syntax

PAPERSOURCE=tray

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:

If the string is not valid for the driver, a warning message is issued.

Previous Page | Next Page | Top of Page