| United States-English |
|
|
|
![]() |
HP-UX Starbase Device Drivers Manual - Vol1: HP 9000 Series 700 Computers > Chapter 15 The HP-GL Device Driver Starbase Functionality |
|
Each HP-GL plotter can be considered a locator device in digitizer mode. Three values are located: X, Y, and Z. The X and Y values specify an absolute Cartesian location on the plotter's scaled plotting area in Virtual Device Coordinates. The Z value equals the maximum Virtual Device Coordinate if the pen is down, and the minimum Virtual Device Coordinate if the pen is up. When in digitizer mode, the plotter displays its "enter" indicator. The Enter button is used to trigger either an event or request. Sample calls will not cause the plotter to display its enter indicator.
The following set of rules are used to select the pen the plotter will actually use. If the program specifies a pen number that is zero, the plotter does a PEN UP. If the program specifies a pen number that is less than or equal to the number of pens the device driver recognizes, that pen number is sent to the plotter. If the plotter has a pen with that number, it is used. If the plotter does not have a physical pen with that number, a device-dependent action will occur. Either the plotter will use the pen with the largest number, or a MOD calculation is made and the resulting pen number is used. If the program specifies a pen number that is larger than the number of pens the device driver recognizes, the device driver does a MOD calculation to define the pen number to send to the plotter. If the MOD calculation returns a non-zero value, the driver sends that calculated pen number to the plotter. If the MOD calculation returns a zero value the device driver makes an exception from sending pen number 0, and sends the largest pen number. 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:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||