beautypg.com

Printek FormsMaster 8000 User Manual

Page 109

background image

Printek Emulation

103

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 _______

6

240 dpi

7

240 dpi high speed

8

180 dpi

9

180 dpi high speed

10

144 dpi

11

144 dpi high speed

12

120 dpi

13

120 dpi high speed

14

102.86 dpi

15

102.86 dpi high speed

16

90 dpi

17

90 dpi high speed

18

80 dpi

19

80 dpi high speed

20

72 dpi

21

72 dpi high speed

22

65.45 dpi

23

65.45 dpi high speed

24

60 dpi

25

60 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.