A SERVICE OF

logo

Table 7-l
Horizontal tab commands
Function
Mode Control code
Advance to next tab position STAR CHR$(9)
IBM
CHRU9)
L I
\ I
STAR
< ESC > “D" CHR$(nl)
CHR!$(n2)...CHR$(O)
: ESC > “D" CHR$(nZ)
t-r
IBM .z
CHR$(n2)...CHR$(O)
Set tabs at nl, n2, etc.
One-time tab of n spaces
STAR <ESC> “b” CHR!$(n)
IBM <ESC > “b” CHR$(n)
Note: If your computer does not support lowercase characters, use
CHR$(98) for “b.”
SETTING LEFT AND RIGHT MARGINS
SR-10/15’s left and right margins work just like a
typewriter-once they are set all the printing is done between them.
The commands to set the margins are given in the following table:
Table 7-2
Left and right margin commands
Function
Set left margin at column II
Mode Control code
STAR
< ESC > “M”CHR$(n)
IBM
< ESC > “1” CHR$(n)
Set right margin at column n
STAR
< ESC > “Q” CHR$(n)
IBM < ESC > “Q” CHR$(n)
Try setting SR-10/15’s margins with this program for STAR
mode:
10 'Demo margins.
241 GOSUB 70
30 LPRINT CHR$( 27) "M" CHR$( 18) ; 'Left margin = 10.
40 LPRINT CHR$(27) "Q" CHR$(7@) ; 'Right margin = 70.
50 GOSUB 70
60 END
70 FOR I = 1 TO 80
80 LPRINT "X" ;
90 NEXT I
109, LPRINT
110 RETURN
63