× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm not understanding how to compute the check digit for a code 128 type c bar code,

First, I guess, is this simple question: Does the DDS BARCODE keyword have an option to do this? We are on (stuck at) v5r4. I didn't see anything that would generate the check digit. I have a sample, printed, of a 7 digit number (1234567).

My efforts, thus far, have been:

Move 105 to a counter (start type c)
Add 12.
Add product of (34 * 2)
Add product of (56 * 3)
Add 104 (start type c)
Add 23

Divide counter by 103, use remainder to look up the check digit.

The resulting bar code (compared to my reference) is missing some bars on the right side, like a digit. But, what is missing?

Can anybody shed some light on this for me?

Thanks,

John McKee

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.