Esc ( v, X 256)+ d, X (defined unit) + (top-margin position) where d – Compuprint MDP40B Programmer Manual User Manual

Page 19: Is equal to, Where d

Advertising
background image

A-17

ESC ( V

Sets absolute vertical print position. (EPSON ESC/P2)

ASCII Code

ESC ( V n

1

n

2

d

1

d

2

Hexadecimal Value

1B 28 56 n

1

n

2

d

1

d

2

Decimal Value

27 40 86 n

1

n

2

d

1

d

2

Range

n

1

= 2

n

2

= 0

0 < d

1

< 255

0 < d

2

< 127

This command moves the vertical print position to the position specified by the
following formula:

Vertical position = (d

2

x 256)+d

1

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

Where d

2

is equal to:

1

[(vertical position) – (top margin position)]

x

(

defined unit

)

INIT

256

Where d

1

is equal to:

1

[(vertical position) – (top margin position)]

x

(

defined unit

)

MOD

256

Advertising