87
10 ’ Demo of
20 LPRINT CHR$(27) ; “1” ;
30 FOR I=1 TO 10 II, II
40 LPRINT ,
50 NEXT I
60 LPRINT :LPRINT
70 LPRINT CHR$(27) ; “Ul”;
80 FOR I=1 TO 10 ,I I II
90 LPRINT ,
100 NEXT I
110 LPRINT CHR$(12) ;CHR$(27) ;“Q”
Here is what you will get. The top line is printed
Let’s analyze the program. Line 20 sets the line spacing to 7/72 of an inch so that the,characters that we print will touch top to bottom. Lines 30 N 50 print 10 vertical line characters.
Then line 70 sets
You can also set the printer to print in one direction for
one line only by using the < ESC > “ < ” command. | This |