Industrial 2of5 Barcode Font

The Industrial 2of5 barcode is used for encoding numbers. It is called 2of5 because the barcode is always encoded with 2 wide bars and 3 narrow bars (total of 5 bars). Each of the bars is separated by a narrow space.

Barcode Font Names and Sizes

ConnectCode Industrial 2of5 barcode supports up to seven different heights. These barcodes with seven different heights are provided in seven fonts with different names. The barcode names are appended with characters like "S1" or "S2" etc., with each one of them representing a different height. The list below illustrates the seven different fonts that is supplied for Industrial 2of5.

  • CCodeIND2of5_S1
  • CCodeIND2of5_S2
  • CCodeIND2of5_S3
  • CCodeIND2of5_S4
  • CCodeIND2of5_S5
  • CCodeIND2of5_S6
  • CCodeIND2of5_S7
Note - If you are using the trial version, the font name will have the word "_Trial" appended to it.

Industrial 2of5 Character Mappings

All characters supported by the barcode is as shown below. All of them have a simple a direct mapping.

Data Character Barcode Font Character
Start Character'{'
Stop Character'}'
0'0'
1'1'
2'2'
3'3'
4'4'
5'5'
6'6'
7'7'
8'8'
9'9'


Using the Industrial 2of5 barcode font

For example, to encode the data "123456", you can key in the following in your text editor and choose the ConnectCode_2of5 barcode font.

Input (Using the Encoder or VB macros): 123456

Manual Input: {123456}

Output:



For example, to encode the data "56789", you can key in the following in your text editor and choose the CCodeIND2of5 barcode font.

Input (Using the Encoder or VB macros): 56789

Manual Input: {56789}

Output:



If you are using the Encoder, it will automatically put in the start/stop characters for you and allow you to choose the optional check character.

Calculation of Industrial 2of5 Check Digit

For example if the data "12345" is to be encoded as a barcode. The check digit is calculated as follows.

Data12345
Starting from the last digit, multiply by 3 followed by 1.
*3*1*3*1*3
Sum : (1*3) + (2*1) + (3*3) + (4*1) + (5*3) = 33
If Sum Modulo 10 equals 0, the result is 0. Otherwise the result is 10 - (Sum Modulo 10)
Modulo 10 :10 - (33 % 10) = 7
Data to be encoded123457
Mapping"123457"


The characters "{123457}" can then be keyed in to the text editor with the appropriate font selected to generate a Industrial 2of5 barcode with check digit.