Epson LX-90 Manuel d'utilisateur Page 58

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 100
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 57
Reassigning Code
The LX-90 has a graphics command that changes one graphics
mode to another. You can use it with many commercial graphics soft-
ware programs to change the density and shape of your printouts.
The code is ESCape “?s” n, where s is one of the four alternate graphics
codes (K, L, Y, or Z) and n is the number of the new code
(O-6).
For example, if you send the following code before you run a
graphics program, it will change every instance of mode “Y”
(high-speed double-density) to mode 5 (one-to-one).
LPRINT CHR$(27)"?Y"CHR$(5)
As usual, this example is in BASIC, but you can send the code in
any programming language.
Even if you don’t know which code your graphics program uses, a
little experimentation should tell you whether the reassigning code can
improve your graphics printouts.
Column Reservation Numbers
Now that you’ve seen the rest of the 8-pin graphics densities and the
reassigning code, this section explains in more detail the part of the
graphics command that reserves the number of columns for graphics
(the numbers nl and n2 in the examples).
If you need fewer than
255
columns of graphics,
n1
is the number of
columns you want and n2 is zero. As you can see in Table
8-1,
how-
ever, a single line will hold as many as 1920 columns in quadruple-
density. Specifying more than
255
is where the second number slot
(n2) fits in. The first number that you send (n1) indicates a number of
columns, but the second does not represent a number of columns; it is
multiplied by 256 and added to n1. The command for the maximum
number of dots you can reserve on the LX-90, then, is:
CHR$(27)"Z"CHR$(l28)CHR$(7);
or, in the other format:
CHR$(27)"*"CHR$(3)CHR$(128)CHR$(7);
which is 128 dots plus 7 times 256 dots, for a total of 1920 dots in one
row.
53
Vue de la page 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 99 100

Commentaires sur ces manuels

Pas de commentaire