User`s manual
26
MP-4200 TH Programmer’s Manual - Revision 1.0
ESC $ n
1
n
2
[Function] Fill in blank bit columns.
[Format] ASCII ESC$n
1
n
2
Hexadecimal 1B 24 n
1
n
2
Decimal 2736n
1
n
2
[Description] Thiscommandfillsinblankbitcolumns,fromcurrentcolumnuntilcolumnnumber(n
1
+n
2
*256),
where n
1
+n
2
*256shouldbelessthanorequaltoN.‘N’istheprintingwidth,dependingonthe
print mode.
ESC * ! n
1
n
2
b
1
... b
n
[Function] 24-bit graphics.
[Format] ASCII ESC*!n
1
n
2
b
1
... b
2
Hexadecimal 1B 2A 21 n
1
n
2
b
1
... b
2
Decimal 274233n
1
n
2
b
1
... b
2
[Description] This command downloads a 24-bit bit image with n
1
+n
2
*256 columns and b
1
...b
n
bytes to
composetheimage.Eachcolumncontains3bytes,asshowninthefigurebelow.
1
st
byte
{
2
nd
byte
{
3
rd
byte
{
1
st
bit-column
8
th
bit-column
MSB (bit 7)
LSB (bit 0)
Thisillustrationshowsa24-bitgraphiccontaining8bit-columnswith3bytesheighteach(24
bits). It shows how bytes are interpreted by the printer when this command is used. A full
printlinewith‘N’columnswillneedN*3bytes.Iftheimagetoprinthaslessthan‘N’graphic
columns,aLFcommandmustbesenttoperformlineprinting.Textandgraphicmaybemixed
in the same line.
ESC K n
1
n
2
b
1
... b
n
[Function] 8-bit graphics.
[Format] ASCII ESCKn
1
n
2
b
1
... b
2
Hexadecimal 1B 4B n
1
n
2
b
1
... b
2
Decimal 2775n
1
n
2
b
1
... b
2
[Description] Select “8 pin” bit image (compatible with dot-matrix printers) where [n1+(n2*256)] is the
number of columns, and each column is 1 byte in length. As to fill the line it is necessary to
expandthissinglebytein3bytes,8-bitimagesarealwayslowresolution.Theorganizationof
an eight-bit image is presented in the figure below.