Tally Genicom Matrix Printer User Manual

Page 303

Advertising
background image

Relationship between graphics data and needles:

Needle

Data byte

1

Bit 7

2

Bit 6

3

Bit 5

4

Bit 4

5

Bit 3

6

Bit 2

7

Bit 1

8

Bit 0

Example 1

10 REM bit image print
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27);"%3";CHR$(80);CHR$(0);
40 GOSUB 100:LPRINT " 60 dpi"
50 LPRINT CHR$(27);"%4";CHR$(80);CHR$(0);
60 GOSUB 100:LPRINT " 120 dpi"
70 LPRINT CHR$(27);"%7";CHR$(80);CHR$(0);
80 GOSUB 100:LPRINT " 240 dpi"
90 END
100 FOR N=1 TO 80
110 LPRINT CHR$(255);
120 NEXT N
130 RETURN

Graphics

67

Advertising