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
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.
Crystal Reports EAN-13 Barcode SDK Download
- KeepAutomation.Barcode.Crystal.dll
- KACrystalData.mdb
- ProductDataSet.xsd
- End User License Agreement
- User Manual and Order Page
Developers are allowed to use this evaluation version of Crystal Reports EAN-13 Barcode SDK permanently. EAN-13 barcode images generated with this evaluation version may contain a "KA Barcode" watermark. As a result, usage of this evaluation version is limited to demo purpose. Crystal Reports EAN-13 Barcode Creation in ASP.NET
- Open your Visual Studio and create a new web project with "ASP.NET Crystal Reports Web Site" as template.
- Create a new report "Using the Report Wizard", choose "Standard", and click "OK".
- In "Data" form, double click "Create New Connection", and expand "ADO.NET".
- Add "ProductDataSet.xsd" file in "ADO.NET" form, and click "Finish" button.
- In "Data" form, add table "Product" and click "Next". In "Fields" form, add all three columns in the table "Product" and click "Finish".
- Add field "Barcode" to the report Section 3 in CrystalReport1.rpt.
- Locate "KeepAutomation.Barcode.Crystal.dll" to your project reference.
- Compile the sample codes below and run the project.
C# Sample code
protected void Page_Load(object sender, EventArgs e) { OleDbConnection aConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/KACrystalData.mdb"); aConnection.Open(); OleDbDataAdapter dataAdapter = new OleDbDataAdapter("select * from Product",aConnection); DataSet ds = new DataSet(); dataAdapter.Fill(ds); //Add the Barcode column to the DataSet ds.Tables[0].Columns.Add(new DataColumn("Barcode", typeof(byte[]))); BarCode ean13 = new BarCode(); //Barcode settings ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13; ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Png; foreach (DataRow dr in ds.Tables[0].Rows) { ean13.CodeToEncode = (int)dr["ProductId"] + ""; byte[] imageData = ean13.generateBarcodeToByteArray(); dr["Barcode"] = imageData; } CrystalReportSource1.ReportDocument.Load(Server.MapPath("CrystalReport1.rpt")); CrystalReportSource1.ReportDocument.SetDataSource(ds.Tables[0]); CrystalReportSource1.DataBind();
} VB Sample code
Protected Sub Page_Load(sender As Object, e As EventArgs) Dim aConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/KACrystalData.mdb") aConnection.Open()
Dim dataAdapter As New OleDbDataAdapter("select * from Product", aConnection) Dim ds As New DataSet() dataAdapter.Fill(ds)
'Add the Barcode column to the DataSet ds.Tables(0).Columns.Add(New DataColumn("Barcode", GetType(Byte())))
Dim ean13 As New BarCode() 'Barcode settings ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13 ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
For Each dr As DataRow In ds.Tables(0).Rows ean13.CodeToEncode = CInt(dr("ProductId")) & "" Dim imageData As Byte() = ean13.generateBarcodeToByteArray() dr("Barcode") = imageData Next CrystalReportSource1.ReportDocument.Load(Server.MapPath("CrystalReport1.rpt")) CrystalReportSource1.ReportDocument.SetDataSource(ds.Tables(0)) CrystalReportSource1.DataBind()
End Sub EAN-13 Barcode Properties
Frequently Asked Questions
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:
- GS1 Prefix: 2-3 digits for the country or organization.
- Company Number: 4-5 digits assigned to the manufacturer.
- Item Number: 5 digits for the specific product.
- 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 PropertiesHow To Start Using 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-13 for Crystal Report EAN 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
|