Changing the Default Print Destination in UNIX Environments


When you print a file, SAS looks in the following locations to determine where to send output. The locations are listed in order of precedence:

  1. the destination specified in Universal Printing or the form printer device that you are using. See Universal Printing or forms printing in SAS Language Reference: Dictionary for more information.

  2. the value specified in the SYSPRINT system option. You can use the SYSPRINT option to set your default print destination. Use the SYSPRINT system option to specify the destination option that is used with your print command. For example, if your print command is lp , you can set the default destination to the printer named myljet by entering the following OPTIONS statement:

     options sysprint='-dmyljet'; 
  3. the value of the $LPDEST environment variable. See "Defining Environment Variables in UNIX Environments" on page 21 for more information.

SAS uses the first destination that it finds. If you specify a destination in all three locations, SAS uses the destination specified by Universal Printing.




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