Storing And Printing Graphic Images And Logos - Printek MtP Series Programmer's Manual

Mtp series
Table of Contents

Advertisement

Printek Emulation
Multiple "sets" of counters and data may be sent to the printer as necessary to describe the graphic pattern to be
printed. The values specified by the counter(s) are interpreted as follows.
The counter may be considered as either a signed 7 bit value or an unsigned 8 bit value.
For signed 7 bit values:
For unsigned 8 bit values: 0 ≤ c ≤ 127
Example: The following escape sequence will print a graphic image that is two lines long and six bytes (48
bits) wide as shown below. Note that the outlines for each bit are shown only to explain this example and that
only the image represented by the black "bits" will actually be printed.
In the following escape sequence the data bytes are shown in binary. The hexadecimal values for each byte are
shown on the second line.
ESC v
2
6 255 01010101 255 10101010 3 00010001 00100010 00110011 01000100 25310011001
1B 76 02 06 FF

Storing and Printing Graphic Images and Logos

Graphic images including logos may be stored permanently in the printer's flash memory so that they may be
printed as often as needed without having to retransmit the graphic image each time. A total of 1MB of Flash
memory is allocated to storing graphic images. The number of images that may be stored depends on the size
of the images.
An image is programmed into the printer's memory using a series of steps, or commands, as shown below.
Step 1: Send the Load Graphic Image command to the printer.
Step 2: Send the image using up to 2,436 graphic lines as described in the Graphics section on page 16. (The
8-Bit Compress Graphics command is not supported when defining logos.)
Step 3: Send the Store Graphic Image command to the printer.
Step 4: Wait for the printer to respond with "D" (Hexadecimal 44) indicating that the printer has begun
storing the image.
Step 5: Wait for the printer to respond with an Exclamation Point character (Hexadecimal 21) indicating that
the image has been stored.
18
0-255
0 ≤ c ≤ 127
Process the next (c + 1) bytes as simple 8 bit graphic patterns.
-128 ≤ c ≤ –1
Repeat the next byte (-c + 1) times.
Process the next (c+1) bytes as simple 8 bit graphic patterns.
128 ≤ c ≤ 255
Repeat the next byte (256 - c + 1) times.
55
FF
AA
03
11
22
33
44
FD
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mtp300Mtp300 lpMtp400Mtp400 lpMtp400 sl

Table of Contents