Check Digit Coming Out Incorrect.
Hello...
I'm making a new USPS label and need a barcode that contains 3 parts. See attached.
It is not pulling from a database, just serialized embedded data.
Barcode Contains:
1. Static sender info - not human readable
2. Tracking number - barcode + human readable
3. Check digit of tracking number - barcode + human readable.
The check digit is a Mod10 and is placed at the end of the tracking number.
This is the sample tracking number I am working with: 921179000065897600007
According to this site: http://planetcalc.com/2464, the check digit should be a 3, but I am getting a 2 from the VB Script I made in Bartender.
Ideas where I went wrong?
Thank you.
-
2 is correct as far as I can see. That calculator is confusing on what it's telling you. It says "Next Check Digit: 2", which matches your BarTender result.
0 -
2 is correct as far as I can see. That calculator is confusing on what it's telling you. It says "Next Check Digit: 2", which matches your BarTender result.
Thanks for your help on this...
This is what my USPS contact is saying though:
>>The mod 10 check digit on 921179000065897600007 is 3.
>>There are a lot of mod 10 calculators out there such as planetcalc dot com
>>Thanks,
>>Matt XXXXXXXX
>>USPS New Products & Innovation0 -
In that case, I apologize for my unfamiliarity with the USPS system. Instead of LuhnMod10(), try using UccMod10()
0 -
Yes, that did it. Thank you!
0
Please sign in to leave a comment.
Comments
4 comments