Barcode Crystal > Barcode in Crystal > Linear > .NET EAN-8 in Crystal
  • Simple to integrate into your Crystal Reports
  • Rich EAN-8 settings to customize your generating barcodes
  • Minimum EAN-8 knowledge required, with complete developer guides
  • Comprehensive C#, VB.NET sample codes for EAN-8 generation configured to its barcode specification
  • Support to create GS1 compatible EAN-8, EAN-8+2 and EAN-8+5 barcodes
  • Also support other linear barcodes: ISBN, MSI Plessey, Code-93, Code 2 of 5, etc
  • Mature and reliable C#.NET Barcode components since 2003
  • Royalty free with Developer License purchased

Quick Jump: EAN-8 Information | EAN-8 in Crystal Reports FAQ

EAN-8 Information

Encodable Character

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

Encodable Data Length

  • Fixed-length
  • 7digits only
  • Add a check digit in the end
  • Supplemental 2 & 5 digits add-on
EAN-8 in Crystal Reports - FAQ

This document provides several methods to specify EAN-8 barcodes in Crystal Reports. Please download BusinessRefinery.com EAN-8 Barcode Generator for Crystal Reports.

1. What are these in our Crystal Report Barcode Generator package?

You will find "BarcodeDemoData.mdb", "CustomerDataSet.xsd", "developer guide" and "BusinessRefinery.Barcode.Web.dll" or "BusinessRefinery.Barcode.Win.dll" in the package; See more information on .NET Crystal Report Barcode Generation Guide.

2. How to Install this class library onto your Crystal Reports?

Install .NET Crystal Reports barcode generator can be easy and simple, view Install process for Crystal Reports.

3. How to add supplemental digits for EAN-8 barcode using C# and VB.NET class?

EAN-8 barcode supports to add 2 or 5 digits supplemental data with specified height and space.

C# class:

using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN8_2;
barcode.Code = "1234567";
barcode.SupplementCode = "13";
barcode.SupplementHeight = 0.9;
barcode.SupplementSpace= 29;

barcode.drawbarcode2ImageFile("C://ean8.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8_5
barcode.Code = "1234567"
barcode.SupplementCode = "13456"
barcode.SupplementHeight = 0.9
barcode.SupplementSpace= 29

barcode.drawbarcode2ImageFile("C://ean8.gif")

4. How to modify EAN-8 human-readable text using C# and VB.NET class?

EAN-8 human-readable text can be enabled or disable with customized color, font style and margin between EAN-8 symbol and text.

C# class:

Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN8;
barcode.Code = "1234567";
barcode.DisplayText = true;
barcode.TextFont = new Font("Calibri", Font.Bold, 20);
barcode.TextMargin = 9;

barcode.drawbarcode2ImageFile("C://ean8.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8
barcode.Code = "1234567"
barcode.DisplayText = true
barcode.TextFont = new Font("Calibri", Font.Bold, 20)
barcode.TextMargin = 9

barcode.drawbarcode2ImageFile("C://ean8.gif")

5. How to adjust EAN-8 barcode image using C# and VB.NET class?

Users may set EAN-8 barcode image background color, foreground color, image format, image rotation and resolution.

C# class:

using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN8;
barcode.Code = "1234567" ;
barcode.BackColor = Color.White;
barcode.ForeColor = Color.Green;
barcode.Rotation = Rotate.Rotate90;
barcode.Resolution = 104;

barcode.drawbarcode2ImageFile("C://ean8.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8
barcode.Code = "1234567"
barcode.BackColor = Color.White
barcode.ForeColor = Color.Green
barcode.Rotation = Rotate.Rotate90
barcode.Resolution = 104

barcode.drawbarcode2ImageFile("C://ean8.gif")





Quick Links