Control Codes: Epson/IBM Model
Control CodesEpson/IBM Model
Epson Function ASCII Decimal Hexadecimal Notes
Horizontal
Control
Carriage Return CR 13 0D
Set Horizontal
Tabs
ESC D n n ... n
NUL
27 68 n n ... n 0 1B 44 n n ... n 00 n=position of tab
stop~ max one
less than # of
characters per line
k=1 to 32; k=0:
clear tabs Default:
every 8 columns
Horizontal Tab HT 9 09 Move to next tab
stop
Absolute
Horizontal Position
ESC $ n n 27 36 n n 1B 24 n n Move to position =
(n+(n256)) /60
inches from left
margin. n, n=0 to
255 Max. value:
n=48 n=3
Relative Horizontal
position
ESC 1n n 27 92 n n 1B 5C n n Move to position =
(n+(n256)) /120
inches from
printing position. n,
n=0 to 255 moves
to right and
moves to left and
prints.
Set Print Position ESC DLE @ P A A
P P P P
27 16 64 [data] 1B 10 40 [data] Sets horizontal
position of
printhead.
P=number of
parameter bytes to
follow A=motion
absolute (even) or
relative (odd)
A=relative
movement right
(even) or left (odd)
0P, P, P, P9
PPPP=number of
units to move (size
of unit depends on
character pitch)
ML3410 ( 96-02-07 )