Appendix A/ Special Characters - Radio Shack TRS-80 Operation Manual

Ptc-64 printer controller
Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Appendix
A/
Special
Characters
The PTC-64
provides 16
special characters
upon
power-up.
To
use them,
you must
first
send
the
TRANSLATE
control
sequence
(27
38).
This sequence
is
used
initially
to
enable
the special characters.
Any
time
after
this,
you
can
specify
any
number
in
the
144
to
159 range
for selecting
a
particular special character.
When
using
the special characters,
it
is
necessary
to
use
a printer
with
Bit
Image
capabilities.
You
can use any of
the
following
TRS-80
printers:
LP7,
or
8,
DMP
100,
110, 120,
200, 400, 420, 500, or 2100,
and
the
CGP-220.
(If
you do
not
have
a
graphics
printer,
special characters will print as
X
X
X X
X.)
The
following
is
a
list
of
the default special characters:
Decimal
Hex.
Value
Value
Special
Character
144
90
a
145
91
y
146
92
n
(double width)
147
93
'"
148
94
£•
149
95
150
96
M-
151
97
TT
152
98
P
153
99
TT
154
9A
T
155
9B
T
156
9C
i
157
9D
;C
158
9E
iVs
159
9F
7
li
£
(double width)
For example,
LPR
I
NT
CHR$
<
27
)
i
CHR$
(
38
)
i
enables
the
16
special characters.
Later on,
if
you
specify
CHR$(
144),
<*
will
be
printed.
But
if
you
specify
L
P
R
I
N
T
CHR$(
157),
x
will
be
printed.
You may
specify
any
other
number
for selecting the
desired special character.
It is
only necessary
to
send
the
TRANSLATE
sequence
once.
From
that
point on,
any
of
the special characters
may
be chosen.
Note:
Double
width
characters
occupy
the
space of
two
normal
special characters.
Redefining
Special
Characters
The PTC-64
offers the
option
of
redefining
special characters to
let
you
create
your
own
symbols.
You may
redefine
any
of
the default special characters
those
in
the
144
to
159
range.
When
you do
so,
the
old
character(s) will
be
erased.
However,
if
you
turn the
power
OFF,
or
perform
the
self-test,
the original
16
special characters will
be
re-established.
The
general
format
for character redefinition
from
BASIC
is:
LPRINT CHR$(27)5 CHR$<39)5 CHR$(n/)»
CHR$(»2)
,
.
,CHR*(nX)
5
13

Advertisement

Table of Contents
loading

Table of Contents