ESC/P Commands Arranged by Topic
ASCII
Dec. Hex. Description
ESC $ nl n2 36
24
Set Absolute Horizontal Print Position
n =
(n
1 + n2 x
256)/60
inches
n: Specifies print position as n/60 inches
from the left margin.
ESC
\
nl n2 92
5C
Set Relative Horizontal Print Position
n = (nl + n2 x
256)/
120 inches
n:
Moves current print position by
n/
120 inches. If displacement is to the left,
subtract it from 65536.
HT
9
09
Tab Horizontally
ESC D nn 68 44
Set Horizontal Tabs
Up to 32 tabs (1-255) in ascending
order; last parameter should be 0. ESC D
0 clears all tab settings.
Overall printing style
ASCII
Dec. Hex. Descriution
ESCxn
120 78
Select Near Letter Quality or Draft
n = 0: Draft mode
1: Near Letter Quality (NLQ) mode
ESC k n 107 6B
Select Typestyle Family
n = 0: Roman
1: Sans Serif
8-6
Command Summary