Printek Emulation

amount of graphics data that you specify, because the printer will not leave graphics mode until it has accepted the specified number of data bytes.

If “Data Bits” is set to “7” in the interface setup menu, beware of potential problems in graphics mode. Since the MSB (most significant bit) will always be turned off, it will not be possible to fire the top wire of the print head. Worse yet, the value of n1 or n2 may be changed. For example, if n2 specifies 200 bytes of data, and its MSB is turned off, the printer will only expect 72 bytes of data. It will exit graphics mode, and then try to print the remaining 128 bytes of graphics data as normal text characters. The result will surely not be pretty. To avoid such problems, the use of an 8-bit I/O interface for printing graphics is highly recommended.

The normal graphics modes allow every dot to be printed. High speed graphics will print twice as fast, but will not allow consecutive dots to be printed.

m DPI Graphics

ESC * m n1 n2 data

Selects eight wire graphics of density m as listed in the following table for (n1 x 256) + n2 columns of data.

m Density _______

6240 dpi

7240 dpi high speed

8180 dpi

9180 dpi high speed

10144 dpi

11144 dpi high speed

12120 dpi

13120 dpi high speed

14102.86 dpi

15102.86 dpi high speed

1690 dpi

1790 dpi high speed

1880 dpi

1980 dpi high speed

2072 dpi

2172 dpi high speed

2265.45 dpi

2365.45 dpi high speed

2460 dpi

2560 dpi high speed

NOTE: Horizontal movement of the printer's print head is measured in intervals of 1/720 of an inch. Every supported graphics density above is an integral multiple of this resolution. For example, at 60 dpi, dots may be printed every 12/720 of an inch.

Example: The following escape sequence will print four bytes of graphics data at 72 x 72 dpi. The resulting figure will resemble a square, since the horizontal and vertical density are the same. If some other density is chosen, the figure will resemble a rectangle.

Escape Sequence:

ESC

*

20

0

4

<

<

<

<

Hexadecimal:

1B

2A

14

00

04

3C

3C

3C

3C

m DPI Graphics

 

 

 

 

 

 

 

ESC # m n1 n2 data

Selects eight wire graphics of density m as listed in the following table for (n1 x 256) + n2 columns of data.

103

Page 109
Image 109
Printek 8000 manual ESC # m n1 n2 data