beautypg.com

Esc y, Esc z – Compuprint 9058 Programmer Manual User Manual

Page 57

background image

EPSON/IBM Mode

A78408098-003

55

ESC Y

Double density dot graphics printing at double-speed
graphics (120 virtual dpi). (IBM, EPSON)

ASCII Code

ESC Y n

1

n

2

p

1

p

2

... p

x

Hexadecimal Value

1B 59 n

1

n

2

p

1

p

2

... p

x

Decimal Value

27 89 n

1

n

2

p

1

p

2

... p

x

Range

0 < n

1

< 255

0 < n

2

< 31

0 < p < 255

Terminator code. This command prints dot graphics at 120 horizontal
dot per inch by 60 vertical dpi. The parameter values should be
calculated as follows:

n

1

Remainder of the number of column divided by 256.

n

2

Integer result of the previous division.

p

1

Sum of the values corresponding to the dots that should be
printed in the first column of the graphics pattern.

p

2

Sum of the values corresponding to the dots that should be
printed in the second column of the graphics pattern.

p

x

Sum of the values corresponding to the dots that should be
printed in the last column of the graphics pattern.

ESC Z

Quadruple density dot graphics printing (240 virtual dpi).
(IBM, EPSON)

ASCII Code

ESC Z n

1

n

2

p

1

p

2

... p

x

Hexadecimal Value

1B 5A n

1

n

2

p

1

p

2

... p

x

Decimal Value

27 90 n

1

n

2

p

1

p

2

... p

x

Range

0 < n

1

< 255

0 < n

2

< 31

0 < p < 255

This manual is related to the following products: