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.

Summary of Printing Examples<br />

Universal Printing Summary of Printing Examples 179<br />

Example Where Printed Output<br />

Format<br />

ods listing close;<br />

ods printer;<br />

proc print data=saslib.houses; run;<br />

ods printer close;<br />

options printerpath=MYPRINT;<br />

ods listing close;<br />

ods printer;<br />

proc print data=saslib.houses; run;<br />

ods printer close;<br />

filename MYFILE ".myfile.out";<br />

options printerpath= (Postscript MYFILE);<br />

ods listing close;<br />

ods printer;<br />

proc print data=saslib.houses; run;<br />

ods printer close;<br />

options printerpath=MYPRINT;<br />

filename upr uprinter;<br />

proc printto print=upr; run;<br />

proc print data=saslib.houses; run;<br />

filename upr uprinter;<br />

proc printto print=upr; run;<br />

proc print data=saslib.houses; run;<br />

options printerpath=MYPRINT;<br />

ods listing close;<br />

ods printer;<br />

goptions device=sasprtc; *<br />

proc reg data=saslib.houses; .... run;<br />

proc gplot; .... run;<br />

ods printer close;<br />

filename OUT ".graphip.ps";<br />

goptions device=ps gsfname=OUT;<br />

proc reg data=saslib.houses; .... run;<br />

proc gplot; .... run;<br />

options printerpath=postscript<br />

device=sasprtc;<br />

proc gplot; .... run;<br />

Default Universal Printer ODS<br />

Universal Printer<br />

MYPRINT<br />

File .MYFILE.OUT with<br />

the characteristics of the<br />

Universal Printer<br />

“Postscript”<br />

Universal Printer<br />

MYPRINT<br />

ODS<br />

ODS<br />

Line Printer 1<br />

Default Universal Printer Line Printer 1<br />

Universal Printer<br />

MYPRINT<br />

ODS<br />

File .GRAPHIP.<strong>SAS</strong> As specified<br />

by the<br />

<strong>SAS</strong>/GRAPH<br />

device driver<br />

Universal Printer<br />

Postscript file .<strong>SAS</strong>PRT.PS<br />

1<br />

The default font is 12-point Courier unless otherwise specified.<br />

* goptions device= is needed only in batch mode.<br />

<strong>SAS</strong>/GRAPH

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

Saved successfully!

Ooh no, something went wrong!