Introduction of EAN-13 RDLC Report Barcode Generator
EAN-13 barcode generator software for RDLC client report is an easy-to-use .NET control based on Visual Studio and can be used in Windows RDLC and ASP.NET RDLC to generate high quality barcode as images in RDLC local report using C# or VB.NET class library.
OnBarcode.com provides not only EAN-13 Barcode Generator for .NET RDLC Local Report, but also other linear and 2D barcode controls for RDLC.
We provide detailed online tutorial:
How to create, print barcodes in RDLC reports?
- Linear Barcodes on RDLC Report: Code 39, Code 128 , EAN-8, Code 93, GS1 128, UPC-A, UPC-E, Interleaved 2 of 5, Identcode, ISBN, ISSN, Code 25, Leitcode, MSI Plessey, OneCode, Planet, Postnet, RM4SCC, etc
- 2D Barcodes on RDLC Report: including QR Code, Data Matrix, PDF-417, Micro QR Code, Micro PDF-417
OnBarcode also provides detailed step-by-step instructions
- Tutorial: Print barcode in RDLC report in ASP.NET web application
- Tutorial: Print barcode in RDLC report in WinForms application
How to Generate EAN-13 in .NET RDLC Local Report?
OnBarcode provides step-by-step tutorials about print barcode in RDLC report in C# ASP.NET, Windows Forms application.
Open C# class file
- How to print barcode in RDLC report in ASP.NET web form application?
- How to print barcode in RDLC report in Windows Forms application?
Open C# class file
Form1.cs in the above tutorial project in the Visual Studio 2022
- Change the linear barcode format to
BarcodeType.EAN13
linear.Type = BarcodeType.EAN13;
Print EAN-13 barcode with add-on symbol in RDLC report
EAN-13 with 2-digit add-on
To create and print EAN13 barcode with 2 digits addon in RDLC report, follow the instructions below.
Open C# class file
Open C# class file
Form1.cs in the above tutorial project in the Visual Studio 2022
- Change the barcode format property
Typevalue toBarcodeType.EAN13_2 - Set the add-on data value (2 digits string) to property
SupData
linear.Type = BarcodeType.EAN13_2; linear.SupData = "12";
EAN-13 with 5-digit add-on
To print EAN13 barcode with 5 digits addon in RDLC report, try the similar steps as 2-digit addon.
Open C# class file
Open C# class file
Form1.cs in the above tutorial project in the Visual Studio 2022
- Change the barcode format property
Typevalue toBarcodeType.EAN13_5 - Set the add-on data value (5 digits string) to property
SupData
linear.Type = BarcodeType.EAN13_5; linear.SupData = "12345";
Print EAN-13 barcode with text label customized in RDLC report
GS1 standard recommends print EAN-13 text using OCR-B font. If your system has installed the OCR-B font. You can try the following C# codes to apply the
EAN-13 text font style in RDLC report.
Open C# class file
Open C# class file
Form1.cs using Visual Studio 2022
- Set the new font style to property
TextFont
linear.TextFont = new Font("OCR-B", 12f, FontStyle.Regular);
More options to customize EAN-13 barcode in RDLC report
Show or hide EAN-13 quiet zone indicator
EAN-13 barcode may include a quiet zone indicator in the end of barcode text label. Using RDLC EAN-13 Barcode Generator library, by default it will print
the EAN-13 quiet zone indicator. You can choose to hide it in RDLC report.
Open C# class file
Open C# class file
Form1.cs using Visual Studio 2022
- Set the property
ShowQuietZoneIndicatorto false to hide the EAN-13 quiet zone indicator
linear.ShowQuietZoneIndicator = false;
Setup EAN-13 lead, trial digit space
Open C# class file
Form1.cs using Visual Studio 2022
- UPCEANLeadDigitSpace: The space between the first digit and the start character bar. The default value is 0.
- UPCEANTrailDigitSpace: The space between the stop character bar and the quiet zone indicator. The default value is 0.
linear.UPCEANLeadDigitSpace = 10; linear.UPCEANTrailDigitSpace = 10;
Common Asked Questions
What is the EAN-13 code?
EAN-13 barcode is one of the GS1 standard supported barcode symbology, and it is the most commonly recognized barcode in Europe.
EAN-13 code is a 13-digit number, which includes 12 GS1 data digits and 1 check digit. EAN is short for European Article Number,
and now it is renamed as GTIN (Global Trade Item Number). EAN 13 code will be used to uniquely identify retail products worldwide.
Using RDLC barcode generator add-in, you can create, customize and insert EAN-13 barcodes in RDLC report table columns in RDLC report desginer using Visual Studio .NET.
Using RDLC barcode generator add-in, you can create, customize and insert EAN-13 barcodes in RDLC report table columns in RDLC report desginer using Visual Studio .NET.
What is the EAN-13 barcode layout?
The whole 13 digits EAN-13 code is containing:
- 2 or 3 digits for the number system or the country code
- 5 or 4 digits for the manufacturer code or prefix
- 5 digits for the product code
- 1 digit for the check sum digit
What is the difference between EAN and EAN-13?
EAN includes EAN-13, EAN-8 and with 2 or 5 digits add-on symbol. OnBarcode RDLC EAN Barcode Generator add-in supports both EAN-13 and EAN-8 barcode printing in RDLC report designer
and report viewer in Microsoft Visual Studio with the RDLC Report Designer extension.
How to check if the EAN-13 barcode created in RDLC report is valid?
The last digit (13th) of EAN-13 is a check digit. It will be used to verify the first 12-digit GS1 data message.
You can use OnBarcode free EAN-13 barcode scanner software to scan, and test the generated EAN barcodes in RDLC reports on Windows.
How do I print high quality EAN-13 barcodes in RDLC reports?
To print good quality EAN-13 barcodes in RDLC reports in .NET ASP.NET, Windows projects, you need follow the rules below.
- The EAN-13 barcode image resolution (DPI) is the same or higher than the printer's resolution.
- The EAN-13 barcode human readable text is using the legible fonts. The GS1 System recommends use OCR-B font to draw EAN-13 text label.
What is the minimum size for EAN-13?
The GS1 recommended minimum size for an EAN-13 barcode is 30mm in width and 20 mm in height.
You can easily customize the printed EAN-13 barcode dimension width and height in RDLC report designer report item property settings.