Chapter 5
Printer Commands
))))))))))))))))))))))))))))))))))))))))))))
))))))))))))))))))))))))))))))))))))))))))))
410 ECA Operators Manual
57
7.2
MAKING LINES
THICK LINES:
Tag parameters CLX and CLY are used for making lines. This is done by accessing a dark dot of
the line logo character and then multiplying it out, using CMX and CMY, to make a line. The only
limitation is that the multipliers only extend to 255. Therefore, if the line is to exceed 255 dots, it
must be extended in the next field. This can be done by incrementing XB or YB, depending on the
direction of the line, by 255 in the next field to extend the line.
One must be very careful in making boxes. If one line intersects another line, that part of the line
will disappear (due to a unique XORing of tag data that protects the head and enables the ability
to do reverse video). With minor calculations the exact placing of lines to make boxes can be
predicted.
Note in the following program sample that the line logo
needs to refer to some kind of text. A period is used only
because there was no other text field to reference. The
logo must reference a text line, but that text line can be
anything but a space.
Program sample: Thick Lines (See figure 15)
^D57
5
7,506,771,,,30,1,1,361,0,0,1,616
5
1,240,5,1,7,1,,,4,255,,,1,1
5
1,240,260,1,7,1,,,4,255,,,1,1
5
1,400,005,1,7,1,,,4,255,,,1,1
5
1,400,260,1,7,1,,,4,255,,,1,1
5
1,244,40,1,7,1,,,156,4,,,1,1
5
1,404,40,1,7,1,,,100,4,,,1,1
5
1,55,300,1,7,1,,,185,4,,,1,1
5
Thick Lines
^D56
5
Figure 15
^D2
5
.
5
^D3
5
HALF LINES:
If you often use lines on your tags, it is a good idea to fire every other dot to extend print head life.
The following program is similar to the thick line program, but also accesses a blank space to
create a line that fires every other dot.
Содержание 410 ECA
Страница 2: ......
Страница 6: ...Table of Contents 410 ECA Operators Manual...
Страница 8: ...2 410 ECA Operators Manual...
Страница 12: ...Features and Specifications Chapter 1 6 410 ECA Operators Manual...
Страница 72: ...Printer Commands Chapter 5 66 410 ECA Operators Manual 90 DEGREES5 180 DEGREES5 270 DEGREES5 D35 A5 D355...