beautypg.com

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

Page 96

background image

Programming

6–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 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

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.