Chapter 6
Setting Up the Printer
6. Counters
Note that counters are not
saved in the printer's fl ash
memory, but must be trans-
mitted to the printer after
each power-up.
52
You can create counters for use in text and bar code fi elds (see
Chapters 4.3 and 4.4). The counters are global, that is, the same
counter can be used in many different labels and layouts, but will
be incremented/decremented on any PRINTFEED operation,
regardless of label. Thus, if you want to use a counter for a specifi c
layout only, you must not use it in any other layout.
Each counter is designated by a number or letter. Alpha counters
are restricted to A–Z; numeric counters have no practical limit.
The type of counter is decided by the type of start, stop, or
reset value.
There are various commands for creating a counter and specify-
ing its characteristics:
• Start Value
• Number of Digits
• Number of Copies Before Update
• Incrementation/Decrementation
• Stop Value
• Restart Value
Note that input data must be enclosed by double quotation
marks.
Start Value
COUNT& "START", <counter number>,"<start value>"
<start value>
Default:
Number of Digits
COUNT& "WIDTH", <counter number>,"<number of digits>"
<number of digits>
Default:
Number of Copies Before Update
COUNT& "COPY", <counter number>,"<number of copies>"
<number of copies>
Default:
EasyCoder E4 Direct Protocol v2.10 – Programmer's Reference Manual
is the fi rst value to be printed (positive or
negative). Negative values are indicated by a
leading minus sign (-).
1 or A
adds leading zero characters up to the speci-
fi ed number of digits. Must only be used in
numeric counters.
1
sets the quantity of copies to be printed
before the counter is incremented or decre-
mented.
1
Need help?
Do you have a question about the EasyCoder E4 and is the answer not in the manual?