beautypg.com

Esc ( v – Tally Genicom Matrix Printer User Manual

Page 142

background image

Set Absolute Vertical Print Position

ESC ( V

Data Structure

ASCII

ESC "("

"V"

L

>

H

>

L

>

H

>

set absolute vertical print pos.

hex.

1B

28

56

L

>

H

>

L

>

H

>

dec.

27

40

86

L

>

H

>

L

>

H

>

Description

Valid values:

n

L

= 2, n

H

= 0

0

≤ m

L

≤ 255; 0 ≤ m

H

≤ 127

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

(vertical position) = ((m

H

x 256) + m

L

) x (defined unit) + (top-margin position)

m

H

= INT




((vertical position) − (top−margin position)) x

1

(defined unit)

256




m

L

= MOD




((vertical position) − (top−margin position)) x

1

(defined unit)

256




The default unit for this sequence is

1

360

".

Only positions within a valid form can be achieved.
Positions below bottom margin will
a) eject paper (single sheet) and
b) set new position to top of form at next page.

Print Positioning

59