Bit-image, Sets dot graphics printing. (ibm xl24 agm, epson), Bit-image esc – Compuprint 4247-L03 Programmer Manua User Manual

Page 55

Advertising
background image

Bit 5 to 9

Compression mask description. It is used to optimize the memory
occupation and it is based on the concept that a dot column on its left is
not stored. You can calculate the compression mask of a character only
after designing the entire character. Every bit is associated with a dot
column with bit 7 of byte 5 associated with the leftmost column. The bit is
set to {1} if the column is equal to the preceding one; otherwise it is set to
{0}. If the character is longer than 39 dot columns, the remaining dot
columns must be stored without compression. Bit 40 (bit 0 of byte 9) must
be 0. If no compression is present in the character, byte 5 to 9 is
composed of all zeros.

If you wish to copy an entry over another entry so that two characters with the same characteristics and
different code are present in the same look-up table, the DLL sequence ESC = n m id p t has the following
meaning:

n and m:

Indicates the byte number of the sequence n is the low part and m is the high part.

id:

Indicates the printer model. The id related to your printer is 23H.

p and t:

Indicates the memory address of the character that you wish to replace. p is the low part
and t is the high part.

data:

Is the entry 9 bytes of the character that you want to position at address specified by p
and t.

Bit-Image

ESC *

Sets dot graphics printing. (IBM XL24 AGM, EPSON)

ASCII Code

ESC * m n

1

n

2

p

1

p

2

... p

x

Hexadecimal Value

X'1B' X'2A' m n

1

n

2

p

1

p

2

... p

x

Decimal Value

27 42 m n

1

n

2

p

1

p

2

... p

x

Range

0 ≤ n

1

, n

2

255

0 ≤ p

x

255

Selects 8-dot graphic or 24-dot graphic modes according to the table below. The m parameter
determinates the horizontal density as well as the number of wires to be fired.

For 8-dot images, the total number of data bytes (p) to be sent is determined by the following formula: n

1

+

n

2

x 256.

m

DPI

# DOTS

DENSITY NAME

Other ESC

0

60

8

Normal density

ESC K

1

120

8

Dual density

ESC L

2

120 (virtual)

8

Double speed, Dual density

ESC Y

3

240 (virtual)

8

Quadruple-density

ESC Z

4

80

8

CTR Graphic I

6

90

8

CTR Graphic II

For 24-dot images, the total number of data bytes (px) to be sent is determined by the following formula:
3.x.(n1 + n2 x 256).

Chapter 2. EPSON/IBM Mode

39

Advertising