Specifications

C Com mand - Coun ter
The C com mand is used in forms that re quire se -
quen tial num ber ing. When initializing coun ters,
they must be de fined in or der (e.g. C0 first, C1
sec ond...).
Field jus ti fi ca tion (p
3
) af fects the print ing of
coun ter data. When L, R or C are se lected, the
coun ter field is the width of p
2
value. Data will
jus tify within the coun ter (p
2
) field per the se -
lected p
3
. The N pa ram e ter will print the min i -
mum num ber of char ac ters.
To print the con tents of the coun ter, the coun ter
num ber is ref er enced in the “DATA” field of the
A (ASCII text) or B (Bar Code) com mands.
If the start ing value of a coun ter is “1“, then no lead -
ing zero pad ding will be added. If the start ing value is
01”, then the coun ter will be pad ded, up to the
max i mum num ber of dig its (p
2
), with ze ros.
Example:
C0,10,L,+1,"-En ter Se rial Num ber:"¿
Saving and
Protecting
Consecutive
Numbers in
Nonvolatile Memory
This fea ture is use ful when the coun ter field rep -
re sents a se rial num ber (or oth ers types of num -
bers) that should never be re peated. This
fea ture al lows for au to matic re trieval and in cre -
ment (or dec re ment) of the pre vi ous coun ter
value used ev ery time a form is re trieved (and
printed).
By plac ing one mi nus sign as the first char ac ter
of the prompt, the prompt will ap pear only once
af ter the form is re trieved, thereby pro tect ing
the in teg rity of the data.
Single Digit
Summation with
Counters
Add or sub tract a sin gle digit from the re called
coun ter value in a form. If form re called coun ter
C0 had a value of 3, then pro cess ing C0+1
would yield a value of 4 and C0-2 would yield a
value of 1.
3-38 980352-001 Rev.D