PAPERSIZE

Specifies the name of a paper size.
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: PAPERSOURCE

PPDFILE

Options Used in Both GOPTIONS and OPTIONS Statements

Syntax

PAPERSIZE='size-name'

Parameter Values

size-name
specifies the name of a paper size, such as LETTER, LEGAL, or A4.
If you do not specify the PAPERSIZE= option, the PAPERSIZE= option setting on an OPTIONS statement is used. If no OPTIONS statement sets a paper size, the value for paper size is device-dependent:
  • The universal printing devices use the size specified in the Page Setup dialog box.
  • All other printer devices use the LETTER paper size.

Details

Typically, you might use the PAPERSIZE= option with the Output Delivery System (ODS). For some printers, the PAPERSIZE= option overrides the PAPERSOURCE= option selection.
For PostScript devices, the name must match the name of a paper size in the PPD file. Refer to the PPD file for a list of valid names. Size-name is case-insensitive and can contain a subset of the full name. For example, if the name in the PPD file is *PageSize A4/A4, you can specify PAPERSIZE='A4'. If a PPD file is not specified, the PAPERSIZE= option is ignored.
For PCL devices, the device driver searches the SAS Registry for supported paper size values. To see the supported list of sizes, submit the following statements:
proc registry listhelp
     startat='options\papersize';
run;
For more information about the SAS Registry, refer to the SAS Help facility.