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
- 21 -
5. Control Command Details
5.2 Print area setting commands
ESC C Specify page length in lines
ASCII: ESC C n
Decimal: 27 67 n
Hexadecimal: 1B 43 n
Function
Specifies the page length as ((line feed amount when this command is specified) * (n in lines)) inches.
Details
Settings that exceed 22 inches or are less than the sum of the top space (top margin) and bottom
space (page length – bottom margin) are ignored.In addition, skip perforation is cancelled.The default
value is 66 lines. (The default page length is 11 inches.)
ESC C 0 Specify page length in inches
ASCII: ESC C 0 n
Decimal: 27 67 0 n
Hexadecimal: 1B 43 00 n
Function
Specifies the page length as n inches.
Details
Settings that exceed 22 inches or are less than the sum of the top space (top margin) and bottom
space (page length – bottom margin) are ignored.In addition, skip perforation is cancelled.The default
value is 11 inches.