Chapter 15
Printing with SAS
Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
What Is Universal Printing? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Setting Up the Universal Printing Interface and the Default
Printing Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Universal Printing Output Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Viewing Universal Printers and Printer Prototypes . . . . . . . . . . . . . . . . . . . . . . . . 241
Viewing Universal Printer Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Modifying Universal Printing Printer Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Universal Printing and ODS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Specifying the Page Orientation for Universal Printing Documents . . . . . . . . . . . 244
Color Support for Universal Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Embedding Non-Viewable Comments in Universal Printing Output . . . . . . . . . . . 256
Configuring Universal Printing Using the Windowing Environment . . . . . . . . . . 257
Overview of the Universal Printing Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Setting Up Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Printing with Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Working with Previewers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Set Page Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
System Options That Control Universal Printing . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Managing Universal Printers Using the PRTDEF Procedure . . . . . . . . . . . . . . . . 276
About Using the PRTDEF Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Examples of Creating New Printers and Previewers Using the
PRTDEF Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Forms Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Overview of Forms Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Creating or Editing a Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Using Fonts with Universal Printers and SAS/GRAPH Devices . . . . . . . . . . . . . . 283
Rendering Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
ODS Styles and TrueType Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Portability of TrueType Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
International Character Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
TrueType Fonts Supplied by SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Registering Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Listing the Registered Fonts for a Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Using Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Examples of Specifying Fonts and Printing International Characters . . . . . . . . . . 294
237
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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.131.38.14