Chapter Contents |
Previous |
Next |
SAS Companion for UNIX Environments |
If you have host printing turned on, you can preview your output before you send it to a printer, plotter, or external file. For information on defining printers and turning on host printing, see Setting Up Host Printing.
Previewing Your Output |
After you generate output to your Output window, issue the DLGPRTPREVIEW command or select
File | Print preview... |
If your output contains multiple pages, you can
Page
field
Page
field
Show two pages
to see two
pages at once.
To change the size of the preview output, select 33%,
66%, or 100% from the
Zoom
selection list.
[Print...] opens the appropriate Print dialog box, dependent on whether you are printing from a text window or printing from a graphics window. This button does not appear when the Print Preview dialog box is invoked from certain applications.
[Export...] opens the Export dialog box, which allows you to export the current preview view to any image format supported by SAS/GRAPH with Image extensions. Select the file or type the filename to which you want to save the view, select the file format needed, and select [OK].
Note: The display fonts used in the Print
Preview window may not match the fonts used when the window is printed. The
Print Preview window uses the display font that most closely matches the font
that will be used to print the window contents.
Previewing Output from within SAS/AF Applications |
/* Turn on preview mode. */ CALL EXECCMDI ("DLGPRTMODE PREVIEW"); /* Print the graph */ GRAPH1._PRINT_(); /* Open the Preview dialog box */ CALL EXECCMDI ("DLGPRTPREVIEW"); /* Turn off preview mode */ CALL EXECCMDI ("DLGPRTMODE HOST");
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.