C - counter 3-27, Command - counter -27 – Zebra Technologies EPL2 User Manual

Page 45

Advertising
background image

C Command - 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

Cp

1

,

p

2

,

p

3

,

p

4

, “

[-]PROMPT

Parameters

p

1

= Counter number. Range:

0

to

9

p

2

= Maximum number of digits for the counter.

Range:

1

to

29

p

3

= Field Justification.

L

= Left

R

= Right

C

= Center

N

= No Justification

p

4

= 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

Options

[

-

] = Having the first character of the prompt

a single minus sign will cause the

prompt to display only once after form

retrieval.

980352-001 Rev.A

3-27

Advertising