Crystal Reports EAN 13 Barcode Generator
Generate, print EAN 13 image labels in report viewer in c#, vb.net project. No font formula. Free download.


How to encode, create EAN 13 barcode and display in Crystal Reports report viewer in c#, vb.net project. No font, ufl required. Free download.



  • Seamlessly integrated into Visual Studio 2005, 2008 and 2010
  • Support popular languages (C#.NET and VB.NET) for EAN-13 encoding in Crystal Reports
  • Easy to create EAN-13 Two or Five Digit Add-On in Crystal Reports project
  • Create customized reporting solution which takes user input in a reliable manner
  • Append or disable the checksum digit for EAN-13 barcode in the human readable text
  • Support various EAN-13 barcode image formats, including Gif, Jpeg, Bmp, Png and Tiff
  • Draw EAN-13 symbol in high & low resolution by setting "DPI" parameter
This guide delivers a clear, step-by-step method to create EAN-13 barcodes in Crystal Reports for ASP.NET Web Forms, WinForms, and WPF projects. It covers core implementation, add-on symbols, human-readable text formatting, and check-digit validation to meet GS1 standards and integrate smoothly with Crystal Reports components.
Crystal Reports EAN-13 Barcode Library Overview
With KA.Barcode for Crystal Reports, .NET programmers could create a reporting solution with barcoding features and customize each report before printing it. High quality EAN-13 barcode images could be maintained when exporting Crystal Reports into PDF, Word, Excel and rich text formats.
EAN-13 Barcode Overview
As one member of EAN / UPC family, EAN-13 is also widely used in the point-of-sale systems. EAN-13 could encode 13 digits in which one check digit is included to enhance data security.
EAN-13 Valid Character Set
  • Numeric Data: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
EAN-13 Characters Encoding in Crystal Reports

EAN-13 encoding characters and data length

EAN-13 barcode can encode numeric data from 0 through 9.

EAN-13 code includes 12 digits of GS1 data message along with a trailing check digit, for a total of 13 digits of bar code data.

EAN-13 may include an add-on symbol (2 digits or 5 digits)

Using EAN-13 barcode generator for Crystal Reports on .NET, you can generate EAN-13 barcodes in Microsoft .NET Crystal Reports report files, by choose barcode type "EAN-13", "EAN-13 +2" or "EAN-13 +5"

EAN-13 Check Digit

The check digit is an additional digit used to verify that a bar code has been scanned correctly.

The checksum digit is based on a modulo 10 calculation based on the weighted sum of the values of each of the first 12 digits from EAN-13.

Using EAN-13 barcode generator for crystal reports, you can input 12 digits data without the last checksum digit. The barcode software will always calculate the check digit based on your first 12 code digits.


EAN-13 Barcode Add-on Symbol Configuration in Crystal Reports (C#)

EAN-13 supports 2-digit or 5-digit add-on symbols for extra data such as prices or batch numbers on product labels.

You can create EAN-13 barcodes with supplementary data using these steps:
  1. Set the barcode type to BarcodeType.EAN13_2 (2-digit) or BarcodeType.EAN13_5 (5-digit).
  2. Assign 12 or 13 main digits to the Data property.
  3. Assign 2 or 5 supplementary digits to the SupData property.
Note: Mismatched digit lengths between the type and supplementary data will create invalid barcodes. You can double-check values before running the report.

Advanced Add-on Customization

You may adjust add-on appearance to fit Crystal Reports layouts:
  • SupHeight: Set add-on height as a percentage of the main barcode (default: 0.8f)
  • SubSpace: Adjust gap between main barcode and add-on (max: 12X)


EAN-13 Human Readable Interpretation (HRI) for Crystal Reports (C#)

GS1 standards require the OCR-B font for EAN-13 human-readable text to ensure scanning compatibility.

You can format text using these properties:
  1. Set AutoResizeBarcodeText = false to enable manual font control.
  2. Set TextFont to "OCR-B" for GS1 compliance.
  3. Adjust TextMargin for spacing between barcode and text.
  4. Set TextColor for custom label coloring.


Advanced EAN-13 Customization for Crystal Reports (C#)

Quiet Zone Indicator

You can hide the quiet zone marker for cleaner report design.


Lead & Trail Digit Spacing

Improve readability by adjusting spacing around the barcode:
  • UPCEANLeadDigitSpace: Space before the first digit
  • UPCEANTrailDigitSpace: Space after the last digit


EAN-13 Check Digit Validation in Crystal Reports (C#)

EAN-13 uses a mandatory MOD 10 check digit for data accuracy.
  • If you input 12 digits, the library automatically calculates the check digit.
  • If you input 13 digits, the library validates the existing check digit.
EAN-13 Check Digit Calculation Algorithms
  1. Sum digits in odd positions and multiply by 3.
  2. Sum digits in even positions.
  3. Add the two results.
  4. The check digit completes the total to the next multiple of 10.


Summary

This guide has walked you through generating, customizing, and validating EAN-13 barcodes in Crystal Reports using the KeepAutomation .NET Barcode Library.
  • Implement GS1-compliant EAN-13 barcodes in ASP.NET, WinForms, WPF, and VB.NET projects
  • Add 2-digit or 5-digit supplementary symbols for product labeling
  • Use OCR-B font and proper spacing to meet industry standards
  • Ensure data integrity with automatic check-digit calculation
With these settings, you can build professional, standards-compliant EAN-13 barcodes for retail, inventory, and product reports in any .NET Crystal Reports application.








Frequently Asked Questions

What is EAN-13?

An EAN-13 is a 13-digit barcode used to identify products worldwide. It's a 13-digit barcode consisting of 12 data digits and 1 check digit. Once known as EAN (European Article Number), it's now GTIN (Global Trade Item Number) and uniquely identifies retail products around the world.

What sets EAN apart from EAN-13?

The EAN barcode category includes EAN-13, EAN-8, and the 2-digit or 5-digit add-on barcodes. EAN is the standard, while EAN-13 is a specific format under that standard. The broader EAN standard covers the 13-digit EAN-13, the 8-digit EAN-8, and supplementary add-on codes.

What's the layout of an EAN-13 barcode?

EAN-13 consists of 13 digits grouped as follows:
  1. GS1 Prefix: 2-3 digits for the country or organization.
  2. Company Number: 4-5 digits assigned to the manufacturer.
  3. Item Number: 5 digits for the specific product.
  4. Check Digit: A final digit that validates the code's accuracy.

What's the way to confirm the validity of a created EAN-13 barcode?

An EAN-13 code can be validated through its last character, the check digit. The 13th digit of EAN-13 is a check digit, designed to validate the first 12 data digits.

What are the minimum dimensions of EAN-13, and how to apply it?

GS1's recommended minimum size for an EAN-13 barcode is 30mm (width) by 20mm (height). When creating your barcode, adhere to these measurements to guarantee readability.

How do I print EAN-13 barcodes correctly?

For good-quality EAN-13 barcode printing, check these key points:
  • The barcode graphic must have a sufficient resolution (DPI) that is at least as high as your printer's output resolution.
  • Use a readable font for the human-readable text; the GS1 System recommends OCR-B for EAN-13 text labels.
















Free Trial DownloadCrystal EAN-13EAN-13 PropertiesUsing C#Using VB.NETUsing ASP.NETUsing .NET WinformsData Matrix for Crystal ReportPDF417 for Crystal ReportQR Code for Crystal ReportmoreCodabar for Crystal ReportCode 39 for Crystal ReportCode 128 for Crystal ReportEAN-8 for Crystal ReportEAN 128 for Crystal ReportIntelligent Mail for Crystal ReportInterleaved 2 of 5 for Crystal ReportISBN for Crystal ReportITF-14 for Crystal ReportRM4SCC for Crystal ReportUPC-A for Crystal ReportUPC-E for Crystal Reportmore
KeepAutomation provides complete barcode automation solutions. We recommend the customers use high quality document controls: ASP.NET Document Viewer, ASP.NET MVC Document Viewer, Document Viewer ASP.NET C#, ASP.NET PDF Viewer, ASP.NET Word Viewer, ASP.NET Excel Viewer, ASP.NET PDF Editor, MVC PDF Viewer, ASP.NET Annotate PDF, c# pdf sdk, 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.