Deutsche Post Leitcode
Deutsche Post Leitcode linear barcode, or simply LeitCode, is based on the widely known 2 of 5 Interleaved code. It allows you to encode 13 digital characters (0-9) and is used in the German postal service (Deutsche Post) and DHL to automate the sorting of mail items. A distinctive feature of Leitcode is its well-defined data structure, which distinguishes it from 2 of 5 Interleaved barcodes.
Code structure:
- start character;
- 1-5 – ZIP code;
- 6-8 – street number;
- 9-11 – house number;
- 12-13 – product code;
- 14 – check digit;
- stop character.
Another difference between Leitcode and 2 of 5 Interleaved is the use of the Modulo 10 algorithm to calculate the mandatory checksum.
As in the case with 2 of 5 barcodes, Leitcode uses both bars and spaces to encode data. This approach has helped reduce the size of the code. The data character in Leitcode is encoded with five modules (bars/spaces), where two bars are wide and three are narrow. The same applies to spaces. It is thanks to this combination that the barcode got its name 2 of 5.
To generate a Deutsche Post Leitcode barcode in FastReport .NET, select the Barcode object at the Components Panel in the Report Designer. In the drop-down list, navigate to the "Post" category, and then choose Deutsche Leitcode:
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
: