Commodore MPP-1361 User Manual page 25

Commodore cbm bi-directional printer
Hide thumbs Also See for MPP-1361:
Table of Contents

Advertisement

FORMAT CONTROL
Through
the
printer's
format
control option,
you can
control
the
interpretation of
data sent
to
the
printer.
The
format
control option
allows
you
to
print
numbers
in
columns,
set the
number
of lines
per page,
and
perform other
useful formatting tasks.
To
implement
the format
control
option,
you use
the
third
parameter
of
the
OPEN
command.
OPEN
Ifn,
dn,
sa
As
before,
Ifn
is
the
logical
file
number,
dn
is
the device
number
(also
known
as
the
primary
address),
and sa
is
the
secondary
address.
It
is in
the
secondary address
position that
you
enter the format
control
parameter.
You
can
enter
any
of
the
19
secondary addresses
in
your
OPEN
command. These
are:
Print
data
exactly
as
received
1
Print
data according
to
a
previously-defined format
2
Store the
formatting
data
3
Set
the
number
of lines
per
page
to
be
printed
4
Enable
the
printer
format diagnostic
messages
5
Define
a
programmable
character
6
Set spacing
between
lines
7
Upper/Lower case
8
ASCII/Graphics
9
Suppress
Diagnostic
Message
Printing
10
Reset
Printer
11
Set
Uni-Direction
12
Reset
Uni-Direction
13
Set
Condense
mode
14
Reset
Condense
mode
15
Set
pseudo
letter
quality
21
Reset
pseudo
letter
quality
17
Storing
bit
image
data
18
Printing
bit
data
previously written
After
the appropriate
OPEN
statement has
been
transmitted,
a
PRINT*
statement
is
required
to
transmit the
secondary address
information to the specified
device
(in
this
case, your
printer).
Remember,
that
it
is
possible
to
have as
many
as
ten
files
open
simultaneously. This allows
you
to
perform
several formatting functions
at
one
time
on
the
data
in
the
computer's
memory.
There
are
examples
of
the formatting
capabilities
described
in
this
section
in
Appendix
A.
-19-

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MPP-1361 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents