Chapter Contents

Previous

Next
DEVOPTS

DEVOPTS



Specifies the hardware capabilities of the device.

Used in: GDEVICE procedure; GDEVICE Parameters window
Default: device dependent


Syntax
Device Capabilities Represented in the DEVOPTS String
Details

Syntax

DEVOPTS='hardware-capabilities-hex-string'X

hardware-capabilities-hex-string
is a hexadecimal string 16 characters long that must be completely filled. The following table lists the hardware capabilities of each bit:

Device Capabilities Represented in the DEVOPTS String
Bit On Capability
0 hardware circle generation
1 hardware pie fill supported
2 scalable hardware characters
3 device is a CRT-type (See TYPE device parameter)
4 translate table needed for non-ASCII hosts
5 hardware polygon fill available
6 hardware characters cell-aligned
7 user-definable colors supported
8 hardware polygons with multiple boundaries supported
9 not used
10 not used
11 adjustable hardware line width
12 double-byte font (non-US) supported
13 hardware repaint supported
14 hardware characters supported
15 no hard limit on x coordinate
16 no hard limit on y coordinate
17 not used
18 ability to justify proportional text
19 driver can produce dependent catalog entries
20 device cannot draw in default background color
21 flush device buffer when filled
22 colors defined using HLS
23 colors defined using RGB
24 not used
25 polyline supported
26 polymarker supported
27 graphics clipping supported
28 not used
29 linkable device driver
30 pick CHARTYPE by name in CHARREC entries
31 device dependent pattern support
32 treat SCALABLE=Y CHARREC as metric
33 size CHARTYPE as HW from CHARREC entries
34 device supports rotated arcs
35 device supports target fonts
36 device supports drawing images
37 device supports multiple color maps
38 image rotation direction
39 device requires sublib for image rotation
40 device is a 24 bit truecolor machine
41 device supports setting font attributes
42 use scan line font rendering
43 device can scale images
44 text clipping supported
45 static color device
46 driver does prolog processing
47 driver does epilog processing
48 driver output only uses a file
49 driver output requires a directory or PDS
50 autosize text to fit rows and columns
51 default binding is SHORTEDGE
52 driver supports duplex printing
53 device does right edge binding
54 ActiveX device
55 Java device


Details

Each capability in the table corresponds to a bit in the value of the DEVOPTS device parameter. For example, if your device can generate hardware pie fills, the second bit in the first byte of the DEVOPTS string should be turned on if you want the driver to use that capability. If your device is capable of generating only hardware circles and pie fills, specify a value of 'C000000000000000'X as your DEVOPTS value (the first byte is '1100' so the first 2 bits of the first byte are set to 1). Many of the hardware capabilities specified in the DEVOPTS string are overridden by graphics options or other device parameters.

CAUTION:
Do not modify the DEVOPTS device parameter unless you are building a Metagraphics driver. If you want to prevent an Institute-supplied driver from using certain hardware capabilities, change the specific device parameter or use the corresponding graphics option.   [cautionend]
If the DEVOPTS string indicates that a capability is available, the driver uses it unless it is explicitly disabled by another device parameter or graphics option. If the DEVOPTS string indicates that the capability is not available, it is not used by the driver, even if the corresponding device parameter or graphics option indicates that it should be used. For example, if the DEVOPTS value indicates that the device can do a hardware pie fill, the driver uses the hardware pie fill capability unless the PIEFILL device parameter is set to N or NOPIEFILL has been specified in a GOPTIONS statement. However, if the DEVOPTS device parameter indicates that the device cannot do a hardware pie fill, the driver does not attempt to use one, even if the PIEFILL device parameter is set to Y or PIEFILL is used in a GOPTIONS statement.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.