the
control
panel
on-line
switch,
you
will resume printing
without
losing a character.
This
is a handy feature
if
you
are using
continuous
paper,
but
can
be a nuisance
if
you
are using single sheets and
want
to
print
closer
than
two
inches
from
the
bottom
of
the page.
The
MPS 1200,
therefore, provides
commands
to control the paper
out
sensor.
The
command
ESC
8
turns
off
the
paper-out
sensor, and
ESC
9 turns
on
the sensor.
DIP
switch 1-6 also can be used to set the paper end sensor. With
internal switch 1-6 set to off, the paper sensor
is
enabled,
when
switch
1-6
is
on,
the sensor
is
disabled.
THE
EIGHTH
BIT
Some
computers
send
only
seven bits
of
information
to their
print-
er
instead
of
the
more
common
eight bits. Since the standard ASCII
character set (ASCII 0
to
127) uses only seven bits for its codes, this
limitation isn't
normally
a
problem.
But
the
MPS
1200 uses high-bit,
or
eight-bit,
PET
ASCII codes
(ASCII 128 to 255) for uppercase letters, block and line graphics
and
many
other
special characters.
Using
the three
commands
described below,
you
can force the
MPS
1200 to interpret subse-
quent
codes
as
having
their
high
bit set
or
cleared.
Eighth
Bit
On
BASIC
Hex
chr$(27)
">"
1B
3E
The
command
ESC
> instructs the
printer
to interpret
all
subse-
quent
codes as
high-bit
codes even
if
your
computer
is
sending
seven-
or
low-bit
codes. In effect, it adds 128 to any ASCII code
ill
the range
of
0 to 127.
Once
you
send
ESC>
to the MPS 1200,
thl"
printer
will
continue
to
add
128 to any code it receives in the
Llllgl"
of
0
to
127 until
you
tell it
to
stop
with
the
command
ESC
#.
There
is
one
exception to this rule: escape sequences sent while
IIIl"
printer
is
in
high-bit
mode
will be interpreted using the
;\Ct\l;d
H hll
codes-the
printer
will
not
add 128 to any ASCII characters
ill
lilt"
sequence.
9-9