
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
52
Chapter 6
Setting Up the Printer
6. Counters
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>
is the fi rst value to be printed (positive or
negative). Negative values are indicated by a
leading minus sign (-).
Default:
1 or A
Number of Digits
COUNT& "WIDTH"
, <counter number>,"<number of digits>"
<number of digits>
adds leading zero characters up to the speci-
fi ed number of digits. Must only be used in
numeric counters.
Default:
1
Number of Copies Before Update
COUNT& "COPY"
, <counter number>,"<number of copies>"
<number of copies>
sets the quantity of copies to be printed
before the counter is incremented or decre-
mented.
Default:
1
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.
Содержание EasyCoder E4
Страница 1: ...Programmer s Reference Manual EasyCoder E4 Direct Protocol v2 10 ...
Страница 121: ......