69Programming
Bit Image Mode, Single Density
ASCII Hex Decimal
PSeries N/A N/A N/A
Serial ESC
K
1B 4B
27 75
Purpose Selects Single (Normal) Density Bit Image graphics.
Expression CHR$(27);K;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 For detailed information, refer to the Bit Image section in the Graphics chapter.
Example The following example produces a pattern of Single Density Bit Image graphics.
The
9 data bit pattern is repeated 27 times. Compare this example to the double den
-
sity
and quadruple density examples.
NOTE: Depending on the host computer system, it may be necessary to include a width
statement within the BASIC program.