P3-12 Mobile Printer CPCLProgramming Manual
COUNT Command
The COUNT command is used for printing multiple labels
where a numeric text field or numeric data encoded in a
bar code is to be incremented or decremented for each
label. The TEXT/BARCODE command string must con-
tain this numeric data as the last characters of the string.
The numeric data portion can be up to 20 characters, and
can be preceded by the '-' sign. Incrementing or
decrementing the numeric data thru '0' is not allowed.
Leading zeros will be retained. Up to 3 COUNT com-
mands can be used in a label file.
The numeric data incremented/decremented is contained
in the TEXT or BARCODE command that immediately
preceded the COUNT command.
Format:
{command} {numeric value}
where:
{command}:
COUNT
{numeric value}:
Any integer value up to 20 charac-
ters. The value can be preceded
by a '-' sign if decrementing of the
TEXT/BARCODE value is desired.
Leading zeros will be retained in
the output.