Registry entries can vary in content and appearance,
depending on their purpose. The following display shows a registry
entry that contains default PostScript printer settings.
Portion of a Registry Editor Showing Settings for a PostScript
Printer
To see what the actual
registry text file looks like, you can use PROC REGISTRY to write
the contents of the registry key to the SAS log, using the LISTUSER
and STARTAT= options.
The following example
shows the syntax for sending a SASUSER registry entry to the log:
proc registry
listuser
startat='sasuser-registry-key-name';
run;
The following example
shows a value for the STARTAT= option:
proc registry
listuser
startat='HKEY_SYSTEM_ROOT\CORE\PRINTING\PRINTERS\PostScript\DEFAULT
SETTINGS';
run;
In the following example,
the list of subkeys begins at the CORE\PRINTING\PRINTERS\PostScript\DEFAULT
SETTINGS key.
Log Output of a Registry Entry for a PostScript Printer
NOTE: Contents of SASUSER REGISTRY starting at subkey [CORE\
PRINTING\PRINTERS\PostScript\DEFAULT SETTINGS key]
Font Character Set="Western"
Font Size=double:12
Font Style="Regular"
Font Typeface="Courier"
Font Weight="Normal"
Margin Bottom=double:0.5
Margin Left=double:0.5
Margin Right=double:0.5
Margin Top=double:0.5
Margin Units="IN"
Paper Destination=""
Paper Size="Letter"
Paper Source=""
Paper Type=""
Resolution="300 DPI"