Previewing Output in UNIX Environments


Previewing Output using Universal Printing

With Universal Printing, you can preview your output before you send it to a printer, plotter, or external file. To preview your output, you first need to define a previewer for your system. For more information about Universal Printing, see SAS Language Reference: Concepts .

Previewing Output From within SAS/AF Applications

To preview output from within a SAS/AF application, use the DMPRTMODE and DMPRTPREVIEW commands to turn on preview mode, print the output, open the Print Preview dialog box, and then turn preview mode off. For example, the following code prints the GRAPH1 object using the host drivers and displays it in the Preview dialog box:

 /* Turn on preview mode. */   CALL EXECCMDI ("DMPRTMODE PREVIEW");   /* Print the graph */   GRAPH1._PRINT_();   /* Open the Preview dialog box */   CALL EXECCMDI ("DMPRTPREVIEW");   /* Turn off preview mode */   CALL EXECCMDI ("DMPRTMODE NORMAL"); 



SAS 9.1 Companion for UNIX Environments
SAS 9.1 Companion For Unix Enivronments
ISBN: 1590472101
EAN: 2147483647
Year: 2004
Pages: 185
Authors: SAS Institute

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net