Reassigning Code; Column Reservation Numbers - Epson Printer Interface Cartridge Operation Manual

For the ibm pcjr
Hide thumbs Also See for Printer Interface Cartridge:
Table of Contents

Advertisement

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
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
columns you want and n2 is zero. As you can see in Table
ever, a single line will hold as many as 1920 columns in quadruple-
density. Specifying more than
(n2) fits in. The first number that you send (n1) indicates a number of
columns, but
the
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
other format:
the
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.
columns of graphics,
255
255
second does not represent a number of columns; it is
n1
is where the second number slot
(O-6).
is the number of
8-1,
how-
53

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lx-90 - impact printer

Table of Contents