Crystal Reports QR Code Generator
How to add, insert, generate QR Code to SAP Crystal Reports report viewer in .net project without font. Free Download
How to encode, generate QR Code, and add, insert to Crystal Reports report viewer in C#, VB.NET project without using font. Free download.
- Effectively run on .NET Framework 2.0, 3.0, 3.5 and 4.0 versions
- Managed code 100% built in C# with time-stamped and signed DLLs
- Easy to use VB.NET and C#.NET codes for Crystal Reports in .NET Visual Studio
- Easily insert QR Code and other 2D barcodes (PDF-417 and Data Matrix) into Crystal Reports
- QR Code created with this barcode generator control compatible with ISO/IEC specifications
- Allow the barcode to be saved in various image formats, such as gif, tiff, bmp, png and jpeg
- Flexible to customize QR Code settings, including width, height, data mode, color and resolution
Barcode Generator for Crystal Reports Introduction
KA.Barcode Generator for Crystal Reports is an advanced class library SDK for .NET that enables you to integrate high-quality barcode images into Crystal Reports. Once the barcode is installed in a report, no other controls need to be installed to generate barcodes. Detailed tutorials with VB.NET and C# sample codes are provided to help users generate bi-dimensional barcode QR Code with ease.
QR Code Barcode Introduction
QR Code is also known as Denso Barcode, QRCode, Quick Response Code, JIS X 0510 and ISO/IEC18004. It is a high density 2D barcode symbology with fast readability.
QR Code Encodable Characters
- Numeric characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- Alphanumeric characters: 0-9, A-Z, space, $, %, *, +, -, ., /, :
- Binary characters
- Kanji/Kana characters
Download QR Code Barcode Generator for Crystal Reports
- KeepAutomation.Barcode.Crystal.dll
- KACrystalData.mdb
- ProductDataSet.xsd
- End User License Agreement
- User Manual
- Order Page
This evaluation package can be used without time limitation free of charge. Please pay attention that barcode images created with this barcode control includes a "KA Barcode" watermark. It can only be used for testing purpose. QR Code Barcode Generation in Crystal Reports in ASP.NET
- Download and unzip the evaluation version of Crystal Reports Barcode Generator.
- 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".
- In "ADO.NET" form, add "ProductDataSet.xsd" file, 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".
- In CrystalReport1.rpt, add field "Barcode" to the report Section 3.
- Add "KeepAutomation.Barcode.Crystal.dll" to your project reference.
- Copy the following demo codes 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 qrcode = new BarCode(); //Barcode settings qrcode.Symbology = KeepAutomation.Barcode.Symbology.QRCode; qrcode.X = 6; qrcode.Y = 6; qrcode.LeftMargin = 24; qrcode.RightMargin = 24; qrcode.TopMargin = 24; qrcode.BottomMargin = 24; qrcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png; foreach (DataRow dr in ds.Tables[0].Rows) { qrcode.CodeToEncode = (int)dr["ProductId"] + ""; byte[] imageData = qrcode.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 qrcode As New BarCode() 'Barcode settings qrcode.Symbology = KeepAutomation.Barcode.Symbology.QRCode qrcode.X = 6 qrcode.Y = 6 qrcode.LeftMargin = 24 qrcode.RightMargin = 24 qrcode.TopMargin = 24 qrcode.BottomMargin = 24 qrcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
For Each dr As DataRow In ds.Tables(0).Rows qrcode.CodeToEncode = CInt(dr("ProductId")) & "" Dim imageData As Byte() = qrcode.generateBarcodeToByteArray() dr("Barcode") = imageData Next CrystalReportSource1.ReportDocument.Load(Server.MapPath("CrystalReport1.rpt")) CrystalReportSource1.ReportDocument.SetDataSource(ds.Tables(0)) CrystalReportSource1.DataBind()
End Sub QR Code Barcode Properties |
Free Trial DownloadCrystal QR CodeQR Code PropertiesHow To Start Using C#Using VB.NETUsing ASP.NETUsing .NET WinformsData Matrix for Crystal ReportPDF417 for Crystal ReportQR Code for Crystal Report moreCodabar for Crystal ReportCode 39 for Crystal ReportCode 128 for Crystal ReportEAN-8 for Crystal ReportEAN-13 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
|