BASIC Example:
100
REM
--
Vertical Cursor position Movement
---
110
REM
-notice '#' replaced by Decipoint Position-
120
LPRINT
CHR$(27);"&a360V";"lj2
FROM
TOP
MARGIN"
130
LPRINT
CHR$(27);If&a720V";"1
FROM
TOP
MARGIN"
140
LPRINT
CHR$(27);"&aI440V"j"2
FROM
TOP
MARGIN"
150
LPRINT
CHR$(27);"&a2880V";"4
FROM
TOP
MARGIN"
160
LPRINT
CHR$(12);
:REM
-Form
Feed--
Selecting Character Fonts
The
LaserJet
family printers, with an optional
font
cartridge
installed, have the ability
to
print several
different
character
fonts, with a maximum
of
8 fonts per page. (The
LaserJet+
and
LaserJet
500+
printers
print
a maximum
of
16
fonts
per page.)
Each character
font
is
selected
from
an
installed
font
cartridge
or
the
printer's
memory
by specifying the font's characteristics such
as orientation, height, typeface, etc. Many
word
processing
packages will
perform
this
task
for
you.
If
your
word
processor,
or
other
software
you
are
using, does
not
have this capability, you
can
use escape sequences
for
character
font
selection. You may
specify (using escape sequences) all the characteristics
of
a
character
font
or
just
some
of
those
characteristics-for
either a
primary
or
secondary
font.
The
printer,
upon
receiving
the
font
selection escape sequences, selects the best fitting character font
from those available, with the best fitting font depending
on
the
specified font characteristics and their priority.
Only those fonts
available
can
be selected. Selecting the characteristics
of
an
unavailable
font
causes
the
font
closest
to
the
specified
font
to
be
selected.
The
list below contains
the
font
characteristics, listed in
descending
order
of
priority.
• Printing orientation
(portrait
vs.
landscape)
• Symbol set (Roman-8, Line draw, Math etc.)
• Proportional spacing vs. fixed spacing (non-proportional)
• Print pitch
(for
non-proportional fonts only)
2-19