QDEVICE Procedure

Creating a FONT Report

The FONT report produces a report of all system and device-resident fonts that are supported by the specified device or printer.

About FONT Report Variables

For a description of the variables, see FONT Report Variables.
The following table lists the variables that you can use in a FONT report as well as the labels for the variables that are used either in the SAS log or the output data set. If you do not specify the VAR statement, the variables appear in the order that they appear in the table.
Variable
SAS Log Label
Output Data Set Label
NAME
Output data set
NAME OF DEVICE OR PRINTER
DESC
Description
DESCRIPTION OF DEVICE OR PRINTER
NAMETYPE
Type
TYPE OF DEVICE OR PRINTER
LOCATION
Device Catalog for a device
Registry for a printer
LOCATION OF DEVICE OR PRINTER DEFINTION
PROTOTYPE
Prototype
PRINTER PROTOTYPE
FONT
depends on the font or type
FONT TYPEFACE
FTYPE
depends on the type of font
FONT TYPE
FSTYLE
none
FONT STYLE
FWEIGHT
none
FONT WEIGHT

Variable Labels in a FONT Report

When you specify the FONT, FTYPE, FSTYLE, or the FWEIGHT variables in a FONT report, the variable labels that appear in the SAS log vary. The variable labels in the output data set are always the same: FONT TYPEFACE DEFAULT, FONT TYPE, FONT STYLE DEFAULT, and FONT WEIGHT DEFAULT, respectively.
If the VAR statement specifies one or more of the variables FONT, FTYPE, FSTYLE, or FWEIGHT, the SAS log reports only the font type labels and the font family names. The variable label that appears is dependent on the font type. Some example labels are Supported Font Typefaces, Supported Resident Typefaces, Supported TrueType Typefaces, and Supported Type1 Typefaces.
Font styles and weights are not reported to the SAS log even if the FSTYLE and FWEIGHT variables are specified in the VAR statement.

Example: FONT Report

The following QDEVICE procedure creates a FONT report for the ACTIVEX graphics device:
proc qdevice report=font;
   device activex;
run;
Here is a partial FONT report in the SAS log:
41   proc qdevice report=font;
42   device activex;
43   run;

                    Name: ACTIVEX
             Description: ActiveX enabled GIF Driver
                    Type: Graph Device
          Device Catalog: ( 'your-font-catalog-path' )
Supported Font Typefaces: System (7x16) 10pt
                          Terminal (8x12) 9pt
                          Terminal (4x6) 5pt
                          Terminal (5x12) 9pt
                          Terminal (6x8) 6pt
                          Terminal (7x12) 9pt
                          Terminal (10x18) 14pt
                          Terminal (12x16) 12pt
                          Fixedsys (8x15) 9pt
                          Roman
                          Script
                          Modern