Code25Checksum 

Overview

When True the toolkit will only report Code 25 barcodes where the last character is a valid checksum for the rest of the barcode. The toolkit expects a Code 25 checksum to be calculated using the following method: 

  1. Sum all of the even positioned characters (the right hand message character is always even), and multiply by 3.
  2. Sum all the odd positioned characters.
  3. Sum the totals from steps 1 and 2.
  4. The checksum is the smallest number that when added to this sum results in a multiple of 10.
  5. If the resulting number of characters is odd and you are using Interleaved Code 2 of 5 then add a leading 0 to the message data.

Default Value: False

void STSetParameter(hBarcode, ST_CODE39_CHECKSUM, uint16 *value) ;

void STGetParameter(hBarcode, ST_CODE39_CHECKSUM, uint16 *value) ;

e.g

// Turn on the Code39Checksum property
#include "barcode.h"
uint16 value = 1 ;
STSetParameter(hBarcode, ST_CODE39_CHECKSUM, &value) ;