Star Micronics RS232 Printer User Manual


 
– 41 –
STAR MODE
Commands to Print Dot Graphics
FUNCTION
Print normal density graphics
CODE <ESC> “K” n <0> m1 m2 ...
HEX
1B 4B n 00 m1 m2 ...
REMARKS
Prints normal density dot graphics. The graphics image is 24 dots
high and n × 3 dots wide. Maximum width is 576 dots.
m1, m2, ... are the dot data, each a 1-byte value from 0 to 255
representing 24 vertical dots, with the most significant bit repre-
senting the top three and the least significant bit representing the
bottom three.
The number of data bytes must be n.
Dots beyond the right margin are ignored.
Relationship between image data and print dots
D8
MSB
DOT Position
Image data LSB
D7 D6 D5 D4 D3 D2 D1
1
1
2
3
4
22
21
23
24
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
23