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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

148 Introduction to Universal Printing Chapter 7<br />

The <strong>SAS</strong>LIB.HOUSES Data Set 178<br />

Summary of Printing Examples 179<br />

Introduction to Universal Printing<br />

Universal Printing is a printing mechanism provided by <strong>SAS</strong> that supplies printing<br />

support <strong>for</strong> all operating environments. It is especially helpful <strong>for</strong> those operating<br />

environments in which printing can be a challenge. With Universal Printing, you can<br />

direct output to printers attached to your local area network, and you can employ all<br />

the font and graphic capabilities of those printers when you generate output.<br />

With <strong>SAS</strong> Release 8.2, Universal Printing became the default printing method in the<br />

z/<strong>OS</strong> windowing environment. It is also the default printing method used to generate<br />

ODS (Output Delivery System) and <strong>SAS</strong>/GRAPH output in all mainframe environments.<br />

Universal Printing is not the default printing method used to generate procedure<br />

output that is text based (such as PROC PRINT output), unless ODS is also used.<br />

Universal Printing is also the default in the UNIX and VMS operating environments.<br />

It is supported, but it is not the default, in the Microsoft Windows operating<br />

environment.<br />

Universal Printing produces output in PostScript, PDF, PCL, GIF, or a file that is<br />

sent directly to an output device.<br />

Using Universal Printing in the Windowing Environment<br />

Setting the Default Printer<br />

A default printer is required <strong>for</strong> Universal Printing. Unless you define 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.<br />

Defining a New Printer Interactively<br />

To create a new printer definition interactively:<br />

1 Select File Print Setup or<br />

Issue the command DMPRTSETUP.<br />

2 Select New Printer<br />

The first of four Define a New Printer dialog boxes is displayed. Fill out the<br />

fields in these dialog boxes to complete your new printer definition. Alternatively,<br />

you can issue the command DMPRTCREATE PRINTER to start the Define a New<br />

Printer dialog box directly.<br />

Note: The Define a New Printer dialog box does not prompt you <strong>for</strong> printer detail<br />

fields, including the Protocol and Translate Table (TRANTAB) fields. The printer<br />

details are automatically initialized to those in the prototype you select. When the<br />

Define a New Printer dialog boxes are complete, you will be returned to the<br />

Printer Setup window with the new printer highlighted.

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

Saved successfully!

Ooh no, something went wrong!