Control Codes
100-88002 Rev B Page 119
Note 1: Red, green, and blue pixels set to one at the same location result in a white
dot, while red, green, and blue pixels set to zero form a black dot. For black print, one
represents a black dot and zero represents a white dot.
Note 2: More than one color may be set at a time – for example, setting the color to six
would set green and blue simultaneously.
[ESC] * Set horizontal graphic mode
ASCII [ESC] * <m> <0> <0>
Hexadecimal 1BH 2AH <m> <0> <0>
Decimal <27> <42> <m> <0> <0>
IPCL none
Description The [ESC] * <m> <0> <0> command selects one of the three graphic
modes specified by <m>. The two bytes after the mode must be zero.
Where <m> 0,2,3,4,5,6,7 Standard Graphic Modes
(See ESC * command documentation in previous section.)
Mode Resolution
0,2,3,4,5,6,7 Standard Graphic Modes (See ESC *
command documentation in previous section.)
8,9 Not supported
10 102 x 102 dpi
11 203 x 102 dpi
12 102 x 203 dpi
13 203 x 203 dpi
15,16 Not supported
Note 1: Only modes 10 thorough 13 should be selected for horizontal
graphics.
Example
Command
Comment
[ESC] * <10> <0> <0> Set resolution to 102x102 dpi.
[ESC] h <1> <9> <0> <eight data bytes> Send 8-bytes red pixels.
[ESC] h <2> <9> <0> <eight data bytes> Send 8-bytes green pixels.
[ESC] h <3> <9> <0> <eight data bytes> Send 8-bytes blue pixels.
LF Send line feed to force print of any buffered data not yet printed.