Reassigning Codes
T
h
e LX
-
8
0 h
as
a graphics command that changes one graphic
s
m
ode
to another
.
Yo
u can use it with many commercial graphics softw
are
programs
to c
hange the density and shape of your printout
s.
The
code is <ESC>
?
s n
,
where s is one of the four alternate
gr
a
ph
ics
codes (K, L, Y,
or Z) and n is the number of the new code
(0
-
6).
For example,
if
y
ou send the following
code before
you
run a
grap
h
ics progra
m
,
it will change every instance of mode "Y
" (
h
igh-
speed do
u
b
l
e
-
d
ensity)
to mode 5 (one-to-one)
.
LPR
I
NT
CHR$(27)"?Y"CHR$(5);
As usua
l
,
t
his e
xample is in Microsoft BASIC
,
but you can
se
nd
the
code in a
n
y pro
gramming
l
a
nguag
e
.
Even if you do
n
'
t know which code your graphics program
u
ses, a
litt
l
e experime
nt
a
tion
should tell you whether
the reassignin
g code
can improve yo
ur graphics printout
s
.
Many compute
r
s
ystems automaticall
y
insert the control cod
es for a
carriage return
and a line feed
a
ft
e
r
e
v
e
ry 80 characters
.
Thi
s i
n
ser-
tion is usually no
problem with text
,
but it can spoil your gr
a
p
hics. In
the graphics mo
d
e
they ma
y
insert the control codes as extra
c
h
arac-
ters, which cou
ld be in the middle of a line
.
You
can usua
ll
y
prevent
these
unwanted
control
code
s
with a
WIDTH
sta
t
e
m
e
nt
s
uch as the one below:
The format for
your system may be different
.
Consult your c
o
m
pu-
ter or comp
u
te
r
language manual to find the correct format
.
Th
en
p
u
t a WIDTH
s
tatement
in one of the first lines of all your graph
ics
programs.
It
i
s
easier to put a WIDTH
statement
in all but
the
simp
l
est of yo
ur programs than to examine each one to see wh
e
t
her
o
r
no
t
suc
h
a sta
tement
is necessary
.
Design Your Own Graphics
This sec
t
ion de
scribes the development
of a graphics program
.
T
he
examp
l
e is no
t
es
pecially complicated
,
but it does include th
e same
steps you wo
uld use for a more complex figure so that you h
ave the
basis for des
i
g
ning graphic
s
on your LX-80.
Содержание LX-80
Страница 1: ...LX 80 Printer P8492037 0 Y560991020 ...
Страница 2: ...EPSON LX SOPRINTER Operating Manual ...
Страница 8: ...The Parallel Interface Data Transfer Sequence Interface timing Signal relationships ...
Страница 11: ......
Страница 41: ......
Страница 67: ......
Страница 85: ......
Страница 103: ......
Страница 111: ......
Страница 120: ...Format ASCII code Decimal Hexadecimal Ese 27 18 Explanation Turns off double strike mode set by ESC G ...
Страница 145: ......
Страница 171: ......
Страница 173: ......
Страница 177: ......
Страница 181: ......
Страница 189: ......
Страница 190: ......