beautypg.com

Esc i s status information request, Esc i s, Status information request – Brother TD-2120N User Manual

Page 101

background image

ESC/P Command Reference

- 95 -

5. Control Command Details

ESC i S

Status information request

ASCII: ESC

i

S

Decimal: 27

105

83

Hexadecimal: 1B

69

53

Parameters

None

Description

Sends a requests for the printer status.

The printer status consists of 32 bytes.

Order Offset

Size

Name

Value/Standard

1

0

1

Print head mark

Fixed at 80h

2

1

1

Size

Fixed at 20h

3

2

1

Brother code

Fixed at “B” (42h)

4

3

1

Series code

Fixed at “5” (35h)

5 4 1

Model

code

TD-2020: Fixed at “3” (33h)
TD-2120N: Fixed at “5” (35h)
TD-2130N: Fixed at “6” (36h)

6

5

1

Country code

Fixed at “0” (30h)

7

6

1

Battery level information

Refer to table (5) below.

8

7

1

Reserved

Fixed at 00h

9

8

1

Error information 1

Refer to table (1) below.

10

9

1

Error information 2

Refer to table (2) below.

11

10

1

Media width

Refer to “

3.1 Print area

” on page 11.

12

11

1

Media type

Refer to table (3) below.

13

12

1

Number of colors

Fixed at 00h

14

13

1

Media length (higher order bytes)

Refer to “

3.1 Print area

” on page 11.

15

14

1

Media sensor value

Not used

16

15

1

Mode

Fixed at 00h

17

16

1

Density

Fixed at 00h

18

17

1

Media length (lower order bytes)

Refer to “

3.1 Print area

” on page 11.

19

18

1

Status type

Refer to table (4) below.

20

19

1

Phase type

Fixed at 00h

21

20

1

Phase number (higher order bytes)

Fixed at 00h

22

21

1

Phase number (lower order bytes)

Fixed at 00h

23

22

1

Notification number

Not used

24

23

1

Expansion area (number of bytes)

Fixed at 00h

25

24

8

Reserved

Fixed at 00h

This manual is related to the following products: