Chapter Contents

Previous

Next
SYSPRINT

SYSPRINT



Specifies a destination printer for printing SAS output

Default: Default system printer
Valid in: configuration file, SAS invocation, OPTIONS statement
OS/2 specifics: all


Syntax
Details
See Also

Syntax

-SYSPRINT "printer-name"<"destination">
SYSPRINT="printer-name"<"destination">

"printer-name"
specifies the name of the printer as it is installed under OS/2 (for example, "Charlie's HP LaserJet"). You can find the list of installed printers on your system by opening the Printers Properties notebook. The printer-name must be enclosed in double quotation marks.

"destination"
optionally specifies a file name to write the print file to disk. If specified, then all printer output generated by the SAS System is routed to this file, overwriting any existing file with the same name. Even though the output is not sent directly to a printer, it is still formatted using the printer driver associated with printer-name. The destination must be enclosed in double quotation marks.


Details

The SYSPRINT system option specifies the destination of a printer where you want to print your SAS output.

If you select a different printer by using the Printer Setup dialog box, the value of the SYSPRINT system option (shown by PROC OPTIONS) reflects that selection.

If you do not specify the SYSPRINT system option, the printer-name and destination arguments use the default system printer values.

See Also


Chapter Contents

Previous

Next

Top of Page

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