User`s guide

F.
Special
Control
Character
Functions
Special
control
characters
can
be
used
ta
change
the
mode
of
printing
[Table
1
contains
a
summary
of
the
special
control
characters).
Printer
control
characters
are
inserted
in
the
data
stream
transmitted
to
the
printer
via
secondary
address
0
or
7.
TABLE
1
Special
Control
Character
Summary
CHRSCode
CHRSI14)
CHRSM5)
CHR$|8)
CHRSCI8)
CHRSM46)
CHRS(13)
CHRS(IO)
CHRS<17)
Printer
function
Enhance
ON
Enhance
OF
F
Bit
Image
Printing
Reverse
ON
Reverse
OFF
Carriage
Return
Line
Feed
Print
in
Business
Mode
Print
in
Graphic
Mode
Quote
Tab
Setting
the
Print
Head
Repeat
Graphic
Selected
Specify
Dot
Address
CHRSIH5)
CHRS(34>
CHRS[16);
"nHnL"
CHR$(26J;
CHRS|btt
image
data)
CHRS(27);CHRS(16);CHRS(nH)CHRS{nL)
'
i
1.
Enhance
ON/OFF
CHRS(14)/CHfl$(16)
Your
printer
normally
generates
a
character
using
dot
matrix
that
is
7
dots
high
and
6
dots
wide.
If
you
send an
ASCII
CHR$(14)
character
within
a
data
output
PRINTS
statements parameter,
all
characters
fallowing
the
CHR$(14)
are
printed
double-width
using
dot
matrix
that
is
7
dots high
and
12
dots
wide.
An
ASCII
CHRSI15)
character cancels the
character
enhancement
specified
by
preceding
CHR3{14)
character
or
ASCII
CHRS(15)
is
Standard
Character
Mode.
CHRS114)
and
CHRS{15)
cancel
later
mentioned
bit
image
graphic
printing
code
[CHRS(8|].
And
these
control
codes
give
a
1/6
inch
line
feed.
The
example
below
shows
E
nhance
ON/OFF
functions.
EXAMPLE
It
109
REM
CHR±<145
ENHRNCE
ON.■'DOUBLE
WIDTH
CHP,
IIS
REM
CHR£c15j...FHHfiHOE
OFF/STD
WIDTH
CHP
128
OPEN
4.4
=REM
PRINT
IN
GRpPHIC
MODE
140
FOR
1=1
TO
4
158
PRIWT#4.EN$;"EHHflMCE
OH";
XE<3
PRINT#4,
DE*;
"
ENHRNCE
OFF"
176
NEXT
T
130
:
190
FOR
J—\
TO
8:PRIHT#4;NEXT
J
30O
CLOSED
RUN
IH
M M
F=t
M
it::
IH
M
l-l F=*
B---T
O
EHHRHC
EXAMPLE
2:
,[
IET
E=
!-
c
c
r
t
M
;in
'
n
"
^
ENHflNCE
EHHflHCE
EHHRNCE
FHHRNHE
OFF
OFF
OFF
OFF
CHR*'
;■:-...
'
rj-!rr-[:;,r
on/doublh
uin
H
CHR
REM
CHP^-C
1-5
>...
FW'HRMCE
OFF/STO
WIDTH
CHR
OPEN
4,4
rp£M
PRTNT
IN
GRAPHIC
M33£
EN*=CHR*'
14
■■
r!Ff-CHP±<
15)
for
r=j
to
4
PRINT#4,EH*;"EHHBNCE
ON"
155
PRIHT#4,EN*j"EHHflMCE
CONTINUE"
l&e
PPI(-!T*H,nE*;
"ENHRHCE
OFF"
26
27