| United States-English |
|
|
|
![]() |
HP-UX Starbase Device Drivers Manual - Vol2: HP 9000 Series 700 Computers > Chapter 1 The CADplt Device Driver Starbase Functionality |
|
When performing hardware generated text, this device driver will recognize the following character sets for the call designate_character_set. The device driver will then instruct the device to load that specific character set. If the designated character set is not supported, an error may or may not be reported according to the state of the buffer mode flag (see “Error Reporting and Buffer Mode ” in this section). You should check the device hardware manual to see if the device will support the designated character set. At this time the device driver does not support variable width characters.
Table 1-4 Hardware Character Sets
This device driver has two states for reporting errors depending on the buffer mode, as set by the procedure buffer_mode.
When the gopen mode is SPOOLED, the spooled file will mask out all HP-GL errors generated, regardless of the buffer mode. All Starbase polygon interiors and borders are drawn by using the device's hardware support for polygons. This will normally result in an increase in rendering speed and a decrease in the size of spooled files. Polygon hardware support conforms to Starbase specifications as defined in the Starbase Graphics Techniques manual. Hardware support is provided through the use of the HP-GL commands PM, FP, and EP. You cannot turn off hardware support of polygons.[5] The number of vertices supported is device dependent. For some devices, the default number of vertices supported can be modified by adjusting the size of the memory partitions through software control. There are two methods of changing the memory partition: through use of the HP-GL command GM and use of the HP-GL escape function "ESC.T". Users should refer to the device's programming manual on using these commands. The following table summarizes the default number of vertices supported and if that default can be changed using the HP-GL command GM or "ESC.T". Table 1-5 Polygon Vertex Support
All Starbase rectangle interiors are drawn by using the device's hardware support for polygons. This will normally result in an increase in rendering speed and a decrease in the size of spooled files. Rectangle hardware support conforms to Starbase specifications as defined in the Starbase Graphics Techniques manual. Hardware support is provided through the use of the HP-GL commands PM, FP and EP. You cannot turn off hardware support of rectangles.[6] Starbase text can be drawn by using the device's hardware support for text. This support is conditional on use of the Starbase procedure text_precision with a precision parameter of STRING_TEXT. This will normally result in an increase in rendering speed, a decrease in the size of spooled files, and an increase in text quality. Since this support is user selectable, not all of those devices supported through this device driver support all those features of Starbase text. Differences between device hardware generated text and Starbase software generated text are listed below: Table 1-6 Hardware Text Support
If a program specifies a pen number that is larger then the number of pens the device has, the device driver will perform a MOD calculation to define the actual pen to be used. If the mod calculation returns a value of zero, then the largest pen number will be used instead. If pen number 0 is selected, then a device dependent action will occur and you should consult your device hardware manual. In general, pen 0 will cause most devices to not select any pen at all when performing any drawing operation. The device driver will attempt to set the paper size and perform a page feed using the HP-GL commands PS and PG when the Starbase procedure gclose is called. This will cause those devices using roll paper or having autoloading capabilities to feed the current drawing out. For those devices that accept HP-GL commands and then rasterize the data for output, this will cause the rasterization to occur and the drawing to be ejected. Devices supporting this functionality are shown below:
This driver uses a subset of the HP-GL command language. When attempting to use this device driver with unsupported devices, that device should support those HP-GL commands as required below: Table 1-7 HP-GL Command Support
The following commands are not supported. If one of these commands is used, it is ignored.
The following commands are supported under the listed conditions:
[5] The present exception to this is for polygons drawn with the interior_style parameter INT_HATCH. At this time, hatching is performed only through software. [6] The present exception to this is for polygons drawn with the interior_style parameter INT_HATCH. At this time, hatching is performed only through software. [7] Some plotters will only eject the paper if it has been plotted on. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||