QDEVICE Procedure

PROC QDEVICE Statement

Specifies an (optional) output data set, which report to generate, which locations to search, whether to report supported, non-supported, or all features, and sizing units for GENERAL reports.

Syntax

Summary of Optional Arguments

specifies which libraries to search when querying a device.
specifies an output SAS data set for the report.
specifies which portion of the SAS registry to search when querying a universal printer.
specifies the type of report that you want to generate.
specifies whether to report only supported features, only unsupported features, or all features.
specifies whether the values for the certain variables are reported in inches, centimeters, pixels-per-inch, or pixels-per-centimeter in the GENERAL report.

Optional Arguments

DEVLOC = GDEVICE0...GDEVICE9 | SASHELP
specifies which libraries to search when querying a device. If you do not specify the DEVLOC= option, libraries are searched in the following order:
  1. GDEVICE0 to GDEVICE9
  2. SASHELP
OUT = SAS-data-set
specifies an output SAS data set for the report.
Default:SAS Log
REGISTRY = SASHELP | SASUSER
specifies which portion of the SAS registry to search when querying a universal printer. If you do not specify the REGISTRY= option, both SASUSER and SASHELP are searched.
Alias:REG
REPORT = DEVOPTION | FONT | GENERAL | LINESTYLE | RECTANGLE | SYMBOL
specifies the type of report that you want to generate. You can request only one type of report. See Variables Valid for All Reports for the descriptions of the variables that are included in each report.
DEVOPTION
produces a report of the hardware device options supported by the specified device.
Restriction:This report is unavailable for universal printers.
FONT
produces a report of all system and device-resident fonts supported by the specified device or printer.
See:See SAS/GRAPH, System, and Device-Resident Fonts in SAS/GRAPH: Reference for a description of font categories.
GENERAL
produces a report of general information about the specified device or printer. This report includes information such as destination, margin sizes, default font information, resolution, color information, and size by pixels. This is the default report.
LINESTYLE
produces a report of the hardware line styles supported by the specified device.
Restriction:This report is unavailable for universal printers.
RECTANGLE
produces a report of the hardware fill types supported by the specified device.
Restriction:This report is unavailable for universal printers.
SYMBOL
produces a report of the hardware symbols supported by the specified device.
Restriction:This report is unavailable for universal printers.
Default:GENERAL
See:See Variables Valid for All Reports for the descriptions of the variables that are included in each report.
SUPPORT= YES | NO | ALL
specifies whether to report only supported features, only unsupported features, or all features.
YES reports only hardware features and options that are supported.
NO reports only the hardware features and options that are not supported.
ALL reports both supported and unsupported hardware features and options.
Default:YES
Restriction:This option only applies to devices when producing a DEVOPTION, LINESTYLE, RECTANGLE, or SYMBOL report.
UNITS = IN | CM
specifies whether the values for the HEIGHT, WIDTH, LEFT, LMIN, RIGHT, RMIN, BOTTOM, BMIN, TOP, TMIN, HRES, and VRES variables are reported in inches or centimeters. HRES and VRES values are reported as pixels-per-inch or pixels-per-centimeter.
Default:IN
Restriction:This option only applies when producing a GENERAL report.