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
34
ESC J Forward paper feed
[ASCII] ESC J n
[Decimal] 27 74 n
[Hexadecimal] 1B 4A n
[Parameters] 0 ≤ n ≤ 255
[Description]
・ Ends input of the current line, and moves the vertical print position forward n/300 inch (1
dot).
ESC B Specify vertical tab position
[ASCII] ESC B [n]
k
NUL
[Decimal] 27 66 [n]
k
0
[Hexadecimal] 1B 42 [n]
k
00h
[Parameters] 1 ≤ n ≤ 255
0 ≤ k ≤ 16
[Description]
・ The vertical tab position is set at the position of the line feed amount when the vertical tab is
specified *n from the top margin position.
・ Enter n in ascending order, and end the setting with NUL.
・ If any n value is smaller than the value before it, the tab setting is finished.










