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
66
(number of bytes)
25 24 8 Spare Fixed at 00H
(*1) With PT-9800PCN
(*2) With PT-9700PC
Error information 1
Flag Mask Definition
Bit 0 0x01 "No media” error
Bit 1 0x02 “End of media” error
Bit 2 0x04 “Cutter jam” error
Bit 3 0x08 Not used
Bit 4 0x10 Not used
Bit 5 0x20 Machine turned off
Bit 6 0x40 Not used
Bit 7 0x80 Not used
Error information 2
Flag Mask Definition
Bit 0 0x01 “Replace media” error
Bit 1 0x02 Not used
Bit 2 0x04 Communication error
Bit 3 0x08 Not used
Bit 4 0x10 “Cover open” error
Bit 5 0x20 “Print head overheating” error
Bit 6 0x40 Not used
Bit 7 0x80 System error
Media width
Media width Value Remarks
No tape
00H
6-mm-wide tape
06H
9-mm-wide tape
09H
12-mm-wide tape
0CH
18-mm-wide tape
12H
24-mm-wide tape
18H
26-mm-wide tape
24H
3.5-mm-wide tape
04H
Media type
Media type Value Remarks
No tape
00H
Lettering tape
02H
Laminated tape
01H
KP (thermal) tape
03H










