ESC/ P Legacy Command Reference
Table Of Contents
- ESC/P Legacy Command Reference
- IMPORTANT - PLEASE READ CAREFULLY
- Contents
- Introduction
- What is ESC/P?
- 1. Using ESC/P Legacy Commands
- 2. Examples of Using ESC/P Legacy Commands
- 3. ESC/P Legacy Command Limitations
- 4. Control Code List
- 5. Control Command Details
- 5.1 Paper feed commands
- 5.2 Print area setting commands
- 5.3 Tab setting commands
- 5.4 Print position setting commands
- 5.5 Character selection commands
- 5.6 Character style commands
- ESC x Select text quality
- SI, ESC SI Specify reduced characters
- DC2 Cancel reduced characters
- SO, ESC SO Specify auto-canceling double-width characters
- DC4 Cancel auto-canceling double-width characters
- ESC W Specify/cancel double-width characters
- ESC w Specify/cancel double-height characters
- ESC E Apply bold style
- ESC F Cancel bold style
- ESC G Apply double-strike printing
- ESC H Cancel double-strike printing
- ESC – Apply/cancel underlining
- ESC SP Specify character spacing
- ESC q Select character style
- ESC 4 Apply italic
- ESC 5 Cancel italic
- ESC ! Global formatting
- 5.7 Character definition commands
- 5.8 Supplemental function commands
- 5.9 Others
- 5.10 Advanced commands
- Appendix A: Character Code Tables
- Appendix B: Introducing the Brother Developer Center
- brother US ENG
ESC/P Legacy Command Reference
- 15 -
4. Control Code List
Character selection commands (Refer to section 5.5 Character selection commands.)
ASCII Code
Binary Code
Function
ESC k
1Bh 6Bh
Select font
ESC P
1Bh 50h
Specify 10 cpi
ESC M
1Bh 4Dh
Specify 12 cpi
ESC g
1Bh 67h
Specify 15 cpi
ESC p
1Bh 70h
Apply/cancel proportional characters
ESC S
1Bh 53h
Apply superscript/subscript
ESC T
1Bh 54h
Cancel superscript/subscript
ESC t
1Bh 74h
Select character code table
ESC R
1Bh 52h
Select international character set
Character style commands (Refer to section 5.6 Character style commands.)
ASCII Code
Binary Code
Function
ESC x
1Bh 78h
Select text quality
SI, ESC SI
0Fh, 1Bh 0Fh
Specify reduced characters
DC2
12h
Cancel reduced characters
SO, ESC SO
0Eh, 1Bh 0Eh
Specify auto-cancelling double-width characters
DC4
14h
Cancel auto-cancelling double-width characters
ESC W
1Bh 57h
Specify/cancel double-width characters
ESC w
1Bh 77h
Specify/cancel double-height characters
ESC E
1Bh 45h
Apply bold style
ESC F
1Bh 46h
Cancel bold style
ESC G
1Bh 47h
Apply double-strike printing
ESC H
1Bh 48h
Cancel double-strike printing
ESC -
1Bh 2Dh
Apply/cancel underlining
ESC SP
1Bh 20h
Specify character spacing
ESC q
1Bh 71h
Select character style
ESC 4
1Bh 34h
Apply italics
ESC 5
1Bh 35h
Cancel italics
ESC !
1Bh 21h
Global formatting