|
|
|
Print QR Code In Crystal Reports
QR Code is a 2D barcode that is able to encode more than 1000 Japanese characters.
1. Open DOS prompt. Go to the following folder
C:\Program Files\Common Files\Barcodesoft\FontUtil
Type in the following DOS command to register crUFLbcs.dll
regsvr32 crUFLbcs.dll

2. If you are using Crystal Reports 9 or above, please open BCSQRCode.rpt from
C:\Program Files\Barcodesoft\QRCodeFont folder.
Crystal Reports has a string length limitation of 255 characters for formula field.
Therefore we have to split QRCode codewords into seperate parts, and concatenate them in a Text Object before apply font BCSQRCode.
Right click Formula Fields from Field Explorer View, choose "New..." from the context menu as shown below

Create more formula fields as listed below if returned codewords are more than 255. Then put them all in the same Text Object.
BCSQRCodeEncodeCR({Test.Data}, '1')
BCSQRCodeEncodeCR({Test.Data}, '2')
BCSQRCodeEncodeCR({Test.Data}, '3')

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