How to create EAN128 (EAN-128, EAN-14, Shipping Container Code, UCC-14, DUN-14 (Distribution Unit Number), SSC-14, GS1-128, UCC-128, UCC/EAN-128) barcode using Bytescout BarCode SDK for .NET - ByteScout

How to create EAN128 (EAN-128, EAN-14, Shipping Container Code, UCC-14, DUN-14 (Distribution Unit Number), SSC-14, GS1-128, UCC-128, UCC/EAN-128) barcode using Bytescout BarCode SDK for .NET

  • Home
  • /
  • Articles
  • /
  • How to create EAN128 (EAN-128, EAN-14, Shipping Container Code, UCC-14, DUN-14 (Distribution Unit Number), SSC-14, GS1-128, UCC-128, UCC/EAN-128) barcode using Bytescout BarCode SDK for .NET
Output barcode screenshot (EAN128 symbology)

EAN128 (EAN-128, EAN-14, Shipping Container Code, UCC-14, DUN-14 (Distribution Unit Number), SSC-14, GS1-128, UCC-128, UCC/EAN-128) screenshot

EAN128 symbology. EAN128 symbology (Also known as EAN-128, EAN-14, Shipping Container Code, UCC-14, DUN-14 (Distribution Unit Number), SSC-14, GS1-128, UCC-128, UCC/EAN-128. This symbology was developed to provide a worldwide format and standard for exchanging common data between companies.

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 EAN14 barcode:

Here is the demo how to make EAN-128 barcode:

Visual Basic:

Imports Bytescout.BarCode

Module Module1

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

‘ Set symbology
barcode.Symbology = SymbologyType.UPCE
‘ Set value
barcode.Value = “Sample”

‘ 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.UPCE;
// Set value
barcode.Value = “Sample”;

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

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

Tutorials:

prev
next