History of Barocde Code 128

17 Oct

Barcode Introduction —Code 128 Barcode Symbology

Code 128 is an excellent alphanumeric linear barcode symbology. It has a very high density to encode all ASCII characters with a variable length. Each Code 128 barcode is consisting of a starting quiet zone, start character (often disabled), encoded data, checksum digit (calculated on Modulo 103), a stop character (often disabled) and an ending quiet zone. Code 128 encodes alphanumeric or numeric-data only.

Code 128 Barcode Creator encodes:

  • Standard ASCII characters
  • Extended ASCII characters

Code 128 Structure

Code 128 should comprise 6 parts according to the barcode specification ISO/IEC 15417. Each character is composed of 6 elements, 3 of which are bars and the others are spaces. The bars and spaces are arranged alternately from left to right and each of which is composed of 1, 2, 3 or 4 modules. (Note: The stop character is 13 modules since it comprises an additional bar element).

Checksum Digit of Code 128

The symbol check character of Code 128 is mandatory and shall be included as the last symbol character before the Stop character. However it should not be displayed in the human readable interpretation. To compute checksum digit for Code 128, just follow the steps:

  1. Calculate the numeric values of the start character.
  2. Calculate the numeric values of the first data followed the start character. Multiply the value with 1 (it’s position value).
  3. Calculate and multiply the numeric values of the followed digit with it position value in sequence.
  4. Divided the value by 103. The remainder is the checksum digit should be appended.
  5. End with a stop character.
  6. The remainder of the division is the check digit.

It is easy to encode Code 128, Code 128A, Code 128B and Code 128c in ASP.NET applicaitions, winforms, word, excel, crystal reports, local client side reports, SQL reporting services ect. Details please refer to http://www.aspper.com for barcode.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: