Paxar Monarch 9850 User Manual

Page 131

Advertising
background image

A8. "weights"

String of digits used for calculation. A weight string is a group
of two or more numbers that is applied to a field. The number
of digits in this string should equal the number in fld_length.
Enclose in quotation marks. Range: 0 - 2710 (0 - 100 for
9403).

Example

{A,1,A,R,10,5,P,"65432"

p }

Adds check digit scheme number 1 to the printer’s memory. The
modulus is 10, the maximum number of characters in the field is
5. The check digit is calculated by using the Sum of Products and
the string of digits used in the calculation is "65432."

S u m o f P r o d u c t s C a l c u l a t i o n

This is an example of how the printer uses Sum of Products to
calculate a check digit for this data:

5 2 3 2 4 5 2 1 9

1. Weights are applied to each digit, starting with the last digit in

the weight string. They are applied right to left, beginning at
the right-most position of the field. Remember, a weight
string must contain at least two different numbers. This
example has a weight string
of 1,2,3,4.

field:

5 2 3 2 4 5 2 1 9

weight string:

4 1 2 3 4 1 2 3 4

2. Each digit in the field is multiplied by the weight assigned to it:

field:

5 2 3 2 4 5 2 1 9

weight string:

4 1 2 3 4 1 2 3 4

products:

20 2 6 6 16 5 4 3 36

Defining Field Options 4-23

Advertising
This manual is related to the following products: