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
45
If “?” is entered, "?” is treated as bar code data.
④ Backslash: End of bar code data
[With protocols CODE39, ITF (I-2/5), EAN-8, EAN-13, UPC-A, UPC-E, CODABAR
and RSS symbols]
ESC i [parameters] B or b [bar code data] \
[With protocols CODE128 and GS1-128 (UCC/EAN-128)]
ESC i [parameters] B or b [bar code data] \\\
[Description]
・Specifies a bar code image.
・Since the check digit is automatically generated from the bar code data, the check digit is
not sent as bar code data.
Since the length of the bar code data is also checked, the data would not be correctly
recognized if check digit data is present.
・With protocols CODE39, ITF (I-2/5), CODABAR, CODE128, GS1-128 (UCC/EAN-128) or
RSS Expanded, the buffer length for the bar code image is about 22 cm. A bar code
longer than 22 cm will not be printed.
・The characters that can be entered with CODE128 and GS1-128 (UCC/EAN-128) are
the full 128 ASCII characters and the special codes FNC1, FNC2, FNC3 and FNC4.
Codes assigned to the special codes
FNC1: 86H
FNC2: 81H
FNC3: 80H
FNC4: 84H
・The control codes and special codes appear as spaces when characters are printed
below CODE128 and GS1-128 (UCC/EAN-128) bar codes.
・Special code FNC1 can also be printed with RSS Expanded. This special code also
appears as a space when characters are printed below the bar code.
Code assigned to the special code
FNC1: 86H










