ESC/ P Command Reference
Table Of Contents
- Control code list
- Print area
- Characters
- Print position
- Line feed amount
- Document creation flow
- Control command details
- Character/style selection commands
- Text printing commands
- ESC 4 Apply italic style
- ESC 5 Cancel italic style
- ESC E Apply bold style
- ESC F Cancel bold style
- ESC G Apply double-strike printing
- ESC H Cancel double-strike printing
- ESC W Specify double-width characters
- SI Specify compressed characters
- ESC SI Specify compressed characters
- DC2 Cancel compressed characters
- ESC - Apply/cancel underlining
- ESC ! Global formatting
- ESC X Specify character size
- ESC i f Apply/cancel a frame (global)
- CAN Clear text
- DEL Delete one character
- ESC CR Not available
- Line feed commands
- Horizontal movement commands
- Vertical movement commands
- Paper formatting
- Printer control commands
- Graphics commands
- Kanji commands
- Advanced commands
- ESC i B Bar code
- ESC i Q 2D bar code (QR Code)
- ESC i P Specify QR Code version
- ESC i V 2D bar code (PDF417)
- ESC i D 2D bar code (DataMatrix)
- ESC i M 2D bar code (MaxiCode)
- ESC i F Print transferred data
- ESC i a Switch command mode
- ESC i S Request printer status
- ESC i L Apply/cancel rotated printing
- ESC i C Specify cut setting
- ESC i U B Specify baud rate
- ESC i U b Specify bit length
- ESC i U P Specify parity setting
- ESC i U C Specify busy control
- Character code
- BROTHER PT-9800PCN/9700PC ESC/P specifications
65
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.
The printer status consists of 32 bytes.
Orde
r
Offse
t
Size Name Value/Reference
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 “0” (30H)
“a” (61H) (*1) 5 4 1 Model code
“b” (61H) (*2)
6 5 1 Country code Fixed at “0” (30H)
7 6 1 Main unit information Fixed at 00H
8 7 1 Spare Fixed at 00H
9 8 1 Error information 1 See below.
10 9 1 Error information 2 See below.
11 10 1 Media width See below.
12 11 1 Media type See below.
13 12 1 Number of colors Fixed at 00H
14 13 1 Internal font information Fixed at 00H
15 14 1 Internal Japanese font
information
Fixed at 00H
16 15 1 Mode Fixed at 00H
17 16 1 Density Fixed at 00H
18 17 1 Media length
19 18 1 Status type See below.
20 19 1 Phase type See below.
21 20 1 Phase number (upper
byte)
Fixed at 00H
22 21 1 Phase number (lower
byte)
Fixed at 00H
23 22 1 Notification number Not used
24 23 1 Expansion section Fixed at 00H










