254 User's
Handbook
to
the
Atari 400/ 800
Computers
to
the
printer.
One
or
two
optional
line
numbers
may also be
used
as
parameters
to
output
only
a
portion
of
the
program.
When
a
program
is
listed
to
the Atari
820
or
822,
the
individual
lines
will
have a
maximum
width
of
40
columns.
Program lines
greater than
40
characters in length
will
be
continued
on
the
next
line. Since the Atari
825
has
an
80
column
width,
only
program
lines greater than
80
characters
will
be
continued
on
the
next line.
None
of
the
Atari printers can
output
the
graphics characters.
On
the Atari 820and
822,
graphics characters
will
appear
as
blank
spaces.
On
the
Atari
825
, certain graphics characters cause
abnormal
output
while
other
graphics characters
do
not
print
at
all.
The Atari
825
uses
certain Atari ASCII codes
as
printer
control
characters. If
the
printer
encounters
these
control
characters in a
program,
peculiar
printer
output
can result. For this reason,
control
codes
should
be specified in Atari BASIC programs using
the
CHR$
function.
LPRINT
LPRI
NT
outputs
data
to
the
printer
much
as
the
PRI
NT statement
outputs
data
to
the
video display.
LPRINT
is
designed
for
use
with
printers using
40column
output.
This presents
difficulties
in situations
where
LPRINT
is
used
with
the
Atari
825.
For example,
if
an
LPRINT statement
outputs
40
characters
or
less
and ends
with
a
semicolon,
or
38
characters
or
less
and ends
with
a
comma,
the
output
from
the
next
LPRINT
statement
will
begin on
column
41
of
the
same line. If a
third
LPRINT statement follows,
output
from
that statement
will
begin
at the
beginning
of
the next
printer
line.
If
an LPRINT statement
outputs
over
40
characters on
an
Atari
825,
the next LPRINT statement causes
output
to
begin
on
a
new
line--even
if
the
statement ends
with
a
comma
or
semicolon.