|
|
|
Print PDF417 Barcode In Crystal Reports
PDF417 is a 2D barcode that is able to encode more than 1000 alphanumeric characters.
To print PDF417 barcode in Crystal Reports, you need Barcodesoft UFL (User Function Library) and BCSpdf417 barcode font.
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 BCSPDF417.rpt from
C:\Program Files\Barcodesoft\PDF417Font folder.
Crystal Reports has a string length limitation of 255 characters for formula field.
Therefore we have to split PDF417 codewords into seperate parts, and concatenate them in a Text Object before apply font BCSPDF417.
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.
BCSPDF417EncodeCR({Test.Data}, '1')
BCSPDF417EncodeCR({Test.Data}, '2')
BCSPDF417EncodeCR({Test.Data}, '3')

For more information about PDF417 barcode, please click PDF417.
|