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

A1 A2 P1 P2 P3 P4

A1 A2 P1 P2 P3 P4

A1 A2 P1 P2 P3 P4

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)

 

 

 

P1P2P3P4 = 0000 to

 

 

 

9999 ASCII

 

 

 

 

 

 

 

Horizontal Tab, Execute

HT

09

9

 

 

 

 

Horizontal Tabs, Define

ESC D x1 x2 x3...xk

1B 44 x1 x2 x3...xk

27 68 x1 x2 x3...xk

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

 

 

 

 

 

73

Page 73
Image 73
Oki 4410 Set print position, Horizontal Tab, Execute Horizontal Tabs, Define, Stops by characters, Proportional Printing