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
  1. Download and unzip the evaluation version of Crystal Reports Barcode Generator.
  2. Open your Visual Studio and create a new web project with "ASP.NET Crystal Reports Web Site" as template.
  3. Create a new report "Using the Report Wizard", choose "Standard", and click "OK".
  4. In "Data" form, double click "Create New Connection", and expand "ADO.NET".
  5. In "ADO.NET" form, add "ProductDataSet.xsd" file, and click "Finish" button.
  6. In "Data" form, add table "Product" and click "Next". In "Fields" form, add all three columns in the table "Product" and click "Finish".
  7. In CrystalReport1.rpt, add field "Barcode" to the report Section 3.
  8. Add "KeepAutomation.Barcode.Crystal.dll" to your project reference.
  9. 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
To generate QR Code barcode image in Windows Forms, please refer to this Barcode Generation Tutorial for Crystal Reports.
QR Code Barcode Properties
To know more information about QR Code, please view QR Code barcode properties here.
Free Trial DownloadCrystal QR CodeQR Code PropertiesUsing C#Using VB.NETUsing ASP.NETUsing .NET WinformsData Matrix for Crystal ReportPDF417 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 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.