Star Micronics 8111 Printer User Manual


 
HP-GU2 commands
Commands are described as follows:
mnemonic (command name) (list of parameters)
Optional parameters am enclosed in brackets [] together with their default
values in braces { ].
Coordinates are considered to be integers.
Angles are expressed in degrees and are considered to be clamped real
numbers.
If a parameter is outside its specified range, the command is ignored.
Unless otherwise specified, lines are drawn using the current line type, width
and attributes, and fills use the current fill type.
The following abbreviations are used in describing commands:
cgc: current graphics cursor
Ax:
x-coordinate of point A
Ay: y-coordinate of point A
Commands
AA (arc absolute) (xc, yc, angle [chord angle (5)])
xc:
x-coordinate of center of arc
yc:
y-coordinate of center of arc
angle:
angular size of arc, from -360 to +360
chord angle:
angle subtended by chord, from 0.5 to 180
This command draws an arc from the current pen position, as specified. After
drawing the arc, the current pen position is at the end of the arc.
AC (anchor comer) (xc, yc)
xc:
x-coordinate of start of fill pattern
yc:
y-coordinate of start of fill pattern
The default is 0.0 and “anchors” the fill to the origin of the current coordinate
system.
AD (alternate font designation (kind, value [‘kind, value, . ..I)
kind:
clamped integer from 1 to 7 (= font attribute)
value: depends on kind
(See the SD command)
AR (arc relative) (dxc, dye, angle, [chord angle (5)])
dxc:
x-coordinate of center, relative to cgc
98