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. Do not use with Option 42 (price field).

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

 

 

(1 - 100 for 9403).

 

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 (1 - 100 for 9403).

 

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.

Defining Field Options 4-15

Page 103
Image 103
Monarch 9825, 9850, 9403 manual 60,I/D,amount,l pos,r pos p, 60,I,5,1,6 p