Programming6–10
Bit Image Mode, Double Density
ASCII Hex Decimal
P–Series N/A N/A N/A
Serial ESC L
1B 4C
27 76
Purpose
Selects Double Density Bit Image graphics.
Expression CHR$(27);”L”;CHR$(n1);CHR$(n2);”DATA”
where n1 + 256 n2 define the number of data bytes to follow.
DATA = ASCII characters for the dot pattern bytes.
NOTE:
The DA
T
A can be
expr
essed in a CHR$(DA
T
A) format with the appr
opriate decimal
values
of the ASCII characters supplied,
especially in cases wher
e the dot patterns of non
-
printable
characters ar
e r
equired.
Comment Double
Density printing
may reduce print speed to half. For detailed information,
refer to the Bit Image section in the Graphics chapter.
Example The
following example produces Double Density Bit Image graphics
of the pattern
used
in
the Single Density Bit Image Mode example. Note that the amount of data
must be doubled for double density (the data is used 54 times rather than 27).
NOTE: Depending on the host computer system, it may be necessary to include a width
statement within the BASIC program.