EasyManua.ls Logo

Apple IIe - Page 299

Apple IIe
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix
H
299
APPENDIX
H.
APPLE
lie
PRINTER
USAGE
INTRODUCTION
The
Apple
lie
outputs
data
to
the
printer
just
as
it
does
to
the
screen. To send data
to
the
printer,
a
PR#
statement
specifying
the
printer
card's
slot
number
must
be
executed
to
cause data
to
be
output
to
the
printer
rather
than
to
the
screen. A second
PR#
statement
must
be
executed
if
data
is
to
subsequently
be sent
to
the
screen
rather
than
the
printer.
Either a
parallel
or
serial
printer
can be used
with
the
lie
using a
parallel
or
serial interface card respectively.
Generally, the
printer
card
is
placed
in
either slot 1
or
2.
Printer
Control Codes
Generally,
printer
output
can be modified
through
the
use
of
control
codes. These codes are
generally
output
to
the
printer
via
the
PRINT
statement. Printer
control
codes can be used
to
change
the
page length, line length,
character size, character set,
as
well
as
a
number
of
other
features.
In
the
example at
the
end
of
this section, the
form
feed character
is
sent
to
the
printer
in
line
170
and
the
character indicating
condensed characters
is
sent in line
190
.
Notice
that
the
CHR$
function
is
used
to
send
the
pr
inter
control
, characters. Since, CHR$
is
not
available
in
Integer
BASIC,
the
printer
control
codes must be
output
in
some
other
manner. This
is
generally
accomplished by keying
in
the
control
code character
within
a pair
of
quotation
marks.
Generally,
the
control
code
is
non-printing,
so
the
keystrokes will
not
be echoed
on
the screen.
If
our
example program
was
written
in Integer BASIC,
lines
170
,
190
and
195
would
be
modified
as
follows
to
send
the
form
feed
character,
output
condensed characters, and
turn
off
the
con-
densed character mode.

Other manuals for Apple IIe

Related product manuals