Output barcode screenshot (UPC-E symbology)

Swiss Post Parcel barcode sample image

Swiss Post Parcel (Also known as SwissPost Parcel Barcode, Switzerland Post Parcel Barcode, Swiss PostParcel Barcode) symbology. This symbology is used by Swiss Post. It identifies each parcel and serves as a means of verifying mailing and delivery and checking the service offering. All parcels must have a unique barcode. The barcode is the requirement for automated processing. The barcode serves as a means of identifying the item. The structure of the Swiss Post Parcel barcode is 18 numeric digits: 2 digits for Swiss Post reference, 8 digits for Franking license number, and 8 digits for Item 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 make Swiss Post Parcel barcode:

Visual Basic:

Imports Bytescout.BarCode

Module Module1

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

‘ Set symbology
barcode.Symbology = SymbologyType.SwissPostParcel

‘ Set value
barcode.Value = “123456789012345678”

‘ 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.SwissPostParcel;

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

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

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