KA.Barcode Generator for .NET Suite
How to Print EAN-13 in VB.NET with Valid Data
Complete VB.NET source code to generate, print EAN-13 images using Barcode Generator for .NET Control
  • Create and produce EAN 13 barcode images within VB.NET projects
  • Support integrating, generating EAN-13 barcode into Microsoft Visual Studio 2005/2008/2010
  • Insert linear and GS1 barcodes , such as Intelligent Mail .NET WinForms, C# UPC-A, Excel EAN-13, C# Data Matrix, in your applications
  • Generte, print EAN-13 images in Windows Forms; insert barcodes in ASP.NET websites, Crystal Reports
  • Comprehensive tutorials for EAN-13 data encoding in VB.NET applications
  • Programmatically printing, encoding numeric digit 0-9 for EAN-13 1D bar code pictures
  • Advanced algorithm to automatically add a check digit for EAN-13 barcode
  • Complete user manual VB.NET barcode sample, ASP.NET barcode integration & Excel barcode integration provided
  • Support EAN-2 & EAN-5 add-ons for 1D EAN-13 barcodes
  • Compatible with GS1 standard for readable EAN-13 generation
KeepAutomation VB.NET EAN-13 Barcode Generator plugin is one barcoding functionality of .NET Barcode Generator SDKs. It is powerful enough for users to encode EAN-13 and other linear, bidimensional barcode symbologies in .NET development environment quickly and efficiently. With the user-friendly interface of KA.Barcode Generator for .NET Suite (EAN-13 Generator), you can also check out the following VB.NET sample coding for EAN-13 size & image settings:
EAN-13 Barcode Information
EAN-13 (a.k.a European Article Number 13, EAN/UCC-13, GS1-13, GTIN-13) is a linear barcode symbology used with consumer products internationally.

EAN-13 for VB.NET encodes:

  • numeric digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
EAN-13 Data Encoding in VB.NET Class Library

Install EAN-13 Barcoding Component into .NET Projects

  1. 1.
  2. 2.
    Copy "KeepAutomation.Barcode.Windows.dll" / "KeepAutomation.Barcode.Web.dll" to your VB.NET project folder
  3. 3.
    Add the above two barcoding control DLL(s) to your VB.NET project reference
Copy those following VB.NET EAN-13 barcode printing syntax onto you barcoding programs:
Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN13
barcode.CodeToEncode = "012345678901"
barcode.generateBarcodeToImageFile("C://barcode-ean13-vbnet.gif")
As a fixed-length barcode, EAN-13 can be used to encode 13 digits of data in all. Specifically, users are advised to input 12 digits and the check digit will be automatically added to EAN-13 barcode by our VB.NET EAN-13 Generator. Supplemental digits are also supported to be added on for EAN-13 barcodes.

EAN-13 Barcode with Supplement 2-Digit Add-On

2 is used to indicate magazines and newspaper issue numbers. It is the supplement for EAN-13 barcodes. EAN-2 encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
barcode.Symbology = KeepAutomation.Barcode.Symbology.EAN13Sup2
barcode.CodeToEncode = "012345678901"
barcode.SupplementCode = "12"

EAN-13 Barcode with Supplement 5-Digit Add-On

EAN-5 is used to mark suggested retail price of books. It is the supplement for EAN-13 barcodes. EAN-5 encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
barcode.Symbology = KeepAutomation.Barcode.Symbology.EAN13Sup5
barcode.CodeToEncode = "012345678901"
barcode.SupplementCode = "12345"