Bit image mode, single density – Printronix P9000 Series User Manual

Page 107

Advertising
background image

6-9

Programming

Bit Image Mode, Single Density

ASCII

Hex

Decimal

P-Series

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 DATA can be expressed in a CHR$(DATA) format with the appropriate

decimal values of the ASCII characters supplied especially in cases where the dot patĆ

terns of nonprintable characters are required.

Comment

For detailed information, refer to the Bit Image section in the Graphics chapĆ

ter.

Example

The following example produces a pattern of Single Density Bit Image graphĆ

ics. The 9 data bit pattern is repeated 27 times. Compare this example to the

double density and quadruple density examples.

NOTE: Depending on the host computer system, it may be necessary to include a width

statement within the BASIC program.

Advertising