ESC/ P Command Reference
Table Of Contents
- Chapter 1. General Information
- Chapter 2. Command information
- 2-1) Character/style selection commands
- 2-2) 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 Specify double printing
- ESC H Cancel double printing
- ESC P Specify pica pitch
- ESC M Specify elite pitch
- ESC g Specify micron pitch
- ESC p Specify proportional characters
- ESC W Specify double-width characters
- SO Specify auto-cancelling enlarged characters
- ESC SO Specify auto-cancelling enlarged characters
- SI Specify half-width characters
- ESC SI Specify half-width characters
- DC2 Cancel half-width characters
- DC4 Cancel auto-cancelling double-width characters
- ESC - Apply/cancel underlining
- ESC ! Global formatting
- ESC SP Select character spacing for ANK characters
- ESC X Select alphanumeric/kana character size
- 2-3) Line feed amount commands
- 2-4) Horizontal movement commands
- 2-5) Vertical movement commands
- 2-6) Paper formatting
- 2-7) Printer control commands
- 2-8) Graphics commands
- 2-9) Advanced commands
- Chapter 3. Appendix
29
2-3) Line feed amount commands
ESC 0 Specify line feed of 1/8"
[ASCII] ESC 0
[Decimal] 27 48
[Hexadecimal] 1B 30
[Parameters] None
[Description]
・ Specifies a line feed amount of 1/8" (approximately 0.32 cm).
・ A line feed sets 38 dots (38 dots / 300 dpi).
ESC 2 Specify line feed of 1/6"
[ASCII] ESC 2
[Decimal] 27 50
[Hexadecimal] 1B 32
[Parameters] None
[Description]
・ Specifies a line feed amount of 1/6" (approximately 0.42 cm).
・ A line feed sets 50 dots (50 dots / 300 dpi).
ESC 3 Specify line feed amount in minimum units
[ASCII] ESC 3 n
[Decimal] 27 51 n
[Hexadecimal] 1B 33 n
[Parameters] 0≤n≤255
[Description]
・ Specifies a line feed amount of n/300" each text line.
ESC A Specify line feed amount of n/60"
[ASCII] ESC A n
[Decimal] 27 65 n
[Hexadecimal] 1B 41 n
[Parameters] 0≤n≤255
[Description]
・ Specifies a line feed amount of n/60".
・ Therefore, n=1 will feed 5 dots (n 1 = 5 dots / 300 dpi).










