ITEM SYMBOL
Hexadecimal Decimal
FUNCTION
[20]
ESC $ n1 n2
[1B,24,n1,n2] H
Sets absolute dot position. The dot spacing is 1/60"
[27,36,n1,n2] D
and its position is n1+n2
x
256 dots from the left
margin.
[21]
ESC % n
[1B,25,n] H [27,37,n] D
Sets resident characters or download characters.
n=0 : the resident character set is set.
n=1 : the download character set is set.
[22]
ESC & NUL n
[1B,26,00,n,m,a0,a1,a2,data] H
Defines download character(s).
m a0 a1 a2 data
[27,38,0,n,m,a0,a1,a2,data] D
n:
first code of download character (00-127)
m:
last code of download character (00-127)
a0:
front space (00-255)
a1:
body length
(draft: 00-15, LQ/proportional: 00-37)
a2:
rear space (00-127)
Note: Total character spacing is limited as;
0 < a0+a1 (+a2) < 42 for LQ/proportional, and
0 < a0+a1 (+a2) < 18 for draft.
Note: Super/subscript downloading character needs
two bytes in each vertical dot column (height).
[23]
ESC ( - n1 n2
[1B,28,2D,n1,n2,m,d1,d2] H
Sets various line modes.
m d1 d2
[27,40,45,n1,n2,m,d1,d2] D
n1=3, n2=0, and m=1
d1=01h:
Underline is set.
d1=02h:
Strike-through is set.
d1=03h:
Overscore is set.
d2=00h:
Line mode is cancelled.
d2=01h:
Single line is set.
d2=02h:
Double line is set.
d2=05h:
Single broken line is set.
d2=06h:
Double broken line is set.
[24]
ESC ( ^ n1 n2
[1B,28,5E,n1,n2,data] H
Prints character from all character set table.
data
[27,40,94,n1,n2,data] D
The number of character following n2 to be printed is
defined by n1+n2
x
256.
This command is valid only when the character table
is set to CODE PAGE in the extended setup options.
[25]
ESC (t
[27,40,116,n1 n2 d1 d2 d3] D
Specifies a character set.
n1n2 d1 d2 d3
[1B,28,74,n1 n2 d1 d2 d3] H
d1:Displys ESC tn command table No.
d2, d3:Specifies the character set.
d2=0,d3=0 : ITALIC
d2=1,d3=0 : PC-437
d2=3,d3=0 : PC-850
d2=7,d3=0 : PC-860
PIN 1
PIN 8
PIN 9
PIN 16
PIN 17
PIN 24
3 bytes
Front Space
(0-255)
Rear Space
(0-127)
Body
(0-15, 0-37)
MSB
LSB
110
B. Control code summary (Epson)