Esc l, Esc y – Compuprint 4247-L03 Programmer Manua User Manual

Page 57

Advertising
background image

ESC L

Double density dot graphics printing (120 dpi) (IBM/EPSON).

ASCII Code

ESC L n

1

n

2

p

1

p

2

... p

x

Hexadecimal Value

X'1B' X'4C' n

1

n

2

p

1

p

2

... p

x

Decimal Value

27 76 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 dpi by 180 vertical dpi.

The parameter values should be calculated as follows:

n

1

Remainder of the number of columns 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 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

X'1B' X'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 dpi by 180 vertical dpi.

The parameter values should be calculated as follows:

n

1

Remainder of the number of columns 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.

Chapter 2. EPSON/IBM Mode

41

Advertising