02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

154 Universal Printing and the <strong>SAS</strong> Registry Chapter 7<br />

If you want to specify your printer definitions when Universal Printing is turned off,<br />

do one of the following:<br />

3 Specify the printer definition as part of the PRINTERPATH <strong>SAS</strong> System option.<br />

3 Submit the following statement:<br />

ODS PRINTER <strong>SAS</strong> PRINTER = myprinter;<br />

where myprinter is the name of your printer definition.<br />

Universal Printing and the <strong>SAS</strong> Registry<br />

Universal Printing printer definitions are stored in the <strong>SAS</strong> registry. To access the<br />

<strong>SAS</strong> registry:<br />

1 Select: Solutions Accessories Registry Editoror<br />

Issue the command REGEDIT.<br />

2 Select: Core Printing Printers<br />

The printer definitions in <strong>SAS</strong>USER are listed first, followed by those in <strong>SAS</strong>HELP,<br />

along with all their options. You can modify any of the options <strong>for</strong> the printer<br />

definitions in <strong>SAS</strong>USER if you have permission to write to the <strong>SAS</strong>USER library. To<br />

modify the options:<br />

Select: Edit Modify<br />

or<br />

Click the right mouse button and select MODIFY.<br />

CAUTION:<br />

Making a mistake in editing the registry can cause your system to become unstable and/or<br />

unusable. R<br />

Wherever possible, use the administrative tools, such as the New Library window, the<br />

PRTDEF procedure, Universal Print windows, and the Explorer Options window to<br />

make configuration changes, rather than editing the registry directly. Using the<br />

administrative tools ensures that values are stored properly in the registry when you<br />

change the configuration.<br />

CAUTION:<br />

If you use the Registry Editor to change values, you will not be warned if any entry is<br />

incorrect. Incorrect entries can cause errors, and can even prevent you from bringing up a<br />

<strong>SAS</strong> session. R<br />

Using Universal Printing in a Batch Environment<br />

Setting the Default Printer<br />

A default printer is required <strong>for</strong> Universal Printing. Unless you specify a default<br />

printer, <strong>SAS</strong> uses a predefined default printer that generates output in PostScript<br />

Level 1 language with a 12-point Courier font.<br />

On z/<strong>OS</strong>, output goes by default to a sequential data set called .<strong>SAS</strong>PRT.PS<br />

where is the value of the SYSPREF= <strong>SAS</strong> option.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!