User`s manual

TLS PC Link
TM
Programmer’s Guide
33
+ (-) Make Last Field Entered Increment (Decrement) Numeric
The printer is capable of automatically incrementing and decrementing fields on
each label of a batch printed. This command is useful for serializing labels. The
command format is
*pii
Where:
*
-
Is + for numeric increment, or - for numeric decrement
p -
Is the fill character that is displayed for zeros on the left
ii - Is the amount to increment the field by from 01 to 99
Sample:
<STX>L
19000090000000012345<CR>
+001<CR>
X<CR>
<STX>E0003
<STX>G
The above sample will generate a single field label format that prints the initial
label with a value of 12345 and then increments by one for the next two labels.
This command will only affect numbers. If a character other than a number is
inserted, it will affect all numbers to the right of this character. Any numbers to
the left of it will be ignored. If the fill character is a space, leading zeros will be
printed blank. Some examples follow:
Field
Data
Command Label 1 Label 2
0001 +001 0001 0002
0001 + 99 1 100
A9C999 +001 A9C999 A9C000
1000 -001 1000 0999
1000 - 01 1000 999