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
- 42 -
5. Control Command Details
5.7 Character definition commands
ESC & 0 Define download characters
ASCII: ESC & 0 n n...
Decimal: 27 38 0 n n...
Hexadecimal: 1B 26 00 n n...
Function
Defines characters that are the same as alphanumeric characters as a download character set.
Details
Converts the resolution of the character line buffer from 180 dpi to 300 dpi or 203 dpi when characters
are defined as 32 dots wide at 300 dpi (21 dots at 203 dpi).
Only high-quality characters can be defined; draft characters can also be defined as high-quality
characters.
Used when applying a download character (ESC % 1).
ESC % Apply/cancel download character set
ASCII: ESC % n
Decimal: 27 37 n
Hexadecimal: 1B 25 n
Function
Applies or cancels the download character set for alphanumeric characters.
Details
n = 00h or 30h: Cancel download character, use font from Flash area
n = 01h or 31h: Apply download character, use font from DRAM area