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.

CHAPTER<br />

7<br />

Universal Printing<br />

Introduction to Universal Printing 148<br />

Using Universal Printing in the Windowing Environment 148<br />

Setting the Default Printer 148<br />

Defining a New Printer Interactively 148<br />

Changing the Default Printer 149<br />

Setting Printer Properties 149<br />

Changing the Default Font 150<br />

Setting Page Properties 151<br />

Testing Printer Properties 151<br />

Setting a Page Range Value 152<br />

Previewing a Print Job 152<br />

Printing Selected Text 152<br />

Printing the Contents of a <strong>SAS</strong> Window 152<br />

Directing the Contents of a <strong>SAS</strong> Window to a File 153<br />

Printing the Contents of a Graphics Window 153<br />

Creating Printer Definitions When Universal Printing Is Turned Off 153<br />

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

Using Universal Printing in a Batch Environment 154<br />

Setting the Default Printer 154<br />

Directing Output to a Universal Printer 155<br />

Sending Output to a UPRINTER Device 155<br />

The PRINTERPATH <strong>SAS</strong> Option 155<br />

Changing the Default Font 155<br />

Setting Up a Universal Printer with PROC PRTDEF 156<br />

Required Variables 156<br />

Optional Variables 157<br />

Sample PROC PRTDEF Jobs in z/<strong>OS</strong> 157<br />

Example 1: Defining PostScript, PCL, and PDF Universal Printers 157<br />

Example 2: Defining a Universal Printer <strong>for</strong> an E-Mail Message with a PostScript<br />

Attachment 158<br />

Setting Up Printers in Your Environment 158<br />

z/<strong>OS</strong> PostScript 158<br />

z/<strong>OS</strong> PCL 159<br />

z/<strong>OS</strong> PDF 160<br />

Sample Programs and Summary 160<br />

Sample 1: ODS and a Default Universal Printer 160<br />

Sample 2: ODS and the PRINTERPATH System Option 162<br />

Sample 3: ODS and the PRINTERPATH System Option (with FILEREF) 164<br />

Sample 4: PRINTERPATH and FILENAME UPRINTER Statement 166<br />

Sample 5: <strong>SAS</strong>/GRAPH: ODS and PRINTERPATH System Option 168<br />

Sample 6: <strong>SAS</strong>/GRAPH: No ODS or PRINTERPATH System Option 171<br />

147

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

Saved successfully!

Ooh no, something went wrong!