.NET EAN 128 Barcode Generator
How to generate, print EAN 128, GS1-128 barcode labels in .net, c#, vb.net, asp.net

Free C#, vb.net example source code to create, make, print EAN 128, GS1 128 barcode labels in asp.net, crystal reports.

  • 100% compatible with the latest GS1 specification to ensure high readability
  • Integrate with .NET Framework 2.0/3.5 & greater and MS Visual Studio 2005/2008/2010
  • Easy-to-use GS1-128/ EAN-128 barcode generation SDK in ASP.NET web sites, WinForms, and more .NET projects
  • Allows customization of EAN-128 image width, height, resolution, orientation, color, etc
  • Provide detailed tutorials, covering EAN-128 creation, data encoding, and size setting in C#/VB.NET
  • Programmatically encode and print EAN 128 graphics with Jpeg, Gif, Png, Tiff and Bmp image formats
  • Support thermal printer to allow accurate EAN-128 barcode image output even on low-resolution printers
KA.Barcode Generator for .NET Suite Summary
This Barcode Generator for .NET Suite SDK allows high-quality EAN-128 and other linear/ bi-dimensional barcode symbologies to be generated in .NET projects, including ASP.NET web forms, Windows applications, C#, VB.NET class, .NET Reports and .NET console applications.
EAN-128 Barcode Introduction
EAN-128 (also known as: EAN-128, UCC-128, USS-128, UCC.EAN-128, and GTIN-128) is developed to provide a worldwide format and standard for exchanging common data between companies. It is a variable-length linear barcode with high density.
EAN-128 Encodable Character Set
  • 0-9
  • A-Z
  • a-z
  • Special characters: space $ % + - . /
Download EAN-128 Barcode Control for .NET Suite
This KA.Barcode for .NET Suite is used by many developers to generate EAN-128 barcode iamges in various .NET applications. Please download and unzip the trial package. The trial version can not be used for any commercial application due to a "KA Barcode" watermark incuded in the generated barcode image. It contains the following items:
  • KeepAutomation.Barcode.Crystal.dll
  • KeepAutomation.Barcode.RDLC.dll
  • KeepAutomation.Barcode.SSRS2005.dll
  • KeepAutomation.Barcode.SSRS2005CRI.dll
  • KeepAutomation.Barcode.SSRS2008.dll
  • KeepAutomation.Barcode.SSRS2008CRI.dll
  • KeepAutomation.Barcode.Web.dll
  • KeepAutomation.Barcode.Windows.dll
How to Create EAN-128 Barcode Using C# or VB.NET Class
  1. Add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to your project reference.
  2. Copy C# or VB sample code below to create EAN-128 barcode image.
C# Sample code
     BarCode ean128 = new BarCode();
ean128.Symbology = KeepAutomation.Barcode.Symbology.EAN128;
ean128.CodeToEncode = "(00)0128";

VB Sample code
     Dim ean128 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean128.Symbology = KeepAutomation.Barcode.Symbology.EAN128
ean128.CodeToEncode = "(00)0128"

How to Generate EAN-128 Barcode in ASP.NET Project
  1. First of all, you need to open your Visual Studio and create a new ASP.NET project.
  2. Then, you may copy "barcode.aspx" and "barcode.aspx.cs" in "barcode" folder to your project folder.
  3. Next, you should add "KeepAutomation.Barcode.Web.dll" to your project reference.
  4. What's more, you need to drag and drop "BarCodeControl" in Toolbox to the aspx page to generate the EAN-128 barcode image.
  5. Finally, choose EAN128 barcode type in the Properties panel and debug to see the created EAN-128 barcode image.
We offer a guide for you to generate EAN-128 barcode image in IIS.
  1. Unzip the downloaded trial package and copy "barcode" folder in it to your IIS web application folder.
  2. Establish a new virtual directory (named as "barcode").
  3. Restart your IIS and navigate to "http://YourDomain:port/barcode/barcode.aspx?code-to-encode=(00)0128&symbology=11".
  4. To insert barcodes in html or aspx pages, refer to:
    <img src="http://YourDomain:port/barcode/barcode.aspx?code-to-encode=(00)0128&symbology=11"/>
  5. Simply customize your generated EAN-128 barcode image through the above URL.
How to Insert EAN-128 Barcode in .NET WinForms
  1. Unzip the downloaded evaluation package of .NET EAN-128 barcode generator online.
  2. Add KeepAutomation.Barcode.Windows.dll in the unzipped package to the Toolbox.
  3. Drag and drop the BarCodeControl from the Toolbox into the form.
  4. Choose "EAN128" as "Symbology" in Properties window.
  5. View the generated EAN-128 barcode image and change its other properties through the Properties window.
How to Add EAN-128 Barcode in .NET Reports

EAN-128 Barcode Image Generation Tutorial in Crystal Reports
Refer to this free EAN-128 barcode generation tutorial in Crystal Reports to create standard and user-defined barcode images.
EAN-128 Barcode Image Generation Tutorial in RDLC Reports
Refer to this free EAN-128 barcode generation tutorial in RDLC Reports to create standard and user-defined barcode images.
EAN-128 Barcode Image Generation Tutorial in Reporting Services
Refer to this free EAN-128 barcode generation tutorial in Reporting Services to create standard and user-defined barcode images.
GS1-128 Property Settings
Class Attribute HTTP Attribute Default Value Note
Symbology symbology Code128Auto Barcode symoblogy type
CodeToEncode code-to-encode "128" Barcode value to encode.
ChecksumEnabled checksum-enabled false It is not applied here.
ImageFormat image-format ImageFormat.Png Barcode encoded image format.
Barcode Size
AutoSizeAdjust auto-size-adjust false If true, barcode X, Y module will be auto-adjusted.
BarcodeUnit barcode-unit BarcodeUnit.Pixel Unit of measure for all size related settings. 0: pixel; 1: inch; 2: cm.
X x 1 Barcode module width (narrow bar).
Y y 50 Linear barcode bar height / 2D barcode module height.
LeftMargin left-margin 0 Barcode image left margin.
RightMargin right-margin 0 Barcode image right margin.
TopMargin top-margin 0 Barcode image top margin.
BottomMargin bottom-margin 0 Barcode image bottom margin.
DPI dpi 72 Barcode image resolution in dpi.
Orientation orientation Orientation.Degree0 Barcode rotation angle.
BarCodeWidth barcode-width 0 Whole barcode width.
BarCodeHeight barcode-height 0 Whole barcode height.
Barcode Text Style
DisplayText display-text true Set to true, displaying barcode value text, otherwise do not display.
DisplayChecksum displace-checksum true Set to true, displaying barcode checksum digit, otherwise do not display.
TextFont text-font new Font(" Arial", 10 f, FontStyle.Regular) Barcode text font style.
TextMargin text-margin 6 Margin between barcode and text.
GS1-128 Specific Settings
FNC1 fnc1 FNC1.None Apply to encode GS1 compatible Code 128.
TildeEnabled tilde-enabled false Set to true, specifying special characters in Code 128 / EAN-128 data.
Free Trial DownloadC#/VB EAN 128For Web EAN 128For Windows EAN 128For Reports EAN 128Using C#Using VB.NETData Matrix for .NETPDF417 for .NETQR Code for .NETmoreCodabar for .NETCode 39 for .NETCode 128 for .NETEAN-8 for .NETEAN-13 for .NETIntelligent Mail for .NETInterleaved 2 of 5 for .NETISBN for .NETITF-14 for .NETRM4SCC for .NETUPC-A for .NETUPC-E for .NETmore
KeepAutomation provides complete barcode automation solutions. We recommend the customers use high quality document controls: ASP.NET Document Viewer, ASP.NET MVC Document Viewer, Document Viewer ASP.NET C#, ASP.NET PDF Viewer, ASP.NET Word Viewer, ASP.NET Excel Viewer, ASP.NET PDF Editor, MVC PDF Viewer, ASP.NET Annotate PDF, c# pdf sdk, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from RasterEdge.com.