KA.Barcode Generator for .NET Suite
How to Print EAN-128 in C# with Valid Data
Complete C#.NET source code to generate EAN-128 images using Barcode Generator for .NET Control

C# EAN 128 Barcode Generator: creating, printing EAN 128, gs1 128 barcodes in C# with valid data

  • Simple to generate, create 1D EAN-128 linear barcode images in C#.NET class & console applications
  • Support .NET framework 2.0, 3.0, 3.5 and above versions, compatible with Microsoft Visual Studio 2005 to 2010
  • Print, insert EAN-128 bar codes ASP.NET websites, Windows Forms, Crystal Reports, Reporting Services
  • Compatible with latest GS1 specification to ensure readability of the generated EAN-128 images
  • Powerful barcode component .NET barcode, barcode Excel, barcode .NET WinForms developed for easy barcode creation
  • Easy to encode alphanumeric data for GS1-128/GS1-128 linear barcode images
  • Resolution adjustable to allow high-quality EAN-128 barcode output for all printers
  • Support Application Identifier (AI), FNC1, FNC3 for EAN-128 barcodes
  • Special feature to create EAN-128 barcodes with four code sets character selection
  • Draw Codabar Word, Code 39 .NET WinForms, .NET Code 128, Code 39 Java & other Word EAN-13 in .NET IDEs
KA.Barcode Generator for .NET Suite is a versatile barcoding generation component addin SDK for dynamically generating, printing EAN-128 and other 1D, 2D barcode symbologies in Winforms, inserting images in ASP.NET, Crystal Reports, SQL Server Reporting Services, C#.NET, VB.NET class & console applications. Here are two more tutorials with C# demo code to guide you resize EAN-13 images and save them in various image formats.
EAN-128 Introduction
EAN-128 is a bidirectionally decodable self-checking linear barcode, which is also named GS1-128, UCC-128, UCC/EAN-128, GTIN-128. EAN-128 can encode various data types like alphabets and numerics.

Valid Data

  • All 128 ISO/IEC 646 characters, i.e. characters 0 to 127 inclusive, including A-Z, a-z, 0-9, and special characters
  • Four code set selection characters (including single character code set shift) (KA.will shift automatically for you)

Valid Length

  • EAN-128 barcode has a variable symbol length.
EAN-128 Data Encoding in KA.Barcode Generator for .NET Suite

Install KA.Barcode Generator for .NET Suite into Project & Program

  1. 1.
  2. 2.
    Add Reference: Add "KeepAutomation.Barcode.Window.dll" to your .NET WinForms project reference.
  3. 3.
    Add to Toolbox: Add BarCodeControl to your .NET Visual Studio toolbox.
  4. 4.
    Copy the simple C# example codings below into your projects to produce EAN-128 barcode pictures in .NET
using KeepAutomation.Barcode.Bean;

BarCode ean128= new BarCode();
ean128.Symbology = KeepAutomation.Barcode.Symbology.EAN128;
ean128.CodeToEncode = "C#GS1128";
ean128.X = 2;

Numeric Data for EAN-128 Barcoding

EAN-128 barcode can encode alphanumeric data characters with a variable length. If you want to encode numeric digits only to convert string into EAN-128 image, follow the sample code below:
ean128. Symbology = Symbology. EAN128;
ean128.CodeToEncode = "456666";

AlphaNumeric Data for EAN-128 Printing

EAN-128 barcode can encode alphanumeric data, including upper-case & lower-case letter (A-Z, a-z) as well as numeric digits 0-9. Copy the following demo code to display a valid EAN-128 image. You do not have to worry about shifting between different code sets, since KA.Barcode Generator for .NET Suite will automatically make the shift according to your encoding data as specification requires.
ean128. Symbology = Symbology. EAN128;
ean128.CodeToEncode = "KABarcode4U";