![Paxar Monarch 9416 XL Reference Manual Download Page 76](http://html1.mh-extra.com/html/paxar/monarch-9416-xl/monarch-9416-xl_reference-manual_1513333076.webp)
A7. D/P
Algorithm. The algorithm determines how the check digit is
calculated. Options:
D
sum of digits
P
sum of products
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
.
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
4-12
Defining Field Options
Summary of Contents for Monarch 9416 XL
Page 10: ...viii Table of Contents ...
Page 140: ...8 18 Troubleshooting ...
Page 146: ...9 6 Printer Optimization ...
Page 156: ...A 10 Samples ...
Page 158: ...Bold Font Standard Font Reduced Font OCRA like Font B 2 Fonts ...
Page 159: ...CG Triumvirate Bold Font CG Triumvirate Font Fonts B 3 ...
Page 174: ...A N S I S y m b o l S e t C 4 Symbol Sets Code Pages ...
Page 175: ...B o l d C h a r a c t e r S e t Symbol Sets Code Pages C 5 ...
Page 176: ...O C RA C h a r a c t e r S e t C 6 Symbol Sets Code Pages ...
Page 177: ...C o d e Pa g e 4 3 7 L a t i n U S Symbol Sets Code Pages C 7 ...
Page 178: ...C o d e Pa g e 8 5 0 L a t i n 1 C 8 Symbol Sets Code Pages ...
Page 190: ...C h e c k D i g i t Wo r k s h e e t ...
Page 194: ......
Page 211: ......