by IDEAL Software Support » Tue Jun 19, 2012 7:20 pm
The barcode library we are using is not designed to display check digits within the human readable text. This makes sense, since check digits are not human readable at all. On the other hand, there might be cases where entering a check digit together with the human readable text by keyboard is useful, in order to make sure the text has been entered correctly.
You can solve the problem by computing the check digit yourself. For Code 39 this is really simple: First, sum the values of each character ('A' has the value 0, 'B' has the value '1', etc. - the full table of characters and their values can be found quickly in the internet). The check digit is the sum modulo 43, i.e. divide the sum by 43 and the remainder is the value of the check digit. Then convert the value into a valid character, i.e. a value of 0 is the character 'A' and so on. Append this character to the end of the string.
Note that you need to turn off the automatic check digit generation of dycodoc / VPE, when computing the check digit on your own.