Code 128 Font FAQ & Character Set
Create Code 128 barcodes across multiple platforms.
Code 128 Universal Font FAQ & Character Set
Which encoders can I use, and are they royalty free?
All IDAutomation Universal Font licenses grant royalty-free rights to the Universal Font Encoders (macros, plug-ins and source code) for application integration. Referencing the character set is usually unnecessary when using these encoders.
What is the universal character set?
It works across countries, code pages and operating systems. Each barcode value is represented by a three-letter combination of the letters A through P. For example, V in Code B is encoded as IAG, which is value 54. The Online Font Encoder can show the conversion.
Is there source code I can study?
A Visual Basic example for Code-128B loads the character set into an array and subtracts 32 from each character’s ASCII value to find its index. Full source code, covering all character sets and FNC1 encoding for GS1-128 (opens in a new tab), is included in the purchased version.
Code-128 Universal Character Set
Special codes include FNC 1 to 4, Shift, Code A, Code B, Code C and the Start and Stop characters.
| Character | Value and universal code |
|---|---|
| Space | Value 0, code EFF |
| V (Code B) | Value 54, code IAG |
| Start A, Start B, Start C | Values 103 to 105, codes EDB, EBD, EBJ |
| Stop | Code GIAH (no value) |
An excerpt of the character set. The full table is in the Universal Font user manual (opens in a new tab) and the purchased version.