Output barcode screenshot (Deutsche Post Identcode symbology)

Deutsche Post Identcode (Deutsche Post AG IdentCode, German Postal 2 of 5 IdentCode, Deutsche Frachtpost IdentCode, IdentCode, Deutsche Post AG DHL) barcode

Deutsche Post Identcode symbology. Deutsche Post Identcode (Also known as Deutsche Post AG IdentCode, German Postal 2 of 5 IdentCode, Deutsche Frachtpost IdentCode, IdentCode, Deutsche Post AG (DHL). This symbology is used by German Post (Deutsche Post AG) (Deutsche Frachtpost). The barcode contains a tracking number providing an identification of the customer (sender) and the mail piece. The value to encode length is fixed to 11 digits. The value to encode must have the following structure: 2 digits for ID of primary distribution center, 3 digits for Customer ID, and 6 digits for Mailing number.

Important: you can also use BarCode Windows Forms or Web ImageControl instead. To use the Windows Formscontrol in Visual Studio please open Toolbox and open “Bytescout Software” tab and drag-n-drop “BarCode” control into your WinForms or ASP.NET application (in design mode)

How to create Deutsche Post Identcode barcode:

Visual Basic:

Imports Bytescout.BarCode

Module Module1

Sub Main()
‘ Create new barcode
Dim barcode As New Barcode()

‘ Set symbology
barcode.Symbology = SymbologyType.DeutschePostIdentcode

‘ Set value
barcode.Value = “12345678901”

‘ Save barcode to image
barcode.SaveImage(“result.png”)

‘ Show image in default image viewer
Process.Start(“result.png”)
End Sub

End Module

C#:

using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

using Bytescout.BarCode;

namespace Sample
{
class Program
{
static void Main(string[] args)
{
// Create new barcode
Barcode barcode = new Barcode();

// Set symbology
barcode.Symbology = SymbologyType.DeutschePostIdentcode;

// Set value
barcode.Value = “12345678901”;

// Save barcode to image
barcode.SaveImage(“result.png”);

// Show image in default image viewer
Process.Start(“result.png”);
}
}
}