Specifications
Mobile Printing Systems
CPCL Programming Manual
Section 3
Text
pg. 3-12
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 contain 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 three COUNT commands 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 characters. 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.
continued