94
80 IF I=24 THEN 110
90 IF I=27 THEN 110
100 LPRINT CHR$(I);
110 NEXT I
120 LPRINT
130 FOR I=128 TO 134
140 LPRINT. CHR$(I);
150 NEXT I
160 LPRINT CHR$(144);CHR$(145);
170 FOR*I=149 TO 159
180 IF I=152 T'HEN 210
190 IF I=155 THEN 210
200 LPRINT CHR$(I);
210 NEXT I
220 LPRINT CHR$(27);"10"
230 END
When you run this program you should get like this:
Now, we’ll show you the characters in the control code area
in the IBM-P mode.
Turn the DIP switch 2-2 off, 2-3 on, and 2-4 on. Then turn
on the printer and run the following program:
10 Demo of characters in IBM-P mode
20 LPRINT CHR$(27);"\";CHR$(32);CHR$(O);
30 FOR I=0 TO 31
40 LPRINT CHR$(I);
50 NEXT I
60 LPRINT
70 END
In this program line 20 determines that the following 32
characters should be printed as printable characters. So, the
characters in the control code area are printed as shown below.
-
.-
-