How to Generate EAN-13 in ASP.NET Application

How to Insert & Print EAN-13 Barcode Images in ASP.NET Web Applications
  • Simple to integrate into .NET Framework 2.0 and greater & Microsoft Visual Studio 2005 and above
  • Compatible with GS1 specifications to ensure validity of the printout EAN-13 barcodes
  • Easy to stream 1D EAN-13, EAN-13+2, EAN-13+5 linear barcodes images in ASP.NET web sites
  • Stream EAN-13 barcode in web applications and development environments that can display a dynamic URL
  • Easy to use drag-and-drop implementation, or use Visual C#, VB.NET, and IIS streaming modes of operation
  • Provide flexible EAN-13 barcode setting options like module width, image width, resolution, orientation, fonts, etc
  • Automatically add checksum digit for generated EAN-13 barcode image with advanced algorithm
  • Generate and print EAN-13 barcode image and save as string in Png, Jpeg, Gif, Tiff & Bmp files
ASP.NET EAN-13 Barcode Generator Description
EAN-13 barcode encoder is the best component API SDK library for ASP.NET, which supports EAN-13 generation and printing in ASP.NET webform/website/web pages, as well as C# & Visual Basic.NET class & console applications.
EAN-13 Overview in ASP.NET
EAN-13, also named EAN/UCC-13, GS1-13, GTIN-13, with variants EAN-13 Supplement two/ five-digit add-on, is a linear barcode. On January 1st, 2005, Uniform Code Council of USA announced that all retailing scanning system should be able to read EAN-13 barcode.
EAN-13 Encodable Characters in ASP.NET
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Download EAN-13 Barcode Generator for ASP.NET
It is costless to download KA.Barcode for ASP.NET demo package and unzip it. This demo package only can be used for testing purposes for EAN-13 barcode images generated with it contain a "KA Barcode" watermark randomly. This demo package includes:
  • KeepAutomation.Barcode.Web.dll
  • A "barcode" folder including barcode.aspx.cs & barcode.aspx
  • End user license agreement
  • User manual
  • Order page
How to Generate EAN-13 With ASP.NET Web Control
  1. Create a new ASP.NET web project in your Visual Studio.
  2. Find "barcode" folder and copy "barcode.aspx" and "barcode.aspx.cs" in it to the target folder.
  3. Add "KeepAutomation.Barcode.Web.dll" to the "Toolbox".
  4. Drag and drop "BarCodeControl" under "Toolbox" into the web form and choose EAN13 barcode type in "Properties" panel.
  5. Customize the generated EAN-13 barcode properties by changing settings in the "Properties" panel.
How to Generate EAN-13 in C# or VB.NET Programming
You are able to generate EAN-13 in ASP.NET webform/website using the following free C# or VB.NET sample code.
  1. Add reference "KeepAutomation.Barcode.Web.dll" to your ASP.NET Web project.
  2. Compile the following free C# or VB.NET barcoding sample code.
C# Sample code
     BarCode ean13 = new BarCode();
ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13;
ean13.CodeToEncode = "112233445513";
ean13.X = 2;
ean13.generateBarcodeToImageFile("C://ean13-csharp.png");

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

ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13
ean13.CodeToEncode = "111115555513"
ean13.X = 2
ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
ean13.generateBarcodeToImageFile("C://ean13-vb-net.png")

How to Generate EAN-13 with Supplemental Digits in ASP.NET
It is possible to utilize EAN-13 Supplement two/five-digit add-on to encode detailed information in ASP.NET applications. Related properties to be set are "SupplementCode", " SupplementHeight " and " SupplementSpace ".
C# Sample code
     ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13Sup2;
ean13.SupplementCode = "23";
ean13.SupplementHeight = 0.8f;
ean13.SupplementSpace = 15;
VB Sample code
     ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13
ean13.SupplementCode = "23"
ean13.SupplementHeight = 0.8f
ean13.SupplementSpace = 15
How to Generate EAN-13 in Microsoft IIS Through URL
  1. Download the trial package and unzip it.
  2. Copy "barcode" folder and its contents to your IIS.
  3. Then, create a new virtual directory "barcode".
  4. Restart IIS, and navigate to "http://YourDomain:port/barcode/barcode.aspx?code-to-encode=112233445566&symbology=15".
  5. Now an EAN-13 barcode image is generated and you can change barcode properties in the url above, view http parameters here.
  6. Simply insert the following image tag into your web pages <img src="http://YourDomain:port/barcode/barcode.aspx?code-to-encode=112233445566&symbology=15"/> in order to add the created barcode images in html or aspx pages.
Free Trial DownloadASP.NET EAN-13.NET Class EAN-13IIS EAN-13Using C#Using VB.NETData Matrix for ASP.NETPDF417 for ASP.NETQR Code for ASP.NETmoreCodabar for ASP.NETCode 39 for ASP.NETCode 128 for ASP.NETEAN-8 for ASP.NETEAN 128 for ASP.NETIntelligent Mail for ASP.NETInterleaved 2 of 5 for ASP.NETISBN for ASP.NETITF-14 for ASP.NETRM4SCC for ASP.NETUPC-A for ASP.NETUPC-E for ASP.NETmore
KeepAutomation provides complete barcode automation solutions for add barcode display 2-dimensional, barcode generation capacity api, and barcode mobile applications. We recommend the customers use high quality ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, 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.