Esc ( v – Tally Genicom Matrix Printer User Manual

Page 143

Advertising
background image

Set Relative Vertical Print Position

ESC ( v

Data Structure

ASCII

ESC "("

"v"

<n

L

> <n

H

> <m

L

> <m

H

>

set relative vertical print pos.

hex.

1B

28

76

<n

L

> <n

H

> <m

L

> <m

H

>

dec.

27

40

118 <n

L

> <n

H

> <m

L

> <m

H

>

Description

Valid values:

n

L

= 2, n

H

= 0

0

≤ m

L

≤ 255; 0 ≤ m

H

≤ 127

Defines the vertical print position relatively up and down in units previously defined with
the sequence ESC ( U (see page 62).

(horizontal position) = ((m

H

x 256) + m

L

) x (defined unit) + (current position)

Downwards:

m

H

= INT




((vertical position) − (current position)) x

1

(defined unit)

256




m

L

= MOD




((vertical position) − (current position)) x

1

(defined unit)

256




Upwards:

m

H

= 32768 – INT




((current position) − (vertical position)) x

1

(defined unit)

256




m

L

= 32768 – MOD




((current position) − (vertical position)) x

1

(defined unit)

256




60

Print

Positioning

Advertising