Tally Genicom Matrix Printer User Manual

Page 160

Advertising
background image

Description of parameters:

c = 0

Normal mode (not compressed)

c = 1

Data Length Encoding (DLE, compressed)

v

Vertical resolution in dpi: 360, 180 dpi

h

Horizontal resolution in dpi: 360, 180 dpi

m

Vertical dot count (rows of dot graphics)

n

L

, n

H

Horizontal dot count (columns of dot graphics)

Calculating algorithm:

n

H

= INT

(horizontal dot count)

256

n

L

= MOD

(horizontal dot count)

256

x

Total number of data bytes

x = m x INT

(n

H

x 256

) + n

L

+ 7

8

d

During normal mode (c=0)

Graphics data
d

1

... d

x

d

During DLE (c=1)

The first data byte is treated as a counter. Graphics data bytes then alternate
with a data counter byte:

0

≤ (counter byte) ≤ 127

Download Character Generator

77

Advertising