Bematech MP-4000 TH Programmer's Manual User Manual
Page 36
MP-4000 TH POS Printer Rev.1.4
Programmer’s
Manual
22-aug-2007
Firmware Release: 1.5
36
ESC $ n1 n2
[Function]
Fill in blank bit columns
[Format]
ASCII
ESC
$
n1
n2
Hexadecimal
1B 24 n1 n2
Decimal 27
36
n1
n2
[Description]
This command fills in blank bit columns, from the actual column until
column number (n1+n2*256), where n1+n2*256<= N. See ‘N’ value in
the table 2.
ESC * ! n1 n2 b1...bn
[Function]
24-bit graphics
[Format]
ASCII
ESC
*
!
n1 n2 b1...bn
Hexadecimal
1B 2A 21 n1 n2 b1 ... bn
Decimal
27 42 33 n1 n2 b1 … bn
[Description]
This command programs bit image for 24 bits, in double density where
n1+n2*256
is the number of bit-columns that will be sent (see Bit
images and graphics) 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 8-column width you may send 24 bytes
to fill those columns. A full line has ‘N’ bit columns so a full line will
need N*3 bytes. If the image you want to print has less than ‘N’
graphic columns, a LF must be sent to complete line printing. Text and
graphic can be mixed in the same line. If the printer is used with
pograms that convert text to graphics, the printer is slower than if the
printer is sent ASCII text. See N value in the Table 2.