Chapter 4
Page
Forlllatting
Page
formatting
commands
tell the
MPS
1200
where
to
print
(as
opposed
to
text
printing
commands
that
tell it how to print). This
chapter describes the
commands
that
control
where
your
text ap-
pears
on
the
page-the
distance
between
lines, page margins, and
page length.
THE
END
OF
THE
LINE
How
does the
printer
know
when
to start a
new
line?
There
are
two
ASCII
codes
that
control
the end
of
a
line-ASCII
13, called a
carriage
retwn, and ASCII 10, called a
line
feed.
Other
related
com-
mands
are ASCII 141, a carriage
return
without
a line feed
in
Commodore
mode,
and
ASCII
141
and 138,
which
work
the same
as
ASCII
13
and
10 respectively,
in
Epson
mode.
Carriage
Return
BASIC
Hex
chr$(13)
OD
A carriage
return
brings the
print
head to the left margin,
but
docs
not
advance the paper to the
next
line. Therefore,
many
computers
automatically add a line feed (ASCII
10)
to each carriage return. III
Commodore
mode,
a line feed is automatically added.
You
can
add
an
automatic
line feed to each carriage return in
Eps()11
mode
by
setting internal
switch
1-7
ON
if
your
computer
dol'S 11l)1
add line feeds for
you
(see
Appendix
D).
4-1