Counters - Intermec EasyCoder 301 Programmer's Manual

Direct protocol 2.0
Hide thumbs Also See for EasyCoder 301:
Table of Contents

Advertisement

6. Counters

Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
You can create counters for use in text and bar code fields (see
chapters 4.3 and 4.4). The counters are global, i.e. the same counter
can be used in many different labels and layouts, but will be
incremented/decremented on any PRINTFEED operation, regard-
less of label. Thus, if you want to use a counter for a specific layout
only, you must not use it in any other layout.
Each counter is designated by means of a number. 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 specifying
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> adds leading zero characters up to the speci-
Default:
Number of Copies Before Update
COUNT& "COPY", <counter number>,"<number of copies>"
<number of copies> sets the quantity of copies to be printed be-
Default:
Chapter 6
is the first value to be printed (positive or
negative). Negative values are indicated by
a leading minus sign (-).
1 or A
fied number of digits. Must only be used in
numeric counters.
1
fore the counter is incremented or
decremented.
1
Setting Up the Printer
48

Advertisement

Table of Contents
loading

Table of Contents