EasyManua.ls Logo

Commodore MPS 1200 - Top and Bottom Margins

Commodore MPS 1200
250 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...
Top
and
Bottom
Margins
ON
BASIC
chr$(27)
"N"
chr$(n)
(n
= 1
to
127)
OFF
chr$(27)
"0"
1B
CF
Hex
1B
CE
nh
(nh
=
01
h
to
7Fh)
The
top/bottom
margin
command,
ESC
N,
is
sometimes called
the
skip-over-perforation
command.
It
sets the
number
of
lines to
skip at the
bottom
of
every
page (above the perforation
on
continu-
ous paper).
To
use the
top/bottom
margin
command,
send
ESC
N
followed
by
the ASCII code for the
number
of
lines you
want
to
skip.
For
example, chr$(27)
"N"
chr$(6) skips six lines at the
bottom
of
the page.
To
set the
top
margin, first line
up
the top
of
the page at the ribbon
guide (the first line prints
approximately
3/8
inch from the top,
which
is
equivalent to skipping one line).
To
increase the top
margin,
advance the paper the required
number
of
lines-manually
or
using the
LF
switch
with
the
MPS
1200
off-line-and
then
switch
the
power
off
and
on
to reset the
new
top
of
the form.
Now,
when
you
send the
ESC
N
command,
add the
number
of
lines
in
the
top
margin
to the
number
oflines
in the
bottom
margin
and
use the
sum
with
ESC
N.
For example, to get a 6-line margin
at
the
top
and
bottom
of
each page, the total
number
of
margin
lines is 12. Set the
top
of
the page five lines above the ribbon guide
and
send the
command
chr$(27)
"N"
chr$(12).
The
ESC
0 (letter
0)
command
cancels the
top/bottom
margin
or
skip-over-perforation.
When
set
with
ESC
N,
the skip-over-per-
foration feature can also
be
canceled by changing the page length
or
by
the master reset
command.
4-15

Related product manuals