Name

Dec

Hex

Description

 

 

 

 

 

ESC DLE @

27 16 64 pN

1B 10 40 pN

Set Multiple Print Positions

 

a1 a2 p1 p2

a1 a2 p1 p2

Moves the print position to the right or left, as an

 

p3 p4

p3 p4

absolute or relative print position.

 

 

 

pN=0 to 127

 

 

 

 

 

a1=0 (absolute print position)

 

 

 

a1=1 (relative print position)

 

 

 

a2=0 (move to the left (backward))

 

 

 

a2=1 (move to the right (forward))

 

 

 

The character pitch determines the distance

 

 

 

represented by the tab (distance from the center of

 

 

 

one dot to the center of the next dot).

 

 

 

Pitch

Shift Increment

 

 

 

10 cpi

 

1/120

 

 

 

12 cpi

 

1/144

 

 

 

15 cpi

 

1/360

 

 

 

17.1 cpi

 

1/411

 

 

 

20 cpi

 

1/480

 

 

 

The values for p1, p2, p3 and p4 must be entered as

 

 

 

four-digit ASCII numbers (use leading zeros if

 

 

 

necessary), separated by commas, and in

 

 

 

ascending order.

 

 

 

 

To calculate the value, multiply the position for

 

 

 

which you want to set a tab by the pitch increment

 

 

 

of shift, and then subtract one from the product.

 

 

 

For example, to set a tab for 2" from the left margin

 

 

 

using 12 cpi pitch, multiply 2 by 144, and then

 

 

 

subtract 1. The value would be 0287.

 

 

 

Maximum values are as follows:

 

 

 

Pitch

2480

2481

 

 

 

10 cpi

959

1631

 

 

 

12 cpi

1151

1956

 

 

 

15 cpi

1339

2447

 

 

 

17.1 cpi

1643

2795

 

 

 

20 cpi

1917

3261

 

 

 

 

 

ESC % F

27 37 70 n1

1B 25 46 n1

Move to the Left

 

 

n2 n3 n4

n2 n3 n4

See the command ESC ETX ... CR on page 86 for

 

 

 

instructions on calculating the value for n1...n4.

 

 

 

(Use the same pitch increment of shift values as the

 

 

 

ESC ETX ... CR command.)

 

 

 

 

 

ESC % E

27 37 69 n1

1B 25 45 n1

Move to the Right

 

 

n2 n3 n4

n2 n3 n4

See the command ESC ETX ... CR on page 86 for

 

 

 

instructions on calculating the value for n1...n4.

 

 

 

(Use the same pitch increment of shift values as the

 

 

 

ESC ETX ... CR command.)

 

 

 

 

ESC -

27 45

1B 2D

Begin Uni-directional Printing

 

 

 

 

ESC =

27 61

1B 3D

End Uni-directional Printing

 

 

 

 

 

 

Section 5: OKI Microline Emulation Mode Printer Commands

87

 

Page 87
Image 87
Lexmark 248X, 249X manual Set Multiple Print Positions, Move to the Left, Move to the Right, Begin Uni-directional Printing