BASIC Example:
100
REM
-Character
Style
(ltalicjUpright)--
110
REM
--- upright
----------
120
LPRINT
CHR$(27);"(s0S";"Most printing is in upright style"
130
LPRINT
"because it is easy to read."
140
REM
---italic-------
150
LPRINT
CHR$(27);"(slS";"Italics
are
used
to
highlight"
160
LPRINT
"words or phrases."
170
LPRINT
CHR$(12);
:REM
-Form
Feed-
STROKE
\VEIGHT
Stroke weight
can
be selected
for
the primary
and
secondary
fonts using
the
following escape sequences:
Primary
font
stroke weight
Ec(s#B
Secondary
font
stroke weight Ec)s#B
#
=Stroke weight
The
value field (#) in this escape sequence specifies
the
stroke
weight.
The
following table lists the value numbers
for
the
different
stroke weights:
Light
-1
to
-7
Medium
o
Bold 1
to
7
For
example,
to
select a bold stroke weight
for
a secondary
character
font
(with a stroke weight
of
4),
the
Ec)s4B sequence
would be sent
to
the
printer.
The
standard bold
font
has a stroke
weight
of
3.
The
standard
light
font
has a stroke weight
of
-3.
The
stroke weight
of
the
resident default
font
is
medium
(0).
(If
no
bold
or
light stroke weight matches
that
specified,
the
most
similar
font
will be selected.) NOTE: In order to print with a
font of a specific
stroke
weight,
that
font must be contained in a
font cartridge
that
is loaded in
the
printer. For example, to run
2-31