beautypg.com

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

Page 95

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 patterns of non-
printable characters are required.

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.