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
54
[With symbol type Micro PDF417]
Maximum of 250 alphanumeric characters, maximum of 366 numerals, maximum of 150
bytes of binary data
However, the following table shows the maximum amount of information allowed
according to the symbol size in the X and Y directions.
Maximum amount of information allowed
X Y
Alphanumeric
characters
Numerals Binary
1 11 6 8 3
1 14 12 17 7
1 17 18 26 10
1 20 22 32 13
1 24 30 44 18
1 28 38 55 22
2 8 14 20 8
2 11 24 35 14
2 14 36 52 21
2 17 46 67 27
2 20 56 82 33
2 23 64 93 38
2 26 72 105 43
3 6 10 14 6
3 8 18 26 10
3 10 26 38 15
3 12 34 49 20
3 15 46 67 27
3 20 66 96 39
3 26 90 132 54
3 32 114 167 68
3 38 138 202 82
3 44 162 237 97
4 4 14 20 8
4 6 22 32 13
4 8 34 49 20
4 10 46 67 27
4 12 58 85 34
4 15 76 111 45
4 20 106 155 63
4 26 142 208 85
4 32 178 261 106
4 38 214 313 128
4 44 250 366 150
③ \\\: End of bar code
There must be three backslashes at the end of 2D bar codes.










