73
IBM Command ASCII Hexadecimal Decimal
Horizontal Control (continued)
Set print position ESC DLE @ n 1B 10 40 n 27 16 64 n
n = 0 to 255: # of bytes A
1
A
2
P
1
P
2
P
3
P
4
A
1
A
2
P
1
P
2
P
3
P
4
A
1
A
2
P
1
P
2
P
3
P
4
to follow
A1 = 0 to 255: even,
print position absolute
from left edge; odd,
print position relative
to current position
A2 = 0 to 255: even,
toward right margin
(forward); odd, toward
left margin (reverse)
P
1
P
2
P
3
P
4
= 0000 to
9999 ASCII
Horizontal Tab, Execute HT 09 9
Horizontal Tabs, Define ESC D x
1
x
2
x
3
...x
k
1B 44 x
1
x
2
x
3
...x
k
27 68 x
1
x
2
x
3
...x
k
stops by characters NUL 00 0
k = 1 to 28 tab stops
x = 1 to 255
Pitch Dots
10 cpi 136
12 cpi 164
15 cpi 204
17.1 cpi 234
20 cpi 255
Print Style / Print Size Control
Proportional Printing
On ESC P 1 1B 50 31 27 80 49
Off ESC P 0 1B 50 30 27 80 48