Code 128

 

Syntax

CODE128(string_value)

Description

Calculates a Code 128 bar code

Example

CODE128("123456")

 

 
Parameter description

string_value

The value represented by the bar code

 

This symbology is a very compact bar code for all alphanumeric applications.

 

The full (128-character) ASCII character set can be encoded in this symbology without the double characters found in extended Code 39.

 

If the bar code has four or more consecutive numbers (0–9), the numbers are encoded in double-density mode (where two characters are encoded into one character position).

 

Code 128 actually has three different character-code subsets. It has two forms of error checking, making it a very stable bar code.

 

Checksums are not required.

 

 If you have a choice, Code 128 is generally the best all round one.