Key in your email here
Font Products
 Barcode Fonts
  • Code 39 Barcode
  • Code 128 Barcode
  • UCCEAN Barcode
  • ITF14 Barcode
  • I2of5 Barcode
  • UPC/EAN Barcode
 Download Software
 Purchase

Using the Fonts
  • With the Font Encoder
  • With Excel
  • With Access
  • With Word
  • With Crystal Reports

Software Products
 Barcode Software Imager
 Download Imager
 Purchase


Barcode FAQ
 Barcode
  • Barcode Symobology
  • Barcode FAQ
  • Barcode Images
  • Barcode Font
 RFID
  • What is RFID?
 Thermal Printers
 Barcode Scanners
 OCR & OCR Fonts
 MICR & MICR Fonts

Barcode Resources
 Web Resources
 The Barcode CD Project
 Mobile Barcode Project



Calculation of Code128 Check Character

Code 128A

Data - ABCDEF

Data CharactersABCDEF
Multiply each of the character (the Code 128 value) with an increasing weight.
Code 128 Value333435363738
Weight*1*2*3*4*5*6
Sum :(33*1) + (34*2) + (35*3) + (36*4) + (37*5) + (38*6) = 763
For Code 128A, add an additional of 103 to the sum above
Total763 + 103 = 866
Modulo 103 Check Character:866 % 103 = 42 (which maps to the character 'J')


Code 128B

Data - abcdef

Data Charactersabcdef
Multiply each of the character (the Code 128 value) with an increasing weight.
Code 128 Value656667686970
Weight*1*2*3*4*5*6
Sum :(65*1) + (66*2) + (67*3) + (68*4) + (69*5) + (70*6) = 1435
For Code 128B, add an additional of 104 to the sum above
Total1435 + 104 = 1539
Modulo 103 Check Character:1539 % 103 = 97


Code 128C

Data - 345678

Data Characters345678
Multiply each of the two digits with an increasing weight.
Weight*1*2*3
Sum :(34*1) + (56*2) + (78*3) = 380
For Code 128C, add an additional of 105 to the sum above
Total380 + 105 = 485
Modulo 103 Check Character:485 % 103 = 73 (which maps to the character 'i')


Back to Code 128 Barcode Font



Copyright (C) 2004-2005, BarcodeResource.com. All Rights Reserved.