User manual
32
EPSON ESC/POS Command List-2
Command Code (hex) Function Description
US ^ n m 1F 5E n m Execute and quit macro. It’s an interval of n between the
two words. It’s an interval of m between the two strings.
¾ 00 ≦ (n, m) ≦ FFh
n = Word time
m = show string time
US U 1F 55 Display time continuously
US X n 1F 58 n Brightness adjustment
¾ n = 1 ~ 4
ESC W n s
x1 y1
x2 y2
1B 57 n s x1
y1 x2 y2
Set or cancel the window range
¾ n = 1 ~ 4, for window number
¾ s = 0: cancel
s = 1: set
¾ 1 ≦ x1 ≦ x2 ≦ 14h, for columns location.
¾ 1 ≦ y1 ≦ y2 ≦ 2, for lines location.
ESC R n 1B 52 n Select international character set (20H~7Fh).
¾ n = 00 ~ 0Fh. See note *
1
ESC t n 1B 74 n Select character code table (80H~FFh).
¾ n = 00 ~ 1Fh. See note *
2
ESC = n 1B 3D n Select peripheral device, display or printer
¾ n = '1': enable printer only
n = '2': enable display only
n = '3': enable both of printer and display
Note:
1. Select international character set (20H~7Fh) for command “ESC R n”
n
international character set
n
international character set
n
international character set
0h
U.S.A.
6h
ITALY
Ch
RUSSIA
1h
FRANCE
7h
SPAIN
Dh
No used
2h
GERMANY
8h
JAPAN
Eh
No used
3h
U.K.
9h
NORWAY
Fh
No used
4h
DENMARK I
Ah
DENMARK II
5h
SWEDEN
Bh
SLAVONIC
2. Select character code table (80H~FFh) for command “ESC t n”
n character code table n character code table n character code table
0h
CP-437 (USA, Standard
Europe)
6h
Slawie
Ch
Windows-1251 (Cyrillic)
1h
Katakana (for Japan)
7h
Russia
Eh
Windows-1255 (Hebrew)
2h
CP-850 (Multilingual)
8h
Greek
Fh
Windows-1257 (Baltic)
3h
CP-860 (Portuguese)
9h
CP-852 (Hungary)
10h
Windows-1252
4h
CP-863
(Canadian-French)
Ah
CP-862 (Hebrew)
11h
Windows-1253 (Greek)
5h
CP-865 (Nordic)
Bh
CP-866 (Cyrillic)
13h
CP-858 (Multilingual+
Euro Symbol)