KA.Barcode for ASP.NET
How to Print EAN-13 in ASP.NET with Valid Data
Complete ASP.NET source code to generate, print EAN-13 using Barcode Generator for ASP.NET Control
  • Support EAN-13 barcode integration into Microsoft Visual Studio, .NET Framwork 2.0 and greater
  • Generating, printing multiple EAN-13 in ASP.NET IDEs & Internet Information Service (IIS)
  • ASP.NET barcode, barcode .NET, barcode Word, Excel barcode & barcode Java provided
  • Comprehensive tutorials for EAN-13 data encoding in ASP.NET webform/ website
  • Programmatically encode numeric digit 0-9 for EAN-13 barcodes to insert in ASP.NET web pages
  • Automatically add a check digit for EAN-13 barcode according to algorithm specified in standard
  • Absolutely support EAN-2 & EAN-5 add-ons for EAN-13 barcode integration in ASP.NET web service
  • Compatible with GS1 standard for EAN-13 picture generation
  • Insert linear and GS1 barcodes , such as .NET ITF-14, QR Code .NET, .NET EAN-8, C# UPC-A, in your applications
  • Thermal printer support to allow high-quality image output on low-resolution printers
KA.Barcode Generator for ASP.NET is mature barcode generation software plugin device for making EAN-13 barcodes and other 20+ linear & bidimensional barcode types to insert in ASP.NET webform/ website with customized image quality, rotation angle, x-dimension, captions, customer defined resolution and more. If you want to know more about EAN-13 barcode size and image, please link to the following sample codings:
EAN-13 Bar Code Information
EAN-13 is also known as European Article Number 13, EAN/UCC-13, GS1-13, GTIN-13, with variants EAN-13 Supplement 2 (a two-digit Add-On), EAN-13 Supplement 5(a five-digit add-on).

EAN-13 for ASP.NET encodes:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

EAN-13 for ASP.NET Data Capacity:

  • Fixed-length
  • 12-digits
  • A check digit
EAN-13 Data Encoding with C#, VB.NET Class in ASP.NET

Install EAN-13 Barcode Generator Control into ASP.NET Project

  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 barcoding syntax to you program to stream, insert an EAN-13 into ASP.NET web page:
using KeepAutomation.Barcode.Bean;
BarCode barcode= new BarCode();
barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN13;
barcode.CodeToEncode = "012345678901";
Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN13
barcode.CodeToEncode = "012345678901"
QR Code barcode creation and printing features into you VB.NET applications, such as ASP.NET web pages, WinForms, Crystal Reports, VB.NET class...
How to Generate QR Code Image in VB.NET Projects. VB.NET source code to generate, print QR Code in different image formats using .NET Barcode...
QR Code Data Encoding in KA.Barcode Generator for VB.NET. Installation of KA.Barcode Generator for .NET Suite. 1. Download KA.Barcode Generator for...

Generating EAN-13 Barcode with Supplement 2-digit Add-On

EAN-13 barcode generator for ASP.NET support to add another 2 digits for EAN-13 barcode, which encodes: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Replace sample code with following one to convert string into an EAN-13 image:
barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN13Sup2;
barcode.SupplementCode = "13";
barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN13Sup2
barcode.SupplementCode = "13"

Creating EAN-13 Barcode with Supplement 5-digit Add-On

EAN-13 barcode generator for ASP.NET support to add another 5 digits for EAN-13 barcode, which encodes: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Replace sample code with following one to create EAN-13 with five-digit addon and save as string in ASP.NET MVC:
barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN13Sup5;
barcode.SupplementCode = "13754";
barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN13Sup5
barcode.SupplementCode = "13754"
EAN-13 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.
    Find barcode setting panel, choose "Symbology" to "EAN13", "EAN13Sup2" or "EAN13Sup5"
  5. 5.
    Then input numeric characters in "CodeToEncode" accordingly
  6. 6.
    Input supplement digit in "SupplementCode" if you choose "EAN13Sup2" or "EAN13Sup5"
  7. 7.
    An EAN-13, EAN-13+2 or EAN-13+5 barcode with different characters occurs
EAN-13 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=15&code-to-encode=012345678901"
  5. 5.
    An EAN-13 barcode with numeric data will be displayed
Note: In IIS, Symbology.EAN13 is 15; Symbology.EAN13Sup2 is 16; and Symbology.EAN13Sup5 is 17. Users may write "symbology=x&code-to-encode=xxx" or "symbology=x&code-to-encode=xxx&supplement-code=xx" accordingly to change encoded data.