O p t i o n 6 0 ( I n c r e m e n t i n g / D e c r e m e n t i n g F i e l d s )
You may have an application, such as serial numbers, in which
you need a numeric field to increment (increase in value) or
decrement (decrease in value) on successive tickets within a
single batch. Incrementing or decrementing can be applied to
numeric
data only. If you have a field that includes letters and
digits, apply incrementing or decrementing to only the portion of
the field that contains digits.
Syntax
R,60,I/D,amount,l pos,r pos
p
R1. R
Option Header.
R2. 60
Option
60
.
R3. I/D
I
incrementing field
D
decrementing field
R4. amount
Amount to increase or decrease. Range:
0- 999
.
R5. l pos
Leftmost position in inc/dec portion of field. If this value is not
entered, the default value
1
is used. Range:
0 - 2710
.
R6. r pos
Rightmost position in inc/dec portion of field. If this value is
not used, the entire field length is used as the default.
Range:
0 - 2710
.
Example
R,60,I,5,1,6
p
Increments a field by 5 each time the field is printed. The field
increments beginning with the first left position and ending with
the sixth position.
F i x i n g t h e F i r s t N u m b e r i n t h e I n c r e m e n t i n g S e q u e n c e
There are two ways to enter the first number in the incrementing
sequence. You can use batch data or use Option 1 to define the
first number as a fixed character.The first number in the sequence
must contain the same amount of digits as the highest number to be
counted. For example, to count the numbers
1
to
999
, the first
number in the sequence must be entered as
001
.
5-12
Defining Field Options
Summary of Contents for Monarch 9412
Page 8: ...vi Table of Contents ...
Page 14: ...1 6 Getting Started ...
Page 22: ...2 8 Designing a Format ...
Page 70: ...4 22 Defining Fields ...
Page 88: ...5 18 Defining Field Options ...
Page 98: ...6 10 Printing ...
Page 143: ...Samples A 9 ...
Page 146: ...A 12 Samples ...
Page 166: ...C 12 Symbol Sets Code Pages ...
Page 169: ...B a t c h W o r k s h e e t Format Design Tools D 3 ...
Page 170: ...C h e c k D i g i t W o r k s h e e t D 4 Format Design Tools ...
Page 183: ......
Page 184: ......