PRTPERSISTDEFAULT System Option: Windows

Specifies to use the same destination printer from SAS session to SAS session.
Valid in: configuration file, SAS invocation
Category: Log and procedure output control: ODS printing
PROC OPTIONS GROUP= ODSPRINT
Default: NOPRTPERSISTDEFAULT
Windows specifics: all

Syntax

-PRTPERSISTDEFAULT | -NOPRTPERSISTDEFAULT

Required Arguments

PRTPERSISTDEFAULT
specifies to use the same destination printer from SAS session to SAS session.
NOPRTPERSISTDEFAULT
specifies to use the default printer.

Details

Typically, when you start SAS, SAS sets the value of the SYSPRINT system option (which specifies the destination printer) to be the Windows default printer. When you start SAS by using the PRTPERSISTDEFAULT system option, SAS sets the value of the SYSPRINT system option to be the destination printer of the last SAS session that was started by using PRTPERSISTDEFAULT.
To use the same destination printer from SAS session to SAS session, you must use the PRTPERSISTDEFAULT system option each time you start SAS. If you start SAS by using both the SYSPRINT system option and PRTPERSISTDEFAULT system option, the destination printer is the value that is specified by the SYSPRINT system option.