Printronix P7000 参照マニュアル
Bit Image Graphics
123
Data that goes past the right margin is discarded if automatic line feed is
disabled. If automatic line feed is enabled, data that goes past the right
margin triggers an automatic line feed (LF) and is printed on the next line.
disabled. If automatic line feed is enabled, data that goes past the right
margin triggers an automatic line feed (LF) and is printed on the next line.
Bit Image Sample Program
The program below, written in BASIC, produces the single density bit image
pattern shown in Figure 13. The 7-byte pattern is repeated 40 times.
pattern shown in Figure 13. The 7-byte pattern is repeated 40 times.
10 WIDTH "LPT1:", 255
20 LPRINT "Single Density Bit Image Graphics"
30 LPRINT CHR$(27);"K";CHR$(24);CHR$(1);
40 FOR N=1 TO 40
50 RESTORE
60 FOR I=1 TO 7
70 READ R
80 LPRINT CHR$(R);
90 NEXT I
100 NEXT N
110 DATA 73, 146, 36, 255, 36, 146, 73
120 LPRINT
20 LPRINT "Single Density Bit Image Graphics"
30 LPRINT CHR$(27);"K";CHR$(24);CHR$(1);
40 FOR N=1 TO 40
50 RESTORE
60 FOR I=1 TO 7
70 READ R
80 LPRINT CHR$(R);
90 NEXT I
100 NEXT N
110 DATA 73, 146, 36, 255, 36, 146, 73
120 LPRINT
Figure 13. Sample Single-Density Bit Image Graphics