4) status and error handling, 4-1) status information, Esc i s request printer status – Brother MW-260 User Manual
Page 14

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
1
0
1
Head mark
80 Hex…fixed data
2
1
1
Size
20 Hex…fixed data
3 2 1
“Brother”
code
‘B’ Char(42 Hex)…fixed data
4
3
1
Series code
Describe afterward
5
4
1
Model code
Describe afterward
6
5
1
Country code
Describe afterward
7
6
1
Information on main unit
00 Hex…fixed data
8
7
1
N/A
00 Hex…fixed data
9
8
1
Error information 1
Describe afterward
10
9
1
Error information 2
Describe afterward
11
10
1
Media width
Describe afterward
12
11
1
Media kind
Describe afterward
13
12
1
Number of colours
Describe afterward
14
13
1
Font
00 Hex…fixed data
15
14
1
Japanese font
00 Hex…fixed data
16 15 1 Mode
Describe
afterward
17 16 1 Density
Describe
afterward
18
17
1
Media length
Describe afterward
19 18 1 Status
kind
Describe
afterward
20
19
1
Phase kind
Describe afterward
21
20
1
Phase number(upper byte)
Describe afterward
22
21
1
Phase number(lower byte)
Describe afterward
23
22
1
Notice number
Describe afterward
24
23
1
Number of bytes (expansion
section)
00 Hex
25
24
8
Hardware setting
Describe afterward