|
|
| User’s Manual |
Bit Images And Graphics |
| ||
|
|
|
|
ASCII | Dec | Hex | Description |
ESC $ n1 n2 | 36 | 24 | Fill in blank bit columns, from the actual column until column number |
|
|
| (n1+n2*256), where n1+n2*256<=576. |
|
|
|
|
ESC * ! n1 | 42 33 | 2A 21 | |
n2 b1...bn |
|
| where n1+n2*256 is the number of |
|
|
| (see below) and b1...bn are the bytes that compose the bit image. |
|
|
| For each column one may need 3 bytes to complete. So, if you need |
|
|
| to send an image with an |
|
|
| fill those columns. A full line has 576 bit columns so a full line will |
|
|
| need 576*3 = 1728 bytes. |
|
|
|
|
ESC K n1 | 75 | 4B | |
n2 b1...bn |
|
| matrix printers) where you use n1+n2*256 columns, with 1 byte |
|
|
| per column thus using a lower resolution and up to 576 columns. |
|
|
|
|
Graphic Commands Examples
24-bit graphics
1st byte
2nd byte
3rd byte
1stbit-
column
8th bit-
column
MSB (bit 7)
LSB (bit 0)
Figure 12
For this
The command sequence to print this graphic pattern would be (numbers in decimal): ESC * ! 8 0 1 1 1 2 2 2 4 4 4 8 8 8 16 16 16 32 32 32 64 64 64 128 128 128
Where you have 8 + 0 * 256 = 8
1 byte
1st
8th
MSB (bit 7)
For this
LSB (bit 0)
Figure 13
22