Graph ics Co mm an d Set
Parameter P1 specifies the color as follows:
Table 85. Set Color
Byte Value Description Error Code
0 X'0A' Order code
1
X'00'
X'07'
X'08'
Color
Current default
Printer default
Color of Medium
X'0300..04'
If the color requested is not available, the printer uses black. If this occurs, the
Exception Handling Control determines whether to report this condition. The
EHC also determines whether to continue with the Write Graphics command.
For all color selections except the color of the medium, graphics prints in black.
These selections overpaints previous graphics (if of a different color) by
changing the color of the dots to print. For a color of medium selection,
following graphics overpaints previous graphics by deleting (erasing) the dots to
print.
Set Current Position
Description: This order sets the current graphics position for a subsequent
drawing order. The position for non-graphics (for example, text) does not
change.
Parameters P1 and P2 form a two byte value that specifies the X coordinate in
drawing units. Parameters P3 and P4 form a two byte value that specifies the Y
coordinate in drawing units. The printer resolves the coordinates to the nearest
increment of 0.18 mm (0.007 in.
[1/144 in. ]).
21 L1 P1-P4
Set Extended Color
Description: This order functions the same as the Set Color order except that it
specifies a length field and the color parameter contains two bytes. The color
for non-graphics (for example, text) does not change with this order. This order
does not change any other graphics drawing attributes.
This order aids graphics interchange compatibility.
Parameters P1 and P2 form a two byte value that specifies the color, as follows:
26 L1 P1 P2
Table 86 (Page 1 of 2). Set Extended Color
Byte Value Description Error Code
0 X'26' Order code
1 X'02' Length X'0300..03'
112 6400 IPDS