Creating EMF (Enhanced Metafile Format) Graphics Using
Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
EMF Graphics in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Creating an EMF Graphic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Example of Creating an EMF Graphic Using the ODS PRINTER Statement . . . . 302
Creating GIF Images Using Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
GIF Images in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Creating a GIF Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Example of Creating a GIF Image Using the ODS PRINTER Statement . . . . . . . 304
Creating PCL (Printer Command Language) Files Using Universal Printing . . . 305
PCL Files in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Creating a PCL File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Creating PDF Files Using Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
PDF Files in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Creating a PDF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Example of Creating a PDF Using the ODS PDF Statement . . . . . . . . . . . . . . . . . 308
System Options That Affect PDF Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Creating PNG (Portable Network Graphics) Files Using Universal Printing . . . 309
Portable Network Graphics in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
The PNG Universal Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Creating a PNG Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Example of Creating a PNG File Using the ODS PRINTER Statement . . . . . . . . 310
Web Browsers and Viewers That Support PNG Files . . . . . . . . . . . . . . . . . . . . . . 311
Creating PostScript Files Using Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . 312
PostScript Files in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Creating a PostScript File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Example of Creating a PostScript File Using the ODS PS Statement . . . . . . . . . . 313
Creating SVG (Scalable Vector Graphics) Files Using Universal Printing . . . . . . 314
Overview of Scalable Vector Graphics in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Web Server Content Type for SVG Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
The SVG Universal Printers and the Output That They Create . . . . . . . . . . . . . . . 315
How to Create SVG Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Browser Support for Viewing SVG Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Images in SVG Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
Setting the Environment to Create Stand-alone SVG Documents . . . . . . . . . . . . . 322
Creating Stand-alone SVG Documents Using the ODS PRINTER Destination . . 328
SVG Documents in HTML Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
Printing an SVG Document from a Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Creating TIFF Images Using Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . . . 341
TIFF Images in SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
The TIFF Universal Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Creating a TIFF Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Example of Creating a TIFF Image Using the ODS PRINTER Statement . . . . . . 342
Creating Animated GIF Images and SVG Documents . . . . . . . . . . . . . . . . . . . . . . 343
About Animated GIF Images and SVG Documents . . . . . . . . . . . . . . . . . . . . . . . . 343
Animation System Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
Example: Creating an Animated SVG Document . . . . . . . . . . . . . . . . . . . . . . . . . 346
238 Chapter 15 • Printing with SAS