Previous Page | Next Page

Printing and Routing Output

Using the Print Dialog Box in UNIX Environments


Printing from Text Windows


Open the Print Dialog Box from a Text Window

To print part or all of the contents of a window, complete the following steps:

  1. Click in the window to make it the active window. If you want to mark and print only selected lines of text, mark the text before you open the Print dialog box.

  2. Issue the DMPRINT command or select File [arrow] Print to open the Print dialog box.

Print Dialog Box

[Print Dialog Box]


Default Printing Mode

In UNIX, the default printing mode is Universal Printing. For more information about how to use Universal Printing, click Help on the Print dialog box.


Specifics for Forms Printing

To use forms for printing, select Use forms. SAS prompts you to enter a spool command and the name of your system printer. When you click OK, SAS prints the contents of the active window using the command and printer name that you specified and additional information from your default form. See SAS Language Reference: Dictionary for more information about forms printing.


Troubleshooting Print Server Errors

After clicking OK, if SAS displays a clock icon for a long time and you are sending output to a network printer, your printer server might be down. If so, you will eventually see a message in the shell where you invoked your SAS session that indicates that the server is down.


Printing from GRAPH Windows


Open the Print Dialog Box from the GRAPH Window

With Universal Printing, you can use the Print dialog box to print the contents of a GRAPH window. Click in the window to make it the active window, and then issue the DMPRINT command or select File [arrow] Print to open the Print dialog box.

Print Dialog Box for Graphs

[Print Dialog Box for Graphs]

Note:   In most cases, fonts set through the Print dialog box have no effect when you print from GRAPH windows. However, some SAS/GRAPH drivers use Universal Printing and can be affected by the fonts set in the dialog box. Make sure that you specify the correct options on a GOPTIONS statement.  [cautionend]


Specifics for SAS/GRAPH Drivers

To print output using a SAS/GRAPH driver, select Use SAS/GRAPH Drivers. Select the down arrow beside the Driver field to display the available drivers. Make sure that your printer destination has been set inside the device using the GDEVICE procedure or the GOPTIONS statement. For complete information about printing from GRAPH windows, refer to SAS/GRAPH: Reference and the online Help for SAS/GRAPH.


Troubleshooting Print Server Errors

After clicking OK, if SAS displays a clock icon for a long time and you are sending output to a network printer, your printer server might be down. If so, you will eventually see a message in the shell where you invoked your SAS session that indicates that the server is down.

Previous Page | Next Page | Top of Page