72
Place a Combination of Fixed Data and a Counter
The next command line is a text line containing fixed data and the
counter (C0). The first time this label form is retrieved for printing,
the start value for this counter must be sent to the printer. The printer
will store the value of the counter for this form and automatically
continue to print the next value the next time this form is retrieved.
Reset or set to another value by sending a new start value.
Note:
The value of the counter will be kept in the memory even if another
form is retrieved or the printer is switched off.
Command
Explanation
A24,312,0,4,1,1,N,"SERIAL#: "C0
↵
Text line, fixed data + 1:st counter
Place a Bar Code with Fixed Data and a Counter
Below Bar Code Command line is entering a Code 128 bar code,
containing the fixed data "S" in combination with the actual counter
value. It is also set for printing the human readable text below the
bar code.
Note:
The narrow to wide ratio is not relevant for Code 128. The printer
will use the value for the narrow bar to define the bar code. (Value
3 for wide bar definition is ignored).
Command
Explanation
B200,440,0,1,2,3,96,B,"S"C0
↵
Bar code, fixed data + 1:st counter
Place Graphics
The next line writes a graphic named "UBI"
1
from graphics
memory and positions it on the form.
Command
Explanation
GG24,12,"UBI"
↵
Write graphic from graphics memory
End Programming of this Form
The closing command that flags the end of form, see the full
program listing later in this chapter.
Command
Explanation
FE
Closing command to store form
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd.
(Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!
1
/. The graphic “UBI” is not available
in your printer and has only been
included in the example to illustrate the
method of using graphics in a label lay-
out. Substitute this graphic with your
own logotype or some other graphic of
approximately the same size.