Specify the input data set that contains the printer attributes, create the printer definitions, write the printer definitions to the SAS log, and replace a printer definition in the SAS registry. The DATA= option specifies GSVIEW as the input data set that contains the printer attributes.


PROC PRTDEF creates the printer definitions.


The LIST option specifies that a list of printers that are created or replaced will be written to the SAS log.


The REPLACE option specifies that a printer definition will replace a printer definition in the registry if the name of the printer definition matches a name already in the registry. If the printer definition names do not match, then the new printer definition is added to the registry.


proc prtdef data=gsview list replace;
run;