Crystal Reports EAN 128 Generator
Generate EAN 128, GS1 128 barcode in Crystal Reports in C#, VB.NET projects.
How to encode, generate, print EAN 128, GS1 128 labels in Crystal Reports asp.net mvc web project without using font. Free download.
- Robust and easy-to-use barcode control in .NET Framework 2.0, 3.0, 3.5 and 4.0
- 100% C# managed code provided with strong-named signature and signed DLL
- Provide VB and C# sample codes for easy and quick EAN-128 barcode generation
- Generate GS1-128 barcode image in Crystal Report in Gif, Tiff, Bmp, Png and Jpeg formats
- Simple to generate Application Identifier for GS1-128 with easy-to-use method
- Easily encode returns, tabs and other functions such as GS and RS though tilde function
- Print and draw scannable & readable GS1-128 image according to its specification
Introduction of Crystal Reports EAN-128 Barcode Control
KA.Barcode Generator for Crystal Reports is a robust .NET component that provides a unique and effective solution to generate more than 20 types of the most popular barcode symbologies in Crystal Reports with high quality. The generated barcodes can be rendered in many popular image formats, such as Gif, Tiff, Bmp, Png and Jpeg.
Description of EAN-128 Barcode
EAN-128, also named as GS1-128, UCC-128 & GTIN-128, is a variable-length and self-checking linear barcode symbology that is capable of encoding all the ASCII characters.
- EAN-128 Encodable Characters: Standard ASCII characters and Extended ASCII characters
- EAN-128 Structure: Code 128 start character, Code 128 FNC1 character, Application Identifier, Encoded data, Checksum character and stop character
GS1-128 data encoding in Crystal Reports
GS1-128 encodable characters
- The GS1 subset of International Standard ISO/IEC 646
- Four non-data function characters. FNC2 and FNC4 are not used in GS1-128 barcodes.
- Four code set selection characters (including single character code set shift).
- Three start characters.
- One stop character.
GS1-128 FNC1 character
To create a valid GS1-128 barcode, a FNC1 (Function Code 1) must be inserted immediately after the start character.
The FNC1 character is not a visible character. It does not show in the human interpretation of your GS1-128 barcodes.
Only barcode scanner devices or barcode reader software can read FNC1 characters.
In the Crystal Reports .NET project, you do not need know how to insert FNC1 characters to the right places, the barcode generator component will automatically
insert FNC1 characters in the right position in the GS1-128 symbology.
GS1-128 symbol check digit
The GS1-128/EAN-128 check digit SHALL be included as the last symbol character before the stop character.
The GS1-128 checksum digit SHALL NOT be represented in the human readable interpretation nor shall it be transmitted by the GS1 128 decoder.
Download of Crystal Reports EAN-128 Barcode Control
- User Manual and Order Page
- End User License Agreement
- KeepAutomation.Barcode.Crystal.dll
- KACrystalData.mdb
- ProductDataSet.xsd
Trial version of EAN-128 Barcode Control for Crystal Reports enables users to create high-quality EAN-128 barcode image in Crystal Reports. As barcode image generated with the trial version will include a "KA Barcode" watermark randomly, this trial version can only be applied to non-commercial applications. Generation of Crystal Reports EAN-128 Barcode in ASP.NET
- Create a new web project with "ASP.NET Crystal Reports Web Site" as template in your Visual Studio.
- Establish 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 reference "KeepAutomation.Barcode.Crystal.dll" to your project.
- Use the sample codes below and run your 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 ean128 = new BarCode(); //Barcode settings ean128.Symbology = KeepAutomation.Barcode.Symbology.EAN128; ean128.ImageFormat = System.Drawing.Imaging.ImageFormat.Png; foreach (DataRow dr in ds.Tables[0].Rows) { ean128.CodeToEncode = (int)dr["ProductId"] + ""; byte[] imageData = ean128.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 ean128 As New BarCode() 'Barcode settings ean128.Symbology = KeepAutomation.Barcode.Symbology.EAN128 ean128.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
For Each dr As DataRow In ds.Tables(0).Rows ean128.CodeToEncode = CInt(dr("ProductId")) & "" Dim imageData As Byte() = ean128.generateBarcodeToByteArray() dr("Barcode") = imageData Next CrystalReportSource1.ReportDocument.Load(Server.MapPath("CrystalReport1.rpt")) CrystalReportSource1.ReportDocument.SetDataSource(ds.Tables(0)) CrystalReportSource1.DataBind()
End Sub Properties of EAN-128 Barcode |
Free Trial DownloadCrystal EAN 128EAN 128 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 ReportEAN 128 for Crystal Report Intelligent 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
|