Esc c, Where n, Is equal to – Compuprint MDP40B Programmer Manual User Manual

Page 54

Advertising
background image

A-52

ESC c

Sets horizontal motion index (HMI).
(IBM Proprinter XL24/XL24E, 2391+, 4722, 9068, EPSON ESC/P2)

ASCII Code

ESC c n

1

n

2

Hexadecimal Value 1B 63 n

1

n

2

Decimal Value

27 99 n

1

n

2

Range 0

< n

2

< 4

0 < n

1

< 255

0 < ((n

2

x 256) + n

1

)) < 1080

HMI < 3.00

inches

This command fixes the character width (HMI) according to the following formula:

Where HMI is equal to:

[(n

2

x

256

) + n

1

]

360

inch

Where n

2

is equal to:

HMI

x

360

INT

256

Where n

1

is equal to:

HMI

x

360

MOD

256

Advertising