• pdf417 barcode download
  • pdf417 barcode order

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. Install PDF417 demo on your computer.

2. Open DOS prompt. If you are using Windows 10 or Windows 7, please Open DOS prompt as administrator.
Please go to the following folder
CD C:\Program Files\Common Files\Barcodesoft\FontUtil
Type in the following DOS command to register crUFLbcs.dll
regsvr32 crUFLbcs.dll
pdf417 crystal reports DLL DOS registration

3. Open your crystal report. Right click Formula Fields, choose "New..." from the context menu. Type in "pdf417" in the Name textbox, then click "Use Editor".

pdf417 create formula crystal reports

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

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

BCSPDF417EncodeCR({Test.Data}, 1, 0, 0, 0, 0, 0)
BCSPDF417EncodeCR({Test.Data}, 2, 0, 0, 0, 0, 0)
BCSPDF417EncodeCR({Test.Data}, 3, 0, 0, 0, 0, 0)

The first parameter is string to encode.
The second parameter in the formula is index.
The other parameters are MaxRow, FixedColumn, Security, Compaction Mode and Truncated option.
For detailed explanations of each parameter, please refer to readme file.
pdf417 crystal reports UFL

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

  • pdf417 crystal reports download
  • pdf417 software order