beautypg.com

Into image buffer – Avery Dennison Monarch 9864 Description of Commands User Manual

Page 100

background image

10/07 Rev. AA

MANUAL EASY PLUG

Commands

All

devices

A = TTX 600 --TLX 604 – Eagle B = TTX 300 Offline -- Cobra Offline D = TTX 300 Online –TTX 207 -- Cobra Online – Da Capo
E = TTX 450/650/674/675/950/1050 – Puma/Puma plus/Lion/Lion plus/Tiger/Tiger XXL -- S45/65/95/105 -- TDI/STDI/XXTREME
G = TTX 350 – Ocelot – TTK – Texxtile H = 64-xx –Chess x –TT4 – DPM – PEM – ALX 92x – AP 4.4/5.4

100

#YIR

Write logo in RLE format directly into image buffer

Definition

Command #YIR writes the following data directly into the image buffer in a
predefined position. The data is coded in RLE Format (Run Length
Format).

Only for group G:

Status printouts or print checks may not be started during the print job.

Command must stand between #ER and #Q!

Syntax

#YIRc/sss...s

Group G, H

c = int

Number of dot lines in the logo matrix. Maximum number of lines: 65535.

s = hex

Coding of a dot line in the logo matrix.

The parameter s consists of a sequence of hexadecimal digits (hex
numbers). Permitted value range for each of the hex numbers: 00 to FD.
The values FE and FF are reserved for control characters as described
below.

Start-Code

The start code must stand at the beginning of the data for a dot line. A dot
line which is to be printed several times in succession only needs to be
entered once with the start code FF. The number after FF shows how often
the line is to be repeated. Example: the start code FF04 produces four
identical lines.

FE (hex):

start code for lines which are to be printed once.

FF (hex):

start code for lines which are to be printed repeatedly.

End-Code

The last dot line in a logo matrix must be closed with the end code FE.

RLE-Format

The decisive factor when converting binary code into RLE format is the
changing from ones to zeros and vice-versa. In order to convert binary
code into RLE format, it is only necessary to count the sequential zeros and
ones between the start and end code and to note them as hex numbers.
Single figure hex numbers are prefixed with a zero.

Example:

Binary

code:

0001111001111111

RLE code: FE03040207FE
(start code FE, 03 zeros, 04 ones, 02 zeros, 07 ones, end code
FE if no other dot lines follow)

To enter the Code in RLE-Format as shown in the example, you need to
a) use an editor providing a hex-mode option and b) enable the hex-mode.
Using an editor without hex-mode would require to enter the corresponding
ASCII-character to every hex number, for example instead of 03.