Graphics Options and Device Parameters Dictionary |
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: | PAPERSOURCE, PPDFILE |
Syntax | |
Details |
Syntax |
PAPERSIZE='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:
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.