02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter —Program Instructions<br />

COUNT&<br />

Purpose Statement for creating a counter (<strong>Intermec</strong> Direct Protocol only).<br />

Syntax COUNT& ,,<br />

is the type of counter parameter to be set:<br />

START (start value)<br />

WIDTH (minimum number of digits)<br />

COPY (number of copies before update)<br />

INC (increment/decrement at update)<br />

STOP (stop value)<br />

RESTART (restart counting at this value)<br />

is the counter reference number (integers only)<br />

is the parameter value<br />

Remarks This instruction can only be used in the <strong>Intermec</strong> Direct Protocol.<br />

The counters can be used in text and bar code fields and are global, which<br />

means that they are not connected to any special label or layout, but will<br />

be updated at every execution of PRINTFEED statements where the counter<br />

in question is used.<br />

Counters are designated using positive integers, for example 1, 2, or 3.<br />

When used for printing, they are referred to by “CNT$” variables,<br />

where is the number of the counter as specified by COUNT&, for<br />

example CNT5$. A counter variable without a matching counter will be<br />

regarded as a common string variable.<br />

The value of the start, stop, and restart parameters decide the type of counter<br />

(alpha or numeric). If different types of counter are specified in these<br />

parameters, the last entered parameter decides the type. Alpha counters<br />

count A-Z whereas numeric counters use numbers without any practical<br />

limit.<br />

Counters are not saved in the printer’s memory, but will have to be recreated<br />

after each power up. Therefore, it may be wise to save the COUNT&<br />

statements as a file in the host.<br />

START:<br />

Decides the first value to be printed. If a single letter is entered (A-Z),<br />

the counter will become an alpha counter, and if one or several digits are<br />

entered the counter will be numeric. Numeric values can be positive or<br />

negative. Negative values are indicated by a leading minus sign.<br />

Default: 1 (numeric) or A (alpha)<br />

0 <strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!