Zebra Technologies EPL2 manual Command Counter, Syntax Cp1, p2, p3, p4, -PROMPT

Models: EPL2

1 138
Download 138 pages 45.57 Kb
Page 45
Image 45

CCommand - Counter

Description The counter (C) command defines one of 10 automatic counters used in consecutive num- bering applications (i.e. serial numbers). Coun- ters must be defined after variables.

For Numeric Serialization Only. The counter function does not support Alpha or Alpha-Numeric Serialization.

Syntax Cp1, p2, p3, p4, [-]PROMPT

Parameters p1

= Counter number.

Range: 0 to 9

p2

= Maximum number of digits for the counter.

 

Range: 1 to 29

 

p3

= Field Justification.

 

L = Left

R = Right

 

C = Center N = No Justification

p4

= Step Value. + or - sign followed by a

 

single digit of 1 - 9. Using a step value of

+0 allows the counter to be used as an additional variable data field.

PROMPT”= An ASCII text field that will be transmitted to the KDU or host (via the serial interface) each time the command is executed. Typically used to request the operator to enter a starting counter value.

KDU Prompt [-] = Having the first character of the prompt

Options a single minus sign will cause the prompt to display only once after form retrieval.

980352-001 Rev.A

3-27

Page 45
Image 45
Zebra Technologies EPL2 manual Command Counter, Syntax Cp1, p2, p3, p4, -PROMPT, = Counter number Range 0 to