More about Devices and Destinations

In the previous topic, the code that was submitted used either the default device driver for the destination or it used the PNG driver. The DEVICE= graphics option is the way you specify which device driver to use, as shown in the following code. The DEVICE=JPEG setting applies to both the PDF and RTF files shown in Figure 20.16.

ODS PDF FILE='Output_20_16.pdf' STYLE=ANALYSIS;
ODS RTF FILE='Output_20_16.rtf' STYLE=ANALYSIS;
GOPTIONS DEVICE=JPEG;
proc gchart data=CandyBars;
   vbar Filling / sumvar=Sales;
run; quit;
ODS _ALL_ CLOSE;

This same PROC GCHART program created the charts in Figures 20.16 and 20.17. The ACTXIMG driver was used for Figure 20.17 for all three destinations. The only change to the code to ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.