
Telpar MTP-1530II Receipt Thermal Printer User Manual
MTP-1530II User Manual (Revision 20120510)
Page 46
4.5 Descriptions of Commands
4.5.1
Set Print Mode
ESC !
+n
[1B 21
+n
]
+n
is defined as:
Print Mode Settings
Bit 7
0 = Underline OFF
1 = Underline ON.
Bit 6
Not used.
Bit 5
0 = Double wide print OFF.
1 = Double wide print ON.
Bit 4
0 = Double high print OFF.
1 = Double high print ON.
Bit 3
0 = Emphasized print OFF.
1 = Emphasized print ON.
Bit 2
Not used.
Bit 1
Not used.
Bit 0
0 = FontA (12x24).
1 = FontB (9x17).
Print Mode Settings
Both double wide and double high can be selected for any of the type
faces. When a printed line contains characters with different heights, the
characters are arranged so that bottoms of all characters line up. All
characters
printed
can
be
underlined
except
90
degree-rotated
characters. The space caused by the tab command HT is not underlined.
The thickness of the underline is defined by ESC – regardless of the
character size. Default = 0hex (12 x 24 matrix)..
4.5.2
Set Bit Image Mode
ESC
+m +n
1
+n
2 +d1
∼
dn [1B 2A
+m +n
1
+n
2 (data)]
Specifies and prints bit image graphics.
Set Bit Image Mode
+m
Mode
Vertical dot
density
Horizontal
dot density
Number of
data bytes
00 hex
8 Single density
67.7 dpi
101.6 dpi
n1+n2*256
01 hex
8 Double
density
67.7 dpi
203.2 dpi
n1*n2*256
20 hex
24 Single
density
203.2 dpi
101.6 dpi
(n1+n2*256)*3
21 hex
24 Double
density
203.2 dpi
203.2 dpi
(n1+n2*256)
Set Bit Image Mode
If +m is not one of the specified values, the rest of the ESC sequence is
ignored and all information starting with +n1 is treated as normal data.
In single density mode (+m=00 or 20), for each bit of data received the
printer prints two dots horizontally so the horizontal resolution is 101.6
dpi.