ALTPRINT System Option: Windows

Specifies the destination for the copies of the output files from SAS procedures.

Valid in: configuration file, SAS invocation
Category: Environment Control: Files
PROC OPTIONS GROUP= ENVFILES
Default: NOALTPRINT
Windows specifics: destination must resolve to a valid Windows pathname or filename

Syntax

Required Arguments

ALTPRINT file-specification

specifies the destination for a copy of the SAS procedure output file. The file-specification argument can be a valid Windows pathname or filename (including device names) or an environment variable associated with a pathname. If you specify only a pathname, the copy is placed in a file in the specified directory, with a name of filename.LST, where filename is the name of your SAS job. If you are running SAS interactively and specify only a pathname, the filename is SAS.

NOALTPRINT

does not create a copy of the SAS procedure output file.

Details

The ALTPRINT system option specifies the destination for the copies of output files from SAS procedures. Use the ALTPRINT system option to capture procedure output for printing.
To send the procedure output to a printer other than the default printer, use a valid Windows printer name for the destination value.
Note: ALTPRINT replaces the following system options form earlier versions of SAS: PDISK, PPRINT, and PTYPE.