Warning: Declaration of Mesmerize_Logo_Nav_Menu::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /home/idautoma/public_html/code128font.com/wp-content/themes/mesmerize-pro/inc/Mesmerize_Logo_Nav_Menu.php on line 0

Warning: Declaration of Mesmerize_Logo_Page_Menu::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /home/idautoma/public_html/code128font.com/wp-content/themes/mesmerize-pro/inc/Mesmerize_Logo_Page_Menu.php on line 0
Code 128 Font FAQ & Character Set | Code128Font.com

Code 128 Font FAQ & Character Set

Create Code 128 barcodes across multiple platforms

Universal Code 128 FAQ

Code 128 Universal Font FAQ & Character Set

With all IDAutomation Universal Font licenses, royalty free rights are granted for the Universal Font Encoders (which include macros, plug-ins and source code) for application integration. Reference of the character set is usually not necessary when making use of these encoders.

Code-128 Universal Character Set

The characters used to generate Code 128 barcode symbols with the Universal Font provide compatibility for all countries, code pages and operating systems. Within the Code 128 Universal character set, a combination of three characters (letters A-P represented in the Chars column below) are used to reference a single barcode value. For example, to encode the character “V” in set B, the character combination of “IAG” would be used. When displayed or printed with the Universal Font, “IAG” generates character “V”, which is the Code 128 barcode value of 54. The Online Font Encoder may be used to view data conversion.

Code ACode BCode CCharsValue
SpaceSpace0EFF0
!!1FEF1
""2FFE2
##3BBG3
$$4BCF4
%%5CBF5
&&6BFC6
''7BGB7
((8CFB8
))9FBC9
**10FCB10
++11GBB11
,,12AFJ12
--13BEJ13
..14BFI14
//15AJF15
0016BIF16
1117BJE17
2218FJA18
3319FAJ19
4420FBI20
5521EJB21
6622FIB22
7723IEI23
8824IBF24
9925JAF25
::26JBE26
;;27IFB27
<<28JEB28
==29JFA29
>>30EEG30
??31EGE31
@@32GEE32
AA33ACG33
BB34CAG34
CC35CCE35
DD36AGC36
EE37CEC37
FF38CGA38
GG39ECC39
HH40GAC40
II41GCA41
JJ42AEK42
KK43AGI43
LL44CEI44
MM45AIG45
NN46AKE46
OO47CIE47
PP48IIE48
QQ49ECI49
RR50GAI50
SS51EIC51
TT52EKA52
UU53EII53
VV54IAG54
WW55ICE55
XX56KAE56
YY57IEC57
ZZ58IGA58
[[59KEA59
\\60IMA60
]]61FDA61
^^62OAA62
__63ABH63
nul`64ADF64
soha65BAH65
stxb66BDE66
etxc67DAF67
eotd68DBE68
enoe69AFD69
ackf70AHB70
belg71BED71
bsh72BHA72
hti73DEB73
lfj74DFA74
vtk75HBA75
ffl76FAD76
crm77MIA77
s0n78HAB78
s1o79CMA79
dlep80ABN80
dc1q81BAN81
dc2r82BBM82
dc3s83ANB83
dc4t84BMB84
naku85BNA85
synv86MBB86
etbw87NAB87
canx88NBA88
emy89EEM89
subz90EME90
esc{91MEE91
fs|92AAO92
gs}93ACM93
rs~94CAM94
usdel95AMC95
fnc 3fnc 396AOA96
fnc 2fnc297MAC97
ShiftShift98MCA98
code Ccode C99AIM99
code Bfnc 4code BAMI100
fnc 4code Acode AIAM101
fnc 1fnc 1fnc 1MAI102
Start AStart AStart AEDB103
Start BStart BStart BEBD104
Start CStart CStart CEBJ105
StopStopStopGIAHna

VB Source Code Example

The following VB example for Code-128B loads the character set into an array and references the characters being encoded by subtracting 32 from the character ASCII value. A complete set of VB source code is provided in the purchased version that supports all character sets, as well as the encoding of the FNC1 character for generation of GS1-128.

Public Function IDAutomation_Uni_C128b(DataToEncode As String) As String
    SetC128 = Array(“EFF”, “FEF”, “FFE”, “BBG”, “BCF”, “CBF”, “BFC”, “BGB”, “CFB”, “FBC”,
    “FCB”, “GBB”, “AFJ”, “BEJ”, “BFI”, “AJF”, “BIF”, “BJE”, “FJA”, “FAJ”, “FBI”, “EJB”,
    “FIB”, “IEI”, “IBF”, “JAF”, “JBE”, “IFB”, “JEB”, “JFA”, “EEG”, “EGE”, “GEE”, “ACG”,
    “CAG”, “CCE”, “AGC”, “CEC”, “CGA”, “ECC”, “GAC”, “GCA”, “AEK”, “AGI”, “CEI”, “AIG”,
    “CIE”, “IIE”, “ECI”, “GAI”, “EIC”, “EKA”, “EII”, “IAG”, “ICE”, “KAE”, “AKE”, “IEC”,
    “FDA”, “OAA”, “ABH”, “ADF”, “BAH”, “BDE”, “DAF”, “IGA”, “KEA”, “IMA”, “DBE”, “AFD”,
    “MIA”, “HAB”, “AHB”, “BED”, “BHA”, “DEB”, “DFA”, “HBA”, “FAD”, “CMA”, “ABN”, “BAN”,
    “BBM”, “ANB”, “BMB”, “BNA”, “MBB”, “NAB”, “NBA”, “EEM”, “EME”, “MEE”, “AAO”, “ACM”,
    “CAM”, “AMC”, “AOA”, “MAC”, “MCA”, “AIM”, “AMI”, “IAM”, “MAI”, “EDB”, “EBD”, “EBJ”)
    WeightedTotal = 104
    PrintableString = SetC128(104)
    StringLength = Len(DataToEncode)
    For I = 1 To StringLength
CurrentCharNum = (AscW(Mid(DataToEncode, I, 1))) – 32
CurrentValue = CurrentCharNum * I
WeightedTotal = WeightedTotal + CurrentValue
PrintableString = PrintableString & SetC128(CurrentCharNum)
    Next I
    CheckDigitValue = (WeightedTotal Mod 103)
    PrintableString = PrintableString & SetC128(CheckDigitValue)
    IDAutomation_Uni_C128b = PrintableString & “GIAH”
End Function