Oki 390 User Manual

Page 87

Advertising
background image

80

Appendix C: Priner Commands

Absoulte Horizontal
Position

Relative Horizontal
Position

Set Print Position

ASCII: ESC $ n

1

n

2

Dec: 27 36 n

1

n

2

Hex: 1B 24 n

1

n

2

ASCII: ESC \ n

1

n

2

Dec: 27 92 n

1

n

2

Hex: 1B 5C n

1

n

2

ASCII: ESC DLE @ P

n

A

1

A

2

P

1

P

2

P

3

P

4

Dec: 27 16 64 [data]
Hex: 1B 10 40 [data]

Epson
Function

Commands
(ASCII, Decimal, Hexadecimal)

Move to new horizontal position.
Amount of movement from left margin
is calculated as follows:

[n

1

+ (n

2

x 256)] x (basic unit in inches),

where the basic unit is set by ESC (U, set
unit command. The default of the basic
unit is 1/60 inch.
n

1

=0 to 255

n

2

=0 to 255

n

1

=n

2

=0: left margin

Max. value: for 1/60 inch basic unit,
n

1

=48 n

2

=3(13.6" shift)

Space moved using this command will
not be underlined. DEL command will
not delete the skipped amount.

Move to new horizontal position, rela-
tive to present position. Amount of
movement is calculated as follows:

±

(n

1

+ [n

2

x256] x (basic unit in inches),

where the basic unit is set by ESC (U, set
unit command. The default of the basic
unit with LQ is 1/180 inch, and with
UTL it is 1/120 inch.

n

1

=0 to 255

n

2

=0 to 255

n

1

=n

2

=0: no movement

+ moves to right; - moves to left

OKI unique command. Sets next hori-
zontal position of printhead.
Pn= number of parameter bytes to fol-
low, range 0 to 255

A

1

= specifies whether motion is abso-

lute or relative: even-absolute from
left margin; odd=relative from present
position
A

2

= specifies direction of relative

movement: even= toward right margin
(forward); odd= toward left margin (re-
verse)
0

P

1

, P

2

, P

3

, P

4

9 representing

number of units to move (size of unit
depends on character pitch)

Notes

Advertising
This manual is related to the following products:

391