beautypg.com

P-series compatible plot mode – Printronix P9000 Series User Manual

Page 73

background image

4-5

Graphics

At 60 dpi, Single Density = 792 bytes;
Double Density = 1584 bytes
Quadruple Density = 3168 bytes

D

Data in excess of the right margin is discarded. If the auto line feed is enabled, data in

excess of the right margin will cause a Line Feed (LF) and continue printing on the

next line.

A detailed description of the individual bit image control codes with examples is provided in

the Programming chapter.

Bit Image Sample Program

The following sample program written in BASIC produces Single Density bit image graphics of

the pattern shown in Figure 4-1. The 7 data bit pattern is repeated 40 times. The printed result

of running the program is shown in Figure 4-4.

10 LPRINT ”Single Density Bit Image Graphics”

20 LPRINT CHR$(27);”K”;CHR$(24);CHR$(1);

30 FOR N=1 TO 40
40 RESTORE

50 FOR I=1 TO 7

60 READ R

70 LPRINT CHR$(R);

80 NEXT I
90 NEXT N

100 DATA 73, 146, 36, 255, 36, 146, 73

110 LPRINT

Figure 4-4. Sample Single Density Bit Image Graphics

P-Series Compatible Plot Mode

P-Series compatible odd/even dot Plot Mode is available only in P-Series printer protocol.

Plot Mode allows any individual dot position to be addressed and printed. This produces a variĆ

ety of graphics, including bar codes, complex curve graphs, pie and bar charts, block characters,

or halftones.

Plot Density

Plot density refers to the number of dots per inch (dpi) printed in a single dot row. Two types of

plot density are available with P-Series Plot Mode graphics: normal density and double densiĆ

ty.