54
print head to the left margin, ready to start a new line.
Now to add a little
If you find that your printer double spaces when it should single space, then you probably need to turn DIP switch
Table
Line feed commands
Function | Control code |
Return print head to left margin CHR$(lS) | |
Advance paper one line | CHR$(lO) |
nChanging the line spacing
When you turn your printer on the line spacing is set to 6 lines per inch (or 8 lines per inch if DIP switch
Try this program to see how easy it is to change the line spac- ing:
10 ’ Demo of line spacing
20 FOR I=1 TO 20
30 IF I=13 THEN 60
40LPRINT CHR$ (27) ; “A” ; CHRS( I ) ; CHR$ (27) ; “2” ;
50LPRINT “THIS LINE SPACING IS SET TO”;1
60NEXT I
70LPRINT “THIS LINE SPACING IS SET TO l/6 INCH.”
80 LPRINT CHR$(27) ; “A”;CHR$( 10) ;CHR$(27) ; “2”;
90END