44 | Delta User’s Manual |
when to end one line and start another.
There are two codes that are used to end one line and start another. They are carriage return (CHR$(13)) and line feed (CHR$(lO)). The codes are simple, but their action is a little confus- ing (especially with BASIC). Carriage return is the easiest. Each time that the printer receives a CHR$(13) it returns the print head to the left margin. It does not advance the paper (if DIP switch
Line feed is more complicated. Each time the printer receives a CHR$(lO) it both advances the paper one line and returns the print head to the left margin, ready to start a new line.
Now to add a little
BASIC add a line feed (CHR$(lO)) to every carriage return - (CHR$(13)) that they send. If your version of BASIC doesn’t do this, then you should turn DIP switch
If you find that your printer double spaces when it should single space, then you probably need to turn DIP switch
Changing Line Spacing
When you turn Delta 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 spat-
ing:
NEW
$2 FOR I = 1 TO 25
29 IF I = 13 THEN 51a
38 LPRINTCHR$(27)"A" CHR$(I);
4g LPRINT "DELTAHAS VARIABLELINE SPACING"
5p NEXT
6plLPRINTCHR$(27)"2"
_
_
-
-
-