- 18 -
Command
Code (hex)
Function Description
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 ~ 1Fh. 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
ESC %
n
1B
25
n
Set/Cancel User-Define Character Set
n
= 0: Cancel User-Define Character Set
n
= 1: Set User-Define Character Set
ESC & SOH n m
[ R (r1~r5) * K]
1B 26 01 n m ( R [r1 ~
rn] ) * K
Create User-Define Character
20h
≤
n
≤
m
≤
FFh
R = Data Length (r1 ~ rn)
[r1 ~ r5] ROW1 ~ Row5 Define Character
(5x7 dot layout ) Refer in below
K = (m-n+1) Total of Create Character.
ESC ? n
1B 3F n
Delete User-Define Character
n = character code (20h
≤
n
≤
FFh)
ESC s SOH
1B 73 01
Store User-Define Character in EEPROM
ESC d SOH
1B 64 01
Load User-Define Character from EEPROM
Note:
1. Select international character set (20H~7Fh) by command “ESC R
n
”
n
International character set
n
International character set
n
International character set
00h
U.S.A.
05h
SWEDEN
0Ah
DENMARK II
01h
FRANCE
06h
ITALY
0Bh
SLAVONIC
02h
GERMANY
07h
SPAIN
0Ch
RUSSIA
03h
U.K.
08h
JAPAN
04h
DENMARK I
09h
NORWAY
1Fh
User-Define
2. Select character code table (80H~FFh) by command “ESC t
n
”
n
Character code table
n
Character code table
n
Character code table
00h
CP-437
(USA, Standard Europe)
07h
Russia
0Fh
Windows-1257 (Baltic)
01h
Katakana (for Japan)
08h
Greek
10h
Windows-1252
(West European Latin)
02h
CP-850 (Multilingual)
09h
CP-852 (Hungary)
11h
Windows-1253 (Greek)
03h
CP-860 (Portuguese)
0Ah
CP-862 (Hebrew)
12h
Windows-1250
(East European Latin)
04h
CP-863 (Canadian-French)
0Bh
CP-866 (Cyrillic)
13h
CP-858 (Multi Euro
Symbol)
05h
CP-865 (Nordic)
0Ch
Windows-1251 (Cyrillic)
06h
Slawie
0Eh
Windows-1255 (Hebrew)
1Fh
User-Define