ESC/P Commands Arranged by Topic
User-defined characters
ASCII
Dec. Hex. Descriution
ESC
&
nn
38
26
ESC: 0 n 0
58 3A
ESC % n
37
73
25
ESCIn
49
Graphics
ASCII Dec. Hex. Description
Define User-Defined Characters
ESC
&
0 nl n2 al data
nl = ASCII code of first character
n2 = ASCII code of last character
al = Attribute byte that specifies
character width and pins to be
used
data: character data bytes
Copy ROM to RAM
n = 0: Copy Roman
1: Copy Sans Serif
Select User-Defined Set
n = 0: Normal set
1: User-defined set
Printable Code Area Expansion
Codes 0 to 31 and 128 to 159 decimal
n = 0: Non-printable codes
1: Printable codes for user
defined characters
ESC K nl n2 75
4B
Select Single-Density Graphics Mode
ESC K nl n2 data
n=nl+n2x256
n: Total columns for graphics
data = n bytes of graphics data
Command Summary
8-11