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
- 51 -
5. Control Command Details
ESC i S Request printer status
ASCII: ESC i S
Decimal: 27 105 83
Hexadecimal: 1B 69 53
Function
Requests the printer status.
Details
*Refer to the P-Touch Template Command Reference.
ESC ~ e F 1 Reverse feed
ASCII: ESC ~ e F 1 n m
Decimal: 27 126 101 70 1 n m
Hexadecimal: 1B 7E 65 46 01 n m
Function
Reverse feeds the paper by the specified number of lines.
Details
The number of lines is specified with the two bytes n m.
However, n is the least significant byte and m is the most significant byte.
The setting range for the number of lines is:
At 300 dpi: 24 to 12,000 dots
At 203 dpi: 18 to 8,000 dots
Example: 1Bh 7Eh 65h 46h 01h 04h 10h
Specifies the number of lines as 1004h = 4,100 dots.