Esc k, Reassigns dot graphics mode. (epson) – Compuprint 4247-L03 Programmer Manua User Manual

Page 56

Advertising
background image

m

DPI

# DOTS

DENSITY NAME

32

60

24

Normal density

33

120

24

Double density

38

90

24

CRT Graphic III

39

180

24

Triple-density

40

360 (virtual)

24

Hex-density

ESC ?

Reassigns dot graphics mode. (EPSON)

ASCII Code

ESC ? n m

Hexadecimal Value

X'1B' X'3F' n m

Decimal Value

27 63 n m

Reassigns one of the dot graphics mode (described in the command ESC *) to one of the following
commands: ESC K, ESC L, ESC Y and ESC Z. The n parameter specifies a character (K, L, Y, or Z)
which is reassigned to specific mode m = 0,1,2,3.

m

n

m

n

0

(K): ESC K graphic command

2

(Y): ESC Y graphic command

1

(L): ESC L graphic command

3

(Z): ESC Z graphic command

ESC K

Normal density dot graphics printing (60 dpi) (IBM/EPSON).

ASCII Code

ESC K n

1

n

2

p

1

p

2

... p

x

Hexadecimal Value

X'1B' X'4B' n

1

n

2

p

1

p

2

... p

x

Decimal Value

27 75 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 60 horizontal dots per inch (dpi) by 180 vertical dpi.

The parameter values are 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.

40

Programmer Manual

Advertising