Sets the font to use when printing to the current default
printer
Default: |
None
|
Valid in: |
configuration file, SAS invocation, OPTIONS
statement
|
Windows specifics: |
all
|
-SYSPRINTFONT "facename" <BOLD |
NORMAL><REGULAR | ITALIC><character-set> <pointsize>
<NAMED "printer-name" | DEFAULT | ALL>
|
SYSPRINTFONT="fontname" <BOLD |
NORMAL><REGULAR | ITALIC><character-set> <pointsize>
<NAMED "printer-name" | DEFAULT
| ALL>
|
- "face-name"
- specifies the name of the font face to use
for printing. This must be a valid, case-sensitive font face name (for example, "SAS
Monospace" or "Courier") that matches the name of the font
as it is installed on your system. The face-name
must be enclosed in double quotation marks. This is a required argument.
- BOLD | NORMAL
- specifies the weight of the font. The default
is NORMAL.
- REGULAR | ITALIC
- specifies the style of the font. The default
is REGULAR.
- point-size
- specifies the point size to use for printing.
This must be an integer from 1 to 7200, inclusive. If you omit this argument,
SAS uses 10 points.
- characterset
- specifies the character set to use for printing.
The default is "Windows". Valid values are Western, Central European,
Cyrillic, Greek, Turkish, Arabic, Baltic, and Thai. If the font does not support
the specified character set, the default character set is used. If the default
character set is not supported by the font, the font's default character set
is used.
- NAMED "printer-name"
- updates the font information for the named
printer in the SASUSER.PROFILE2 catalog.
The printer name must exactly match the name shown in the Print Setup dialog
box (except that the printer name is not case sensitive). The printer-name must be enclosed in double quotation marks. This
keyword is optional.
- DEFAULT
- updates the font information for the printer
used by the -SYSPRINT system option
in the SASUSER.PROFILE2 catalog. This
is the default keyword if none is specified.
- ALL
- updates the font information for all installed
printers in the SASUSER.PROFILE2 catalog. This keyword is optional.
The SYSPRINTFONT
system option sets the font to use when printing to the current default printer
(which might be specified in the -SYSPRINT system
option) or to the printer identified with the optional keywords NAMED or ALL.
This information is stored in the SASUSER.PROFILE2 catalog.
If you use -SYSPRINTFONT with either the DEFAULT or
no keyword and later use the -SYSPRINT system option or the Print Setup dialog
box to change the current default printer, then the font used with the current
default printer will be
- The font specified in SASUSER.PROFILE2 for the
given printer, if any.
- The font specified with -SYSPRINTFONT, if the
specified font exists on the printer.
- If there is no font defined for the printer in SASUSER.PROFILE2,
and -SYSPRINTFONT doesn't specify a
valid font for the printer, and the current display font is scalable, then
SAS will use the display font to print.
- If the current display font is not scalable, SAS
will use 10-point SAS Monospace.
- If the SAS Monospace font is not available, SAS
will use the printer's default font to print.
This example specifies to use the 12-point SAS Monospace font
on the default printer:
-sysprintfont "SAS Monospace" 12
This example specifies to use 10-point Courier New on the printer named HP
LaserJet IIIsi Postscript, attached to LPT1:. Note that the name given for
the printer is how it appears in the Print Setup dialog box in the SAS System:
-sysprintfont "Courier New" named
"HP LaserJet IIIsi Postscript on LPT1:"
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.