The maximum number of data bytes in the DATA portion of the program statement (when using 132–column paper) varies according to the operating mode:

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

Data in excess of the right margin is discarded. If the auto line feed is enabled, data in excess of the right margin causes 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 Pro- gramming 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.

5 WIDTH LPT1:,255

10 LPRINT Single Density Bit Image Graphics

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

30FOR N=1 TO 40

40RESTORE

50FOR I=1 TO 7

60READ R

70LPRINT CHR$(R);

80NEXT I

90NEXT N

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

110LPRINT

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 can address and print any individual dot position. This produces a variety 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 density.

Graphics

4–5

Page 67
Image 67
Printronix P3000 Series manual Series Compatible Plot Mode, Bit Image Sample Program, Plot Density