Page 26 of 64
4.3.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
Table 7 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.4 - Status
Commands .
Transmit printer ID GS I +n
1D 49 +n
See Section 4.4.4 - Status
Commands .
Enable/disable
Automatic Status
Back (ASB)
GS a +n
1D 61 +n
See Section 4.4.4 - Status
Commands .
Table 8 Status Commands
4.3.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 height GS h
+n
1D
68
+n
Set the bar code height in
dots. Default = 162. Range =
1 to 255dec.
Print bar code
GS k +n
1D 6B +n (data) Selects the bar code type and
Содержание MTP-1500
Страница 8: ...Page 8 of 64 Table 27 International Character Set 68...
Страница 50: ...Page 50 of 64 5 3 3 Katakana Character Set Figure 16 Katakana Character Set 80 FF hex...
Страница 51: ...Page 51 of 64 5 3 4 PC850 Multilingual Character Set Figure 17 PC850 Multilingual Character Set...
Страница 52: ...Page 52 of 64 5 3 5 PC860 Portuguese Character Set Figure 18 PC860 Portuguese Character Set...
Страница 53: ...Page 53 of 64 5 3 6 PC863 Canadian French Character Set Figure 19 PC863 Canadian French Character Set...
Страница 54: ...Page 54 of 64 5 3 7 PC865 Nordic Character Set Figure 20 PC865 Nordic Character Set...
Страница 55: ...Page 55 of 64 5 3 8 WPC 1252 Character Set Figure 21 WPC 1252 Character Set...
Страница 56: ...Page 56 of 64 5 3 9 PC866 Cyrillic 2 Character Set Figure 22 PC866 Cyrillic 2 Character Set...
Страница 57: ...Page 57 of 64 5 3 10 PC852 Latin 2 Character Set Figure 23 PC852 Latin 2 Character Set...
Страница 58: ...Page 58 of 64 5 3 11 PC858 Euro Character Set Figure 24 PC858 Euro Character Set...
Страница 59: ...Page 59 of 64 5 3 12 Space Page Character Set Figure 25 Space Page Character Set Table 26 Default Character Set...
Страница 60: ...Page 60 of 64 5 3 13 Overseas Character Set Table 27 Overseas Character Set...
Страница 61: ...Page 61 of 64 5 3 14 International Character Set Table 28 International Character Set...
Страница 63: ...Page 63 of 64 5 4 2 Dimensional Drawings of MTP 1532 82 5 mm Version...