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
56
[1-byte decimal] 72
[1-byte decimal] 80
[1-byte decimal] 88
[1-byte decimal] 96
[1-byte decimal] 104
[1-byte decimal] 120
[1-byte decimal] 132
[1-byte decimal] 144
[1-byte decimal] 0
[1-byte decimal] 8
[1-byte decimal] 12
[1-byte decimal] 16
Vertical no. of cells: 72 cells
Vertical no. of cells: 80 cells
Vertical no. of cells: 88 cells
Vertical no. of cells: 96 cells
Vertical no. of cells: 104 cells
Vertical no. of cells: 120 cells
Vertical no. of cells: 132 cells
Vertical no. of cells: 144 cells
● ECC200 rectangular
Vertical no. of cells: AUTO (default value)
Vertical no. of cells: 8 cells
Vertical no. of cells: 12 cells
Vertical no. of cells: 16 cells
4. Horizontal size
[1-byte decimal] x
[1-byte decimal] 0
[1-byte decimal] 18
[1-byte decimal] 32
[1-byte decimal] 26
[1-byte decimal] 36
[1-byte decimal] 36
[1-byte decimal] 48
● ECC200 square
Horizontal no. of cells: Same value as vertical size (x)
● ECC200 rectangular
① When the vertical size is “AUTO”
Horizontal no. of cells: AUTO (default value)
② When the vertical size is 8 cells
Horizontal no. of cells: 18 cells
Horizontal no. of cells: 32 cells
③ When the vertical size is 12 cells
Horizontal no. of cells: 26 cells
Horizontal no. of cells: 36 cells
④ When the vertical size is 16 cells
Horizontal no. of cells: 36 cells
Horizontal no. of cells: 48 cells
5. Spare
[1-byte decimal]×5 0
5 bytes of dummy data (0) is sent.
* Note:
If the vertical size is set to a value other than those listed for ECC200 square, the “AUTO”
setting is selected. If the horizontal size is set to a value different from the vertical size, the
setting is changed to the same value as the horizontal size.
If the vertical or horizontal size for ECC200 rectangular is set to a value other than those
listed, the “AUTO” setting is selected.
② [Bar code data]: Data for the bar code
The maximum number of bar code data characters that can be entered is listed below.
2335 alphanumeric characters, 3116 numerals, 1556 bytes of binary data










