QDEVICE Procedure

Creating a DEVOPTION Report

The DEVOPTION report produces a report of the hardware device options that are supported by the specified device. This report is unavailable for universal printers.

About DEVOPTION Report Variables

For a description of the variables, see DEVOPTION Report Variables.
The following table lists the variables that you can use in a DEVOPTION 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
LOCATION OF DEVICE OR PRINTER DEFINTION
PROTOTYPE
Prototype
PRINTER PROTOTYPE
BIT
Bit Position
DEVICE OPTION BIT POSITON
BITSTRING
Bit Pattern
DEVICE OPTION BIT PATTERN
OPTION
Device Option
DEVICE OPTION NAME
ODESC
Option Description
DEVICE OPTION DESCRIPTION
SUPPORT
Support
DEVICE OPTION SUPPORT

Example: DEVOPTION Report

The following QDEVICE procedure creates a DEVOPTION report for the SASEMF graphics device, reporting supported options because the default for SUPPORT is YES:
proc qdevice report=devoption;
   device sasemf;
run;
Here is the report in the SAS log:
104  proc qdevice report=devoption;
105     device sasemf;
106  run;

NOTE: Writing HTML Body file: sashtml.htm
              Name: SASEMF
       Description: Enhanced Metafile Driver
              Type: Graph Device
    Device Catalog: ( 'C:\SASv9\sasgen\dev\mva-v930\sas_dvd\sio\dntno\en\sashelp' )
      Bit Position: 0
       Bit Pattern: 8000000000000000
     Device Option: GDCIRCLEARC
Option Description: Hardware is capable of drawing circles
           Support: Yes

      Bit Position: 1
       Bit Pattern: 4000000000000000
     Device Option: GDPIEFILL
Option Description: Device has hardware pie-fill capability
           Support: Yes

      Bit Position: 2
       Bit Pattern: 2000000000000000
     Device Option: GDXCHR
Option Description: Hardware has scalable fonts available
           Support: Yes

      Bit Position: 3
       Bit Pattern: 1000000000000000
     Device Option: GDCRT
Option Description: Hardware is a CRT or the device acts like a CRT
           Support: Yes

      Bit Position: 5
       Bit Pattern: 0400000000000000
     Device Option: GDPOLYGONFILL
Option Description: Device has polygonfill capability
           Support: Yes

      Bit Position: 7
       Bit Pattern: 0100000000000000
     Device Option: GDRGB
Option Description: Hardware is capable of defining colors in one or more color spaces
           Support: Yes

      Bit Position: 8
       Bit Pattern: 0080000000000000
     Device Option: GDMBPOLY
Option Description: Hardware can draw polygons with multiple boundaries
           Support: Yes

      Bit Position: 11
       Bit Pattern: 0010000000000000
     Device Option: GDLWIDTH
Option Description: Hardware can draw lines of varying widths
           Support: Yes

      Bit Position: 14
       Bit Pattern: 0002000000000000
     Device Option: GDHRDCHR
Option Description: Hardware characters are supported by the device
           Support: Yes

      Bit Position: 18
       Bit Pattern: 0000200000000000
     Device Option: GDTXJUSTIFY
Option Description: Hardware is capable of justifying proportional text
           Support: Yes

      Bit Position: 19
       Bit Pattern: 0000100000000000
     Device Option: GDSTREAM
Option Description: Driver is capable of producing a device dependent catalog entry
           Support: Yes

      Bit Position: 20
       Bit Pattern: 0000080000000000
     Device Option: GDCBACK
Option Description: Device cannot draw in the default background color
           Support: Yes

      Bit Position: 24
       Bit Pattern: 0000008000000000
     Device Option: GDUNICODE
Option Description: Device supports the use of the Unicode font attribute
           Support: Yes

      Bit Position: 25
       Bit Pattern: 0000004000000000
     Device Option: GDPOLYLINE
Option Description: Hardware is capable of supporting polylines
           Support: Yes

      Bit Position: 28
       Bit Pattern: 0000000800000000
     Device Option: GDTRUETYPE
Option Description: Device supports the use of TrueType fonts
           Support: Yes

      Bit Position: 35
       Bit Pattern: 0000000010000000
     Device Option: GDTARGETFONT
Option Description: Device supports target fonts
           Support: Yes

      Bit Position: 36
       Bit Pattern: 0000000008000000
     Device Option: GDIMAGE
Option Description: Device is capable of drawing images
           Support: Yes

      Bit Position: 37
       Bit Pattern: 0000000004000000
     Device Option: GDMULTICMAP
Option Description: Device supports multiple color maps
           Support: Yes

      Bit Position: 44
       Bit Pattern: 0000000000080000
     Device Option: GDTEXTCLIP
Option Description: Hardware will clip text at the device limits
           Support: Yes