Star Micronics RS232 manual Commands to Print Dot Graphics, DOT Position, Image data

Models: RS232

1 80
Download 80 pages 7.65 Kb
Page 45
Image 45
DOT Position

Commands to Print Dot Graphics

 

 

 

 

Print normal density graphics

 

FUNCTION

 

 

 

<ESC>

“K”

n

<0>

m1

m2 ...

CODE

 

 

 

1B

4B

n

00

m1

m2 ...

HEX

 

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

STAR MODE

DOT Position

1 2 3

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

MSB

 

 

 

 

Image data

 

 

 

 

 

 

LSB

D8

D7

D6

 

D5

 

D4

D3

D2

D1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

– 41 –

Page 45
Image 45
Star Micronics RS232 manual Commands to Print Dot Graphics, DOT Position, Image data