Kodak A-61097 Scanner User Manual


 
A-61097 May 1997 2-31
Constant1—A constant value in the range 0 through 99.
Divisor—a constant value between 0 and 99.
NOTE: The divisor is not used if value specified is zero (0).
In addition to the parameters in the equation, there are other user defined
parameters which affect check digit processing:
Left/Right specifier (also referred to as L/R of Decimal)—Indicates the
location of the check digit in relation to the decimal point in the
calculation results. This rule is applied to the ([Sum of IA Digits *
Attributes] = Constant 1)/Divisor portion of the calculation. If Left is
specified, the check digit is the digit immediately to the left of the
decimal point; if Right is specified, the digit immediately to the right of
the decimal point is the check digit. For example: If the calculation
produces the number 123.45 and Right is the designated Left/Right
parameter, then 4 is used.
The following are exceptions to the Left/Right specifier rule:
If Constant2 is not zero, and the Left/Right specifier is Left, the
check digit equals the difference between Constant2 and the first
digit to the left of the decimal point. If Constant2 is zero, the first
digit to the left of the decimal point becomes the check digit.
If Constant2 is not zero and the Left/Right specifier is Right, the
check digit equals the difference between Constant2 and the first
digit to the right of the decimal. If Constant2 is zero, the first digit to
the right of the decimal point becomes the check digit.
LUT (Lookup Table) Status—If Yes, the final check digit calculated is
used as an index into a lookup table. If No is specified, the lookup table
is ignored.
Lookup table—A table of check digit values (refer to Table 2).
Table 2: Default Lookup Table values
C10 c9 c8 c7 c6 c5 c4 c3 c2 c1 c0
a b c d e f g h i j k