Star Micronics Radix User Manual page 95

Table of Contents

Advertisement

Line Suacinrr
and Forms Control
81
I...ine
number
3.
Line
number
4.
Line
number
1 a
l..ine
number
2.
The value of n in all four commands (( ESC > "A", ( ESC) "3",
(ESC) "J", and (ESC) "j") can range from 0 to 255. A value of 0
means that there is no line spacing. This allows you to print multi-
ple lines in the same position on the page. This is useful when you
want to overprint graphics and text.
Moving down the page without a carriage return
So far, all the commands that move the paper also move the
print head to the left margin. And normally this is what you want.
Sometimes, though, you may wish to move down the page with-
out moving the printhead back to the left margin. The (ESC > "a"
CHR$(n) command does just that. This command advances the
paper n lines [using whatever the current line spacing is) without
moving the printhead. Change lines 40 and 50 of your program so
that they are like this:
4pr 'Advance paper 3 lines.
5p
LPRINT CHR$( 27)
"a"
CHR$( 3) ;
Now when you run the program the results will look like this:
Line
number
1.
Line
number-
2.
L
Line
rtumber
4,
ine
number
3.
The new line 50 moves the paper up 3 lines, but the printhead
doesn't move. Therefore, line 60 prints its message starting in the
column that the printhead was left in at the end of line 30.

Advertisement

Table of Contents
loading

Table of Contents