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
58
ESC i M 2D bar code (MaxiCode)
[ASCII] ESC i M data
[Decimal] 27 105 77 data
[Hexadecimal] 1B 69 4D data
・Format
ESC i M [parameters] \ [bar code data] \\\
① ② ③ ④
① Parameters
If a value other than those listed is entered for a parameter, that parameter is set to its
default value.
1. Symbol type
[1-byte decimal] 0
[1-byte decimal] 1
[1-byte decimal] 2
Standard (default value)
Full EEC
Structured carrier message
2. Append mode
[1-byte decimal] 0
[1-byte decimal] 1
Structured append (default value)
Not appended
② \
Separator between parameters and bar code data
③ Bar code data
The number of bar code data characters that can be entered is listed below.
Maximum amount of information allowed
Symbol type
Alphanumeric characters Numerals
Standard 93 138
Full EEC 77 113
Structured carrier message 84 126
* Note:
The number of characters that can be entered (as listed above) is for when only the
common character set (code set A in the MaxiCode specifications) is used. The number of










