When
address
16427
contains a value
of
255,
the maximum line length feature is
disabled. No matterhow long the line is, the Computerwill not insert carriage
returns in it. Remember, though, some printers automatically do this when the line
exceeds a specified length.
When
you start
BASIC,
address
16427
contains a value Of255, so the maximum line
length function is disabled.
Page Controls
In many printerapplications, you want to control the number
of
lines that are
printed
on
a page.
For
example, in printing forms
or
reports, when a given number
of
lines have been printed, you want to advance the paperto the top
of
the next
page.
Model III
BASIC
has several features to help you do this.
It
keeps track
of
the
following information:
Data
Page size: number
oflines
per
page plus one. Initialized
to
67
=
66
+
1.
Line count:
number
of
lines
(carriage returns) already
printedplus one.
Initializedto one.
Memory Address
16424
16425
Mostprinters outputsix lines perinch; therefore standard
11"
paper allows
66
lines,
which matches BASIC's initialization value.
To
change the maximum lines/page setting, store the desired number
of
lines plus
one in
16424.
For
example,
if
yourpapercontains
88
lines perpage, then execute this
BASIC
statement:
POKE 16424, 89
When
you start the Computer, position the paperto the top
of
the page
("
top
of
form'
'). That way BASIC's initial page information is correct. Each time
BASIC
outputs a line
(Le.,
a carriage return), the line count is incremented.
Note:
If
yourprinter's maximumline-length is shorter than BASIC's maximum line
length, the printer will insertcarriage returns that
BASIC
isn't
allowing for.
Therefore BASIC's line count will not be accurate.
7/3