Telpar, Inc. MTP Series Receipt Thermal Printer User Manual
2011 Telpar, Inc. (Rev.20110809)
Page 25
4.2.2.5
Bit Image (BI) Graphics Mode Commands
BI
US * +nH +nL +data
1F 2A +nH +nL +data
256*nH +nL defines how many bytes of bit image data will follow. The data is received sequentially with
the first byte representing the first 8 dot positions at the top left side of the bit image with bit 7 being to
the left and bit 0 being to the right as printed.
XMOVE
US x +nH +nL
1F 78 +nH +nL
The horizontal print position is set to (256*nH + nL) * 8 dots from the left margin.
If there is a lot of white space on the current dot line, the XMOVE command can cause the print
location pointer to be moved resulting in less data required to define a dot line of bit image data to be
printed. Anytime there is more than 4 bytes of white space (32 dots) the XMOVE command will result
in less data being sent to the printer. Another BI command can follow the XMOVE command until a
YMOVE signifies the end of the current dot line.
YMOVE
US y +nH +nL
1F 79 +nH +nL
Causes paper to feed 256*nH + nL dot lines. This is also the BI line terminator and print command.
4.2.2.6
Print Bar Code Command
GS k
+m
+n
+d1
dn
[1D 6B
+m
+n
(DATA)]
+m
selects the bar code type.
+n
defines the number of data bytes which follow.
If more data is sent than can fit on the printer being used, the bar code is not printed.
+m
Bar code
+n
Valid data
Comment
41
UPC-A
11
0-9
Checksum generated & printed
42
UPC-E
7
0-9
Checksum generated & printed
43
EAN13
12
0-9
Checksum generated & printed
44
EAN8
7
0-9
Checksum generated & printed
45
Code39
variable
0-9 A-Z sp $%*-./
46
ITF
variable.
0-9
If an odd number of data bytes is sent,
a leading zero will be added.
47
CODABAR
variable.
0-9 - $ : / . +ABCD
49
CODE128
variable.
See Section 4.2.2.7 - Bar Code 128 definitions
4A
CODE 39
variable.
0-9 A-Z sp $%*-./
Checksum generated & printed
4B
ITF
variable.
0-9
Checksum generated & printed. If the
data sent and the checksum causes an
odd number of digits, a leading zero will
be printed.