KA.Barcode for .NET Suite
How to Generate EAN-128 in C# Application
How to Generate Linear EAN-128 Barcode Images in C#, ASP.NET, WinForms, Crystal & RDLC

C# GS1-128 Barcode Generator
How to creating ean-128, gs1-128 barcode with free c# example









  • Mature barcode encoder SDK for generating GS1-128/EAN-128 1D barcodes in C#.NET
  • Written in managed C#.NET, supporting .NET Framework 2.0, 3.0, 3.5 and above versions
  • Support GS1-128 barcode generation in ASP.NET, WinForms, Crystal Reports, RDLC Reports etc
  • Support Gif, Bmp, Png, Jpeg/Jpg & Tiff image formats for generated GS1-128 barcodes
  • Enable various barcode options including size, color, font, checksum calculation, orientation, etc.
  • Grant royalty-free and reliable developer license for this C# EAN-128 barcode SDK
C# EAN-128 Barcode Generator Introduction
KA.Barcode Generator for .NET Suite is a highly versatile barcode encoder package for developers to easily add barcoding function in VS.NET, so you can print and integrate GS1-128 image and other linear & bi-dimensional barcodes in C#.NET development environment. This page will guide you to create EAN-128 programmatically in C#. In addition, you can also adjust barcode settings for the generated GS1-128 images, like bar width, image width & height, margins, etc.
What Is An EAN-128 Barcode
GS1-128 is a self-checking linear barcode also named as EAN-128, UCC-128, UCC/EAN-128, GTIN-128. It has the same encoding patterns as that of a Code 128 barcode, but it can encode all ASCII characters including A-Z, a-z, numeric digits and more.

GS1-128 Barcode Data Encoding in C#

Encodable character sets

  • All 128 characters of ASCII

  • Extended ASCII. Values 128-255 in accordance with ISO 8859-1

  • Four Function characters: FNC1, FNC2, FNC3, FNC4

  • Four Code Set selection characters

  • Star/Stop characters


Maximum data length

The GS1 System has limited the maximum number of GS1-128 data character. The total number of transmitted GS1-128 data characters SHALL NOT exceed 48.

The GS1-128 data characters include GS1 Application Identifier(s) and the Function 1 Symbol Charcter (FNC1) when used as a separator character.


GS1-128 check sum character

GS1-128 standard requires a compulsory check sum digit character, which is based on module 103.

The GS1-128 check character will be appended to the end of the data message during encoding. And it will not be displayed in the GS1-128 barcode text label and it will not be returned by the barcode decoder device or barcode reader softeware. However the barcode reader will use the check digit character to verify the decoding GS1-128 barcode.

Using C# GS1-128 barcode generator library, you do not need calculate the GS1-128 checksum character. The barcode generator c# library will automatically calculate and add the check character to the GS1-128 barcode symbology in your C# applications.




Create GS1 Compatible EAN-128
  • In barcode data setting CodeToEncode, around AI code with "()", and followed by AI data, such as "(02)225(03)33344". Here "02", "03" are the AI code, "225", "33344" is the AI data,




Generate Barcode Image in Specified Width and Height
  • Set property AutoSizeAdjust to true

  • Set property DPI to be the same or higher as your printer's resolution

  • Set property BarcodeUnit to inch or cm

  • Set property BarCodeWidth and BarCodeHeight to your required image width and height
Create GS1-128 in ASP.NET Using C#
KeepAutomation barcode generator for .NET allows developers to easily stream EAN-128/ GS1-128 in ASP.NET web applications. EAN-128 barcodes can be generated in Gif, Png, Jpeg, Bmp & Tiff image formats and be inserted into ASP.NET websites through simple component drag-and-drop. You can also copy files to Microsoft IIS and create EAN-128 by adjusting URL (Generated images can be saved for future use). In addition, users can also create EAN-128 images in C# class library. Fore more information, please check this link How to print barcode in Visual C# with ASP.NET web control.
Make EAN-128 in .NET Windows Forms Using C#
This barcode generator for .NET Suite SDK library is fully compatible with Visual Studio 2005 and above versions. It enables users to paint dynamic EAN-128 barcodes in Windows Forms applications. You can draw an EAN-128 directly on the form by control drag-and-drop. Or you can create a barcode with Visual C#.NET programming in class library. Click here to get more information: How to create barcode in .NET WinForms with Visual C#.
Print GS1-128 in Crystal Reports Using C#
You can easily make and embed multiple EAN-128/ GS1-128 barcode images in Crystal Reports with this .NET barcode encoder dll library. Installation is quite easy with just a few steps and no more barcode fonts or third party tools are required. Please follow the detailed generation guide to know how: How to create barcode in Crystal Reports with Visual C#.
Embed EAN-128 in RDLC Reports Using C#
Written in Visual C# code, this .NET control supports full integration into .NET Framework as well as Visual Studio 2005 and above versions. With this dll, developers can easily integrate EAN-128 barcode images in Visual Studio ReportViewer Local Reports. Here is the guide: How to create barcode in RDLC Reports with C# code.
GS1-128 Property Settings
Generate GS1-128 in .NET Applications with C#