Telpar MTP-1530II Receipt Thermal Printer User Manual
MTP-1530II User Manual (Revision 20120510)
Page 35
4.4.2
Status Commands
Because some of the bits in the status responses are fixed, the user can
confirm the command to which the status belongs and differentiate the
status responses from XON/XOF as shown:
Response to Status Commands
Response to
Bit Pattern
GS r
0 x x 0 x x x x
XON
0 0 0 1 0 0 0 1
XOF
0 0 0 1 0 0 1 1
DLE EOT
0 x x 1 x x 1 0
ASB (1
st
byte)
0 x x 1 x x 0 0
ASB 2
nd
-4
th
0 x x 0 x x x x
Response to Status Commands
The transmit buffer is 99 bytes long. If more than 99 bytes are stored up
without being transmitted, the status bytes that have no place to be
stored will be thrown away.
Status Commands
Name
Command
ASCII
Command
+n
=
data byte[hex]
Description
Real-time STATUS
request
DLE EOT
+n
10 04 +n
See section 4.4.5
Transmit printer ID
GS I +n
1D 49 +n
See section 4.4.5
Enable/disable
Automatic Status
Back (ASB)
GS a +n
1D 61 +n
See section 4.4.5
Status Commands
4.4.3
Bar Code Commands
Bar Code Commands
Name
Command
ASCII
Command
+n
= data
byte[hex]
Description
Select print
position for HRI
characters
GS H n
1D 48 +n
n = 0 (either 00hex or 30hex),
no HRI printed. n = 1 (either
01hex or 31hex), HRI printed
above the bar code. . n = 2
(either 02hex or 32hex), HRI
printed below the bar code. n
= 3 (either 03hex or 33hex),
HRI printed both above and
below the bar code. The font
used is specified by GS f.
Default = 0.
Select font for HRI
GS f +n
1D 66 +n
n = 0 (either 00hex or 30hex),
print the HRI using FontA
(12x24). n = 1 (either 01hex or
31hex), print the HRI using
FontB (9x17). Default = 0.
Set Bar code
GS h
+n
1D 68
+n
Set the bar code height in