Chapter Contents

Previous

Next
XPRINTNM

XPRINTNM



Sets the default printer name for use with host printing

Default: Print PostScript to disk
Valid in: SAS invocation, SASV8_OPTIONS environment variable, configuration file, OPTIONS statement
UNIX specifics: all


Syntax
Details

Syntax

XPRINTNM='printer-name';
-XPRINTNM 'printer-name';


Details

The XPRINTNM option sets the name of the default printer that you want to use with host printing. XPRINTNM accepts one argument:

printer-name
is the name of a printer device that you have defined through the Printer Setup dialog.

If you do not define any printer devices through the Printer Setup dialog, your default printer formats output in generic PostScript using a Courier font with no margins, then prints the output to a file named prn.ps in your current directory.

For example, you can specify a printer name on the OPTIONS statement as follows:

options xprintnm='HP LaserJet 4Si in room 1313';

The next time you invoke SAS, you can return to the default printer device as follows:

-xprintnm 'Print PostScript to disk'


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.