Tally Genicom Matrix Printer User Manual

Page 166

Advertising
background image

Example

10 REM Download Character Definition
20 LPRINT CHR$(27);"x";CHR$(0);:REM select draft print quality
30 LPRINT CHR$(27);"&";CHR$(0);"@@";CHR$(139);
40 LPRINT CHR$(56);CHR$(68);CHR$(146);CHR$(40);
50 LPRINT CHR$(130);CHR$(40);CHR$(130);CHR$(68);
60 LPRINT CHR$(56);CHR$(0);CHR$(0);
70 LPRINT CHR$(27);"%";CHR$(1);CHR$(0);
80 LPRINT "@ @ @ @ @ @ @ @ @ @"
90 END

Attribute “A” (9 needle printer)

Attribute “A” consists of descender data and proportional data. The descender data deter-
mines whether or not the ninth needle will be used, and the proportional data determines
the starting and ending positions of the character in the print area.

Descenders (9 needle printer)

Some characters, like “g” or “y”, extend below the
line. To define a character that extends below the
line, the ninth needle, which corresponds to row 0
of the matrix field, must be used. Characters which
use row 0 cannot use the top needle or row 8 of
the matrix field.

Bit 8 of the attribute determines whether the matrix-
field is shifted down one row or not.

Normal matrix field (row 1 up to row 8) is used by
setting bit 8 to 1.

Descender matrix field (row 0 up to row 7) is used
by setting bit 8 to 0 (See “Computing the Attribute”).

R
O

W

S

1 2 3 4 5 6 7 8 9 10 11 12

8

7

6

5

4

3

2

1

0

COLUMNS

normal

descender

Download Character Generator

83

Advertising