Chapter Contents

Previous

Next
PAPERSIZE

PAPERSIZE



Specifies the name of a paper size.

Used in: GOPTIONS statement; OPTIONS statement
Default: device dependent
Restriction: hardware dependent, PostScript printers require a PPD file
See also: PAPERSOURCE, PPDFILE


Syntax
Details

Syntax

PAPERSIZE='size-name'

size-name
specifies the name of a paper size, such as LETTER, LEGAL, or A4.

If you do not specify PAPERSIZE=, the PAPERSIZE= 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 PAPERSIZE= with the Output Delivery System (ODS). For some printers, PAPERSIZE= overrides the PAPERSOURCE= 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, PAPERSIZE= 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.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.