beautypg.com

Compuprint 9058 Programmer Manual User Manual

Page 11

background image

EPSON/IBM Mode

A78408098-003

9

If the selected position is outside the current right margin, the
sequence will be ignored.

ESC [ \

Sets vertical units. (IBM)

ASCII Code

ESC [ \ m

1

m

2

t

1

… t

4

Hexadecimal Value

1B 5B 5C m

1

m

2

t

1

… t

4

Decimal Value

27 91 92 m

1

m

2

t

1

… t

4

Range

m

1

= 4

m

2

= 0

0 < t

1

< 255

0 < t

2

< 255

t

3

= 0

t

4

= 180 or 216

This command changes the base units for the graphics line spacing
commands (ESC J, ESC 3). The default value is 1/216 or 1/180 inch.

ESC \

Sets the relative horizontal print position. (EPSON)

ASCII Code

ESC \ n

1

n

2

Hexadecimal Value

1B 5C n

1

n

2

Decimal Value

27 92 n

1

n

2

Range

0 < n

1

< 255

0 < n

2

< 127

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

This manual is related to the following products: