2 of 5 Matrix
The 2 of 5 Matrix is a high-density linear barcode designed to encode numerical data (0-9) of arbitrary length. It was developed by Identicon in 1968. This type of code provides high density due to the use of spaces between lines for encoding information, resulting in both lines and spaces being used in the encoding process.
The code has built-in self-checking and supports bidirectional reading, meaning it can be read from left to right or right to left.
Code structure:
- start character;
- data;
- optional verification character. Calculated using the formula
mod 10
; - stop character.
The character consists of five lines, two of which are wide. It is a symbology with two widths, meaning that it defines the width of a thin line, and anything wider is considered a wide line. This allows printing codes with a large tolerance on not-so-high-quality equipment.
2 of 5 Matrix is used for labeling goods in warehouses, marking airline tickets, and in photo labs.
To generate a 2 of 5 Matrix 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 Matrix:
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
: