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
3.
Next, the product of each digit is added together. This is the
sum of the products.
20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98
Defining Field Options
5-15
Содержание Monarch 9412
Страница 8: ...vi Table of Contents ...
Страница 14: ...1 6 Getting Started ...
Страница 22: ...2 8 Designing a Format ...
Страница 70: ...4 22 Defining Fields ...
Страница 88: ...5 18 Defining Field Options ...
Страница 98: ...6 10 Printing ...
Страница 118: ...u support agreement contract number or invoice information u customer number u printer serial number 8 6 Diagnostics ...
Страница 143: ...Samples A 9 ...
Страница 146: ...A 12 Samples ...
Страница 148: ...These samples were printed using the Internal Symbol set Bold Font Standard Font Reduced Font OCRA like Font B 2 Fonts ...
Страница 149: ...These samples were printed using Code Page 437 CG Triumvirate Bold Font CG Triumvirate Font Fonts B 3 ...
Страница 158: ...A N S I S y m b o l S e t These are the printable characters using the ANSI Symbol set C 4 Symbol Sets Code Pages ...
Страница 159: ...B o l d C h a r a c t e r S e t These are the printable characters using the Bold font Symbol Sets Code Pages C 5 ...
Страница 160: ...O C R A C h a r a c t e r S e t These are the printable characters using the OCRA font C 6 Symbol Sets Code Pages ...
Страница 161: ...C o d e P a g e 4 3 7 These are the printable characters using Code Page 437 Symbol Sets Code Pages C 7 ...
Страница 162: ...C o d e P a g e 8 5 0 These are the printable characters using Code Page 850 C 8 Symbol Sets Code Pages ...
Страница 166: ...C 12 Symbol Sets Code Pages ...
Страница 169: ...B a t c h W o r k s h e e t Format Design Tools D 3 ...
Страница 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 ...
Страница 183: ......
Страница 184: ......