KA.Barcode for ASP.NET
How to Generate EAN-8 in ASP.NET Application
How to generate EAN-8 barcode images in ASP.NET web applications using Visual C#, VB.NET
  • Full integration into .NET Framework 2.0 and above & Microsoft Visual Studio 2005 and greater
  • Easy to integrate EAN-8 into Microsoft Internet Information Service (IIS)
  • Generating EAN-8 in Png, Jpeg/Jpg, Gif, Tiff, Bmp image files
  • Inserting EAN-8 in web pages for major browsers like Chrome, IE, Mozilla, Safari, etc
  • Simple to encode two-digit or five-digit supplement data for EAN-8
  • Flexible setting options for generated EAN-8 images as well as text fonts
  • GS1 specification compatible to ensure valid EAN-8 output for all scanners
  • Created EAN-13 barcode images are available to be customized as applications
EAN-8 Barcode Control Class Library is just a function of KA.Barcode Generator for ASP.NET, a mature barcode encoder to integrate high-quality EAN-8, EAN-8+2, EAN-8+5 images as well as other linear, matrix barcode types in ASP.NET webforms/ websites, C#, VB.NET projects, Reporting Services (SSRS), etc.
Application. How to generate Codabar barcode symbologies in ASP.NET web applications using Visual C#, VB.NET with C# source code. ....
How to Add Barcode Images in Winforms Using C#.NET. How to generate barcodes in .NET Winforms applications using free C# .NET programming code. ....
EAN-8 Overview in ASP.NET Generator
EAN-8, is also named European Article Number 8, EAN/UCC-8, GS1-8, with variants EAN 8+2, EAN-8 Supplement 2 (a two-digit Add-On). It is used to encode GTIN-8s which based on the GS1 general standard.

EAN-8 Encodable Characters in ASP.NET Generator

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
EAN-8 Generation in ASP.NET Web Control

How to Drag & Drop EAN-8 Control to ASP.NET Project

  1. 1.
    Copy "barcode.aspx" and " barcode.aspx.cs" to the target folder
  2. 2.
    Right-click in "Toolbox" and select "Choose Items..."
  3. 3.
    Click "Browse..." to locate and select "KeepAutomation.Barcode.Web.dll"
  4. 4.
    Drag and drop "BarCodeControl" from Visual Studio Toolbox into the web form and an EAN8 barcode is created
  5. 5.
    Change barcode symbology to "EAN8" and customize its properties in the "Properties" panel

How to Generate EAN-8 in C# or VB.NET Programming

Copy the sample codings below to easily create an EAN-8 images with C#, VB.NET programming:
using KeepAutomation.Barcode.Bean;

BarCode ean8 = new BarCode();
ean8.Symbology = KeepAutomation.Barcode.Symbology. EAN8;
ean8.CodeToEncode = "3157993" ;
Dim ean8 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean8.Symbology = KeepAutomation.Barcode.Symbology.EAN8
ean8.CodeToEncode = "3157993"

How to Generate EAN-8 with Supplemental Digits in ASP.NET

Some publishing items may utilize Add-On Symbols that carry supplementary information such as an Issue Code of EAN-8. It is easy to accomplish by setting "SupplementCode", "SupplementHeight" and "SupplementSpace" parameters in ASP.NET applications.
using KeepAutomation.Barcode.Bean;

BarCode ean8sup2 = new BarCode();
ean8sup2.Symbology = KeepAutomation.Barcode.Symbology.EAN8Sup2;
ean8sup2.CodeToEncode = "1234567";
ean8sup2.X = 2;
ean8sup2.SupplementCode = "12";
ean8sup2.SupplementHeight = 0.9f;
ean8sup2.SupplementSpace = 20;
Dim ean8sup2 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean8sup2.Symbology = KeepAutomation.Barcode.Symbology.EAN8Sup2
ean8sup2.CodeToEncode = "1234567"
ean8sup2.SupplementCode = "12"
ean8sup2.SupplementHeight = 0.9
ean8sup2.SupplementSpace = 20
ean8sup2.X = 2
ean8sup2.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
How to Create an EAN-8 in MS Internet Information Service (IIS)
  1. 1.
    Unzip the trial package, copy "barcode" folder and its contents to your IIS, and create a new virtual directory "barcode"
  2. 2.
    Restart IIS, and navigate to "http://localhost/barcode/barcode.aspx?symbology=12&code-to-encode=1234567"
  3. 3.
    Now an EAN-8 is generated, you can change barcode properties in the url above, view http parameters here
  4. 4.
    To add the created barcode images in html or aspx pages, insert the following image tag into your web pages.
    < img src="http://localhost/barcode/barcode.aspx?symbology=12&code-to-encode=1234567"/>