Compuprint MDP40B Programmer Manual User Manual

Page 23

Advertising
background image

A-21

This command moves the horizontal print position left or right from the current
position as specified by the following formula:

Horizontal position = (n

2

x 256) + n

1

) x (defined unit) + (current position)

For positive (right) movement:

Where n

2

is equal to:

1

[(horizontal position) – (current position)]

x

(

defined unit

)

INIT

256

Where n

1

is equal to:

1

[(horizontal position) – (current position)]

x

(

defined unit

)

MOD

256

For negative (left) movement:

Where n

2

is equal to:

1

[(current position) – (horizontal position)]

x

(

defined unit

)

32768-INIT

256

Advertising