QDEVICE Procedure

Creating a GENERAL Report

The GENERAL report produces a report of general information about the specified device or printer. This information includes margin sizes, default font information, resolution, and color information.

About GENERAL Report Variables

For a description of the variables, see GENERAL Report Variables.
The following table lists the variables that you can use in a GENERAL 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
Name
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 DEFINITION
PROTOTYPE
Prototype
PRINTER PROTOTYPE
FONT
Default Typeface
FONT TYPEFACE DEFAULT
FSTYLE
Font Style
FONT STYLE DEFAULT
FWEIGHT
Font Weight
FONT WEIGHT DEFAULT
FHEIGHT
Font Height
FONT HEIGHT DEFAULT
MAXCOLORS
Maximum Colors
MAXIMUM NUMBER OF SUPPORTED COLORS
VISUAL
Visual Color
TYPE OF VISUAL COLOR
CLRSPACE
Color Support
TYPE OF COLOR SUPPORT
DEST
Destination
OUTPUT DESTINATION DEFAULT
IOTYPE
I/O Type
TYPE OF I/O DEFAULT
FORMAT
Data Format
OUTPUT DATA FORMAT
HEIGHT
Height
HEIGHT OF OUTPUT
WIDTH
Width
WIDTH OF OUTPUT
UNITS
Units 1
UNITS FOR SIZE, MARGINS AND RESOLUTION
YPIXELS
Ypixels
VERTICAL PIXELS
XPIXELS
Xpixels
HORIZONTAL PIXELS
ROWS
Rows (vpos)
ROWS
COLS
Columns (hpos)
COLUMNS
LEFT
Left Margin
LEFT MARGIN
LMIN
Minimum Left Margin
MINIMUM LEFT MARGIN
RIGHT
Right Margin
RIGHT MARGIN
RMIN
Minimum Right Margin
MINIMUM RIGHT MARGIN
BOTTOM
Bottom Margin
BOTTOM MARGIN
BMIN
Minimum Bottom Margin
MINIMUM BOTTOM MARGIN
TOP
Top Margin
TOP MARGIN
TMIN
Minimum Top Margin
MINIMUM TOP MARGIN
HRES
XxY Resolution
HORIZONTAL PIXELS PER UNIT
VRES
XxY Resolution
VERTICAL PIXELS PER UNIT
COMPRESSION
Compression Method
COMPRESSION METHOD
EMBEDDING
Font Embedding
FONT EMBEDDING SUPPORT
1If the type of units displays with the value of a variable, such as 0 inches for the left margin, the Units label does not display in output to the SAS log.

System Options That Affect the Value of Size Variables

For universal printers, the values of the HEIGHT, WIDTH, LEFT, RIGHT, BOTTOM, TOP, LMIN, RMIN, BMIN, and TMIN variables are affected by the settings of the PAPERSIZE, LEFTMARGIN, RIGHTMARGIN, BOTTOMMARGIN, and TOPMARGIN SAS system options. The default paper size is determined by the SAS locale (which affects the default size for universal printers). For SAS/GRAPH devices, these variable values are not affected by the system option settings.
For more information, see SAS System Options: Reference.

Example: GENERAL Report

The following QDEVICE procedure creates a GENERAL report for the SVG universal printer:
proc qdevice;
   printer svg;
run;
Here is the GENERAL report in the SAS log:
134  proc qdevice;
135     printer svg;
136  run;

                 Name: SVG
          Description: Scalable Vector Graphics 1.1
                 Type: Universal Printer
             Registry: SASHELP
            Prototype: SVG 1.1
     Default Typeface: Cumberland AMT
           Font Style: Regular
          Font Weight: Normal
          Font Height: 8 points
       Maximum Colors: 16777216
         Visual Color: Direct Color
        Color Support: RGBA
          Destination: sasprt.svg
             I/O Type: DISK
          Data Format: SVG
               Height: 6.25 inches
                Width: 8.33 inches
              Ypixels: 600
              Xpixels: 800
           Rows(vpos): 50
        Columns(hpos): 114
          Left Margin: 0 inches
  Minimum Left Margin: 0 inches
         Right Margin: 0 inches
 Minimum Right Margin: 0 inches
        Bottom Margin: 0 inches
Minimum Bottom Margin: 0 inches
           Top Margin: 0 inches
   Minimum Top Margin: 0 inches
       XxY Resolution: 96x96 pixels per inch
   Compression Method: None
       Font Embedding: Option