Table 8-2 Line Spacing Commands - Star Micronics Radix User Manual

Table of Contents

Advertisement

80
Radix User's Manual
Table 8-2
Line spacing commands
Function
1 Control code
Set line spacing to n/72 inch
1 (ESC) "A" CHR$(n)
Set line spacing to n/144 inch
Set line spacing to l/S inch
Set line spacing to 7172 inch
(ESC) "3" CHR$(n)
(ESC) "0"
(ESC) "1"
3
Set line spacing to
l/S
inch
(ESC) "2"
One-time line feed of n/144 inch
(ESC) "J" CHR$(n)
One-time reverse line feed of n/144 inch
(ESC) "j" CHR$(n)
Advance paper n lines
(ESC) "a" CHR$(n)
Note:
If vour commuter does not support lowercase characters, use
CHR$(lOG)
and CHI?$(97) for-"j" and "a," reqkktively.
5@ LPRINT CHR$(27) "J" CHR$(la@) ;
6pl LPRINT "Line number 3."
7@ LPRINT "Line number 4."
-
-.
-
-
Here is what Radix will produce:
Line number
1.
Line number
2.
._
-
-
Line number
3.
Line
number
4.
-
The (ESC) "J" CHR$(lOO) in line 50 changes the line spacing
to 1001144 for one line only. The rest of the lines are printed with
the normal line spacing. Notice that both line 30 and line 50 end
with semicolons. This prevents the normal line feed from occur-
ring.
The (ESC)
"j" CHR$(n) command works the same way
except that the paper moves in the opposite direction. Try this
simple change to your program and see what a difference it
makes!
--.
4pl 'One time reverse line feed 1!@/144 inch.
5pI LPRINT CHR$(27) l'j" CHR$(lpIB) ;
-
-

Advertisement

Table of Contents
loading

Table of Contents