EasyManua.ls Logo

Sinclair QL - Page 413

Sinclair QL
422 pages
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...
The BOLD ON and OFF items contain the codes
to
turn bold (emphasised) printing
on
and
off.
If
your printer cannot print emphasised characters you can use the DEF
value,
described earlier, provided the printer will respond to a backspace character
UNDERLINE ON and OFF turn underlining
on
and
off,
provided your printer has an
automatic underlining facility.
If
your printer cannot print underlined characters you can
use the DEF
value,
described earlier, provided the printer will respond
to
a backspace
character
Use the SUBSCRIPT ON/OFF and SUPERSCRtPT ON/OFF items for the sequence of
codes needed by your printer
to
turn subscript and superscript printing on and
off.
Each of TRANSLATEl
to
TRANSLATE10 accepts
up
to
ten
characters. The
first
character
specified
is
translated into the following sequence of characters before being sent
to
the printer The first character must not be a control character
(its
ASCii code must be
in
the range 32
to
255).
The translation can contain any character The result must appear
as a single character when printed.
As
an example,
let
us
create a second printer driver
for
the Epson
FX-80.
Start by loading
and running the installation program from SuperBASIC Select the driver named OTHER
and press either
Fl
or
F2.
The initial values displayed are listed below, the column at
the right showing the values needed
for
the
FX-80:
DRIVER NAME
PORT
BAUD
RATE
PARI1Y
LINEs/PAGE
CHARACTERS/LINE
CONTINUOUS FORMS
END OF LINE CODE
PREAMBLE CODE
POST
AMBLE CODE
EMPHASIZE ON
EMPHASIZE OFF
UNDERLINE ON
UNDERLINE OFF
SUBSCRIPT ON
SUBSCRIPT OFF
SUPERSCRIPT ON
SUPERSCRIPT OFF
TRANSLATEl
TRANSLATE2
TRANSLATE3
TRANSLATE4
TRANSLATES
TRANSLATE6
TRANSLATE?
TRANSLATE8
TRANSLATE9
TRANSLATE10
Default
:
OTHER
: serl
: 9600
: NONE
: 66
: 80
: NO
:
CR,
LF
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
Other options
: ser2
: 9600
: NONE
: 66
.80
:
YES
: CR,
LF
: esc,@,ESC,R,NUL
: NONE
:
ESC,E
:
ESC,F
:
ESC
- 1
:
ESC
- 0
:
ESC,S,l
:
ESC,T
:
ESC,S,O
:
ESC,T
£,ESC,R,ETX, # ,ESC,R,NULL
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
: NONE
6
First
change the driver
name,
press the
rrght
cursor
key
to
erase the existing
text,
and type
FX-80
IENTER I
If
you make a mistake you can repeat the process.
Press the down cursor key until the CONTINUOUS FORMS entry
is
highlighted. There
are only two options; select
YES
by pressing the right or left cursor
key.
A suitable PREAMBLE sequence
for
the Epson
FX-80
is
ESC which initialises the printer
and dears
its
print buffer The printer should also be
set
to
use the American character
set
(to
print both the hash symbol,
#,
and the pound sign - see later). The FX-80
code
to
do
this
is
ESC R
NUL
12/84

Other manuals for Sinclair QL

Related product manuals