QRCode crystal reports QR Code Crystal Reports
QRcode crystal reports
Price: US$199
qrcode barcode download qr code barcode image qrcode barcode order

QR Code is a 2D barcode that is able to encode more than 1000 Japanese characters or English characters.

1. Open DOS prompt.
If you are using Windows Vista or Windows 7, please Open DOS prompt as administrator.
Go to the following folder
CD C:\Program Files (x86)\Common Files\Barcodesoft\FontUtil
Type in the following DOS command to register crUFLbcs.dll
regsvr32 crUFLbcs.dll
QRCode barcode crystal reports UFL DLL

If registration fails, please use the following DOS command to register it.
Regtlibv12 is a utility of Windows .NET Framework 2.0.
Regtlibv12 _cruflbcs.tlb

2. If you are using Crystal Reports 9 or above, please open BCSQRCode.rpt from
C:\Program Files (x86)\Barcodesoft\QRCodeFont folder.

After QRCode encoding process, even a short string might return more code words than you expect.
However, Crystal Reports allows no more than 255 characters in a formula field.
Therefore we have to split QRCode code words into separate parts, and concatenate them in a Text Object before apply font BcsQRCode to the Text Object.
As for how many formula fields are needed, you can find out by using the following function BCSQRCodeFormulaNoForCR.

Right click Formula Fields from Field Explorer View, choose "New..." from the context menu as shown below

qrcode barcode crystal reports UFL

3. Create more formula fields as listed below if returned code words are more than 255. Then put them all in sequence within the same Text Object.

BCSQRCodeEncodeCR({Test.Data}, 1, 1)
BCSQRCodeEncodeCR({Test.Data}, 2, 1)
BCSQRCodeEncodeCR({Test.Data}, 3, 1)

The first parameter in the formula field is string to encode.
The second parameter in the formula field is index.
The third parameter in the formula field is error correction level. Its value ranges between 1 and 4 that represents L07, M15, Q25 and H30 separately. When set to default value 0, it stands for M15 error correction level.

For detailed explanation of all parameters, please refer to readme file.

QRCode barcode crystal reports UFL

4. Right click Text Object and choose Format Object" from context menu. Then choose "BcsQRCode" as font typeface for the Text Object.

For more information about QR Code barcode, please click QR Code