KA.Barcode for ASP.NET
How to Print EAN-128 in ASP.NET with Valid Data
ASP.NET source code to generate, print GS1-128/EAN-128 using Barcode Generator for ASP.NET Control
  • User-defined GS1-128/EAN-128 1D bar code creation SDK for ASP.NET
  • Draw and print Word barcode, barcode Java, barcode Excel & barcode ASP.NET in .NET IDEs
  • Generating, streaming multiple EAN-128 images in ASP.NET webforms/ websites and Microsoft IIS
  • High-quality 1D GS1-128/EAN-128 images compatible with all major web browsers
  • Encode all the ASCII characters, including Standard and Extended for GS1-128/EAN-128
  • Support Application Identifier (AI) to add on for linear GS1-128/EAN-128
  • Support using tilde character "~" to specify special characters in the input data
  • ASP.NET Interleaved 2 of 5, EAN 128 C#, .NET WinForms Code 39, ISBN Excel & PDF417 .NET WinForms can be created as well
  • Printing accurate GS1-128/EAN-128 picture in accordance with GS1 standard with high speed
  • Advanced technology to calculate & add checksum digit for EAN-128 according to algorithm in specification
GS1-128/EAN-128 generation control plugin software is a barcoding functionality of KA.Barcode Generator for ASP.NET (DLL Class Library), which allow web developers to stream & insert EAN-128 images in ASP.NET web pages/ website/ webform. It enables customers to encode valid GS1-128 with correct data character and suitable data length. KA.Barcode provides other tutorials for modifying GS1-128 barcode size and image:
GS1-128/EAN-128 Information
GS1-128/EAN-128 is a linear barcode symbology also named GS1-128, EAN-128, UCC-128, UCC.EAN-128, GTIN-128.

GS1-128/EAN-128 for ASP.NET encodes:

  • ASCII characters 0-127: letters A-Z, a-z, numeric digits 0-9 etc
  • ASCII characters 128 to 255 (character with byte values)

GS1-128/EAN-128 for ASP.NET Data Capacity:

  • Variable-length
GS1-128/EAN-128 Data Encoding in KA.Barcode Generator for ASP.NET

GS1-128/EAN-128 Data Encoding with C#, VB.NET Class in ASP.NET

  1. 1.
  2. 2.
    Add reference: Add "KeepAutomation.Barcode.Web.dll" to your ASP.NET project reference
  3. 3.
    Add to toolbox: To add BarcodeControl to your ASP.NET toolbox
Copy those following C# or VB.NET bar code printing syntax onto you forms to insert an EAN-128 in ASP.NET web pages:
using KeepAutomation.Barcode.Bean;
BarCode barcode= new BarCode();
barcode.Symbology=KeepAutomation.Barcode.Symbology.EAN128;
barcode.CodeToEncode = "(00)GS1-128/EAN-128";
barcode.generateBarcodeToImageFile("C://barcode-gs1-128-csharp.gif");
Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN128
barcode.CodeToEncode = "(00)GS1-128/EAN-128"
barcode.generateBarcodeToImageFile("C://barcode-gs1-128-vbnet.gif")
  • Insert Barcode in Excel : Complete online user guide to generate & add numerious barcodes in Excel Workbook
  • .NET ISBN : Easy-to-use Linear Barcode ISBN generating component for visual .net
  • C# Interleaved 2 of 5 : Professional Linear i-25 geneating DLL used world-wide
  • ISBN Word : Accurate Linear Barcode ISBN creating with KA.Barcode Generator for Microsoft Word
  • C# Code 39 : C#.net Barcode Generator for 1D Code 39 Extended creation and customation

Encoding EAN-128 with Numeric data only

GS1-128/EAN-128 barcode generator for ASP.NET encodes 10 Arabic numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Replace sample code with following one to convert numeric data into an EAN-128 barcode:
barcode.CodeToEncode = "(01)128";
barcode.CodeToEncode = "(01)128"

Generating EAN-128 with Alphanumeric data only

GS1-128/EAN-128 barcode generator for ASP.NET allows users to encode alphanumeric data, including: 10 Arabic numbers, 26 uppercase letters (A-Z), 26 lowercase letters (a-z)and 7 special characters (- , $, %, Space, ., /, +). Copy the following sample code to transform text value into EAN-128 barcodes:
barcode.CodeToEncode = "(01)GS1-128";
barcode.CodeToEncode = "(01)GS1-128"

Streaming EAN-128 with Application Identifier

GS1-128/EAN-128 barcode generator for ASP.NET supports to encode Application Identifiers into different digits:
  • ~ai2 = 2 digits
  • ~ai3 = 3 digits
  • ~ai4 = 4 digits
  • ~ai5 = 5 digits
  • ~ai6 = 6 digits
  • ~ai7 = 7 digits
barcode.TildeEnabled= true;
barcode.CodeToEncode = "~ai21234~ai516156468498";
barcode.TildeEnabled= true
barcode.CodeToEncode = "~ai21234~ai516156468498"
  • Barcode Add-in for Word : Flexible linear & 2D barcode generating control available for Word 2007 and 2010
  • VB.NET EAN 128 : Linear 1d barcode EAN/UCC-13 creation SDK for visual basic.net
  • PDF417 VB.NET : Vb 2d matrix barcode generation control barcode pdf417 Creator
  • VB.NET UPC-A : Mature VB.NET barcode component for 1D barcode UPC-A generation
  • Java Codabar : Generate 1D ANSI/AIM Codabar barcode in Java applications
GS1-128/EAN-128 Data Encoding with Drag & Drop BarcodeControl
  1. 1.
    In "Choose Toolbox Items" form, click button "Browse...", and select KeepAutomation.Barcode.Web.dll
  2. 2.
    Now you'll see BarCodeControl in your toolbox
  3. 3.
    Drag and drop the BarCodeControl into the Forms and a Codabar image is generated
  4. 4.
    Open your barcode setting panel
  5. 5.
    Find barcode setting panel, choose "Symbology" to "EAN128"
  6. 6.
    Then input all ASCII characters in "CodeToEncode" accordingly
  7. 7.
    A GS1-128/EAN-128 or GS1-128/EAN-128 Extension barcodes with different characters occurs
GS1-128/EAN-128 Data Encoding in Internet Information Service (IIS)
  1. 1.
    Copy folder "barcode" in your download the trial package to your IIS web application folder
  2. 2.
    Create a virtual directory, named "barcode", and link to your just copied "barcode" folder
  3. 3.
    Restart IIS and now you have successfully installed the ASP.NET Barcode Generator web application
  4. 4.
    To test it, open your web browser, and navigate to "http://localhost/barcode/barcode.aspx?symbology=11&code-to-encode=(01)23456789"
  5. 5.
    A GS1-128/EAN-128 barcode with numeric data will be displayed
Note: In IIS, Symbology.EAN128 is 11. Users may write "symbology=x&code-to-encode=xxx" accordingly to change encoded data.