Brother MW-140BT Guida Di Riferimento

Pagina di 58
 
14 
 
1-4) Status and Error handling 
 
1-4-1) Status information: 
 
When your program issues the command “Status request”, MPrint returns basic 32 bytes and 
additional status data. The command follows. 
 
 
ESC i S  Request printer status 
[ASCII]  ESC  i  S 
[Decimal] 
27 105 83 
[Hexadecimal] 1B  69 53 
[Parameters] None 
[Description] 
・ 
Requests the printer status. 
 
Status information table:
 
Index 
number 
Offset Data 
size 
Description Value 
Head mark 
80 Hex…fixed data 
Size 
20 Hex…fixed data 
3 2 1 
“Brother” 
code 
‘B’ Char(42 Hex)…fixed data 
Series code 
Describe afterward 
Model code 
Describe afterward 
Country code 
Describe afterward 
Information on main unit 
00 Hex…fixed data 
N/A 
00 Hex…fixed data 
Error information 1 
Describe afterward 
10 
Error information 2 
Describe afterward 
11 
10 
Media width 
Describe afterward 
12 
11 
Media kind 
Describe afterward 
13 
12 
Number of colours 
Describe afterward 
14 
13 
Font 
00 Hex…fixed data 
15 
14 
Japanese font 
00 Hex…fixed data 
16 15 1 Mode 
Describe 
afterward 
17 16 1 Density 
Describe 
afterward 
18 
17 
Media length 
Describe afterward 
19 18 1 Status 
kind 
Describe 
afterward 
20 
19 
Phase kind 
Describe afterward 
21 
20 
Phase number(upper byte) 
Describe afterward 
22 
21 
Phase number(lower byte) 
Describe afterward 
23 
22 
Notice number 
Describe afterward 
24 
23 
Number of bytes (expansion 
section) 
00 Hex 
25 
24 
Hardware setting 
Describe afterward