BASIC Example:
100
REM
----Character
Set
Selection
---
110
REM
------------Roman-8------------
120
LPRINT
CHR$(27);"(8U";"Roman-8 primary symbol set"
130
LPRINT
CHR$(27);")8U";"Roman-8 secondary symbol set"
140
REM
-- Kana-8
150
LPRINT
CHR$(27)j"(8K"j"Kana-8 primary symbol set"
160
LPRINT
CHR$(27)j")8K";"Kana-8 secondary symbol set"
1 7 0
REM
--
USASCII
180
LPRINT
CHR$(27);"(0U"j"USASCII primary symbol set"
190
LPRINT
CHR$(27)j")0U"j"USASCII secondary symbol set"
200
REM
- Line Drawing
210
LPRINT
CHR$(27);"(0B";"Line Draw primary symbol set"
220
LPRINT
CHR$(27)j")0B"j"Line
Draw
secondary symbol set"
230
REM
--
Math
Symbols
240
LPRINT
CHR$(27);"(0A";"Math primary symbol set"
250
LPRINT
CHR$(27);")0A"j"Math secondary symbol set"
260
LPRINT
CHR$(l2);
:REM --Form Feed--
PROPORTIONAL
VS. FIXED
SPACING
Proportional
or
fixed spacing
can
be designated
for
both the
primary
and
secondary
character
fonts
using
the
following escape .
sequences:
Primary font, proportional spacing
Ec(siP
Primary
font,
fixed spacing
Ec(s0P
Secondary
font,
proportional spacing Ec)sIP
Secondary
font,
fixed spacing Ec)s0P
If
proportional
spacing is selected,
but
there
is
not
a
proportionally spaced
font
available
on
an
installed
font
cartridge,
then
a fixed
pitch
font
with
the
current
pitch
specification will
be
designated.
The
spacing
of
the
resident
default
font
is
fixed
2-27