Interleaved 2 of 5
The Interleaved 2 of 5 (ITF 2/5) barcode is a classic linear code for encoding numerical information of any length. It was developed by David Allais in 1972.
A distinctive feature of this barcode is the mandatory requirement of an even number of encoded characters. This is because characters are encoded in pairs. If the code has an odd number of digits, a zero is added before the barcode.
The first character of the pair is encoded with bars, and the second with spaces. The bars and spaces can be narrow or wide. Each character is encoded with five bars or spaces. Two bars are wide, and three are narrow. The same applies to the spaces.
Thanks to this encoding method, the barcode has a high density and takes up less space than, for example, Code 39.
The Interleaved 2 of 5 barcode is used for product labeling in warehouses, as well as in shipping.
Code structure:
- start character – the code start;
- encoded data;
- optional check digit;
- stop character.
The barcode provides self-checking, so the presence of a check digit is not mandatory.
To generate an Interleaved 2 of 5 barcode in FastReport .NET, select the Barcode object at the Components Panel in the Report Designer. In the drop-down list, navigate to the "Others" category, and then choose 2/5 Interleaved:
After selecting the barcode, place it on the Report Page.
Double-click on the added barcode to open the editor. You can also open the barcode editor by clicking the button in the context menu of the added object, accessed by right-clicking:
If you want to hide the text under the barcode, locate the ShowText
property in the property inspector of the corresponding barcode and set its value to False
: