PRTEXP Procedure

Example 1: Writing Attributes to the SAS Log

Features:

PROC PRTEXP statement option: : USESASHELP

SELECT statement

Details

This example shows you how to write the attributes that are used to define a printer to the SAS log.

Program

proc prtexp usesashelp;
select postscript;
run;

Program Description

Specify the printer that you want information about, specify that only the SASHELP portion of the registry be searched, and write the information to the SAS log. The SELECT statement specifies that you want the attribute information that is used to define the printer Postscript to be included in the output. The USESASHELP option specifies that only the SASHELP registry is to be searched for Postscript's printer definitions. The data that is needed to define each printer is written to the SAS log because the OUT= option was not used to specify a SAS data set.
proc prtexp usesashelp;
select postscript;
run;