Applying check digits – Pitney Bowes J640 User Manual
Page 143

Applying Check Digits ––––––––––––––––––––––––––––––––––––––
Check digit algorithms are predefined for UPC and EAN bar
codes.
Example
{A,1,A,R,10,5,P,"65432"
p
}
Syntax
{A,selector,action,device,modulus,fld_length,D/P,
weights
p
}
A1. A
Indicates a check digit data stream. Enter A.
A2. selector
Assign a number from 1-10 to this check digit formula.
A3. action
Adds a check digit scheme. Enter A.
A4. device
Print storage device. R is the only valid option.
A5. modulus
Number from 2-11. Modulus used in calculation.
A6. fld_length
Number of weighting digits used. Should equal the
number of digits in the field, minus the check digit.
A7. D/P
Algorithm. Options:
D
sum of digits
P
sum of products
A8. weights
String of digits used for calculation. The number of digits
in this string should equal the number in parameter #5
(field length).
J640 Programmer’s Manual
7-28