6 bit images and graphics, 1 24-bit graphics, Bit-column 8 – Bematech MP-4000 TH Programmer's Manual User Manual
Page 35: Bit-column, Byte 2, Byte 3, And 3, Bytes of the first bit-column, than the 1

MP-4000 TH POS Printer Rev.1.4
Programmer’s
Manual
22-aug-2007
Firmware Release: 1.5
35
3.6 Bit images and graphics
3.6.1 24-bit graphics
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 bit-columns to be filled, each with 3 bytes that will
give us a total of 24 bytes to be sent (excluding the command sequence).
3.6.2 8-bit graphics
The command sequence to print this graphic pattern would be (numbers in
decimal):
ESC K 8 0 1 2 4 8 16 32 64 128
Where you have 8 + 0 * 256 = 8 bit-columns to be filled, each with 1 byte that will
give us a total of 8 bytes to be sent (excluding the command sequence).
1
st
bit-column
8
th
bit-column
{
{
{
1
st
byte
2
nd
byte
3
rd
byte
For this 24-bit graphic pattern
we have eight bit-columns, each with
a height of 3 bytes (24 bits). The
printer must, after the command is
stated, receive the 1
st
, 2
nd
and 3
rd
bytes of the first bit-column, than the
1
st
, 2
nd
and 3
rd
bytes of the second
bit-column and so on, until the last bit-
MSB (bit 7)
LSB (bit 0)
1
st
bit-column
8
th
bit-column
{
1 byte
For this 8-bit graphic pattern
we have eight bit-columns, each with
a height of 1 byte (8 bits). The printer
must, after the command is stated,
receive the byte for the first bit-
column, than the byte for the second
bit-column and so on, until the last bit-
column is filled. The resolution is
lower but needs less bytes to be sent
MSB (bit 7)
LSB (bit 0)