Generate pdf417 Barcodes

Implement seamlessly across Crystal Reports, MS Excel, and MS Access

Generate pdf417 Barcode in Crystal Reports

1. Please determine the bitness of your SAP Crystal Reports.
SAP Crystal Reports 2008 / 2011 / 2013 / 2016 are 32-bit.
SAP Crystal Reports 2020 / 2025 are 64-bit.

1.1 If your SAP Crystal Reports is 64-bit, please register 64-bit cruflbcs_x64.dll as instructed below.
Right click command prompt and run command prompt as administrator.
pdf417 command prompt as administrator



To register 64-bit DLL, please type in the following commands
cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
%systemroot%\System32\regsvr32.exe cruflbcs_x64.dll



1.2 If your SAP Crystal Reports is 32-bit, please register 32-bit cruflbcs.dll as instructed below.
Type in the following commands to register 32-bit cruflbcs.dll
cd "C:\Program Files (x86)\Common Files\Barcodesoft\FontUtil"
regsvr32.exe cruflbcs.dll

register cruflbcs.dll commands for pdf417



If you see the following Window pop up, your registration was successful.
register cruflbcs.dll succeeded



2. Locate the UFL Function.

Navigate through the hierarchy: Functions List ⇒ Additional Functions ⇒ COM and .NET UFLs (u212com.dll) ⇒ Visual Basic UFLs. Double-click on the BCSLinearpdf417 function.

pdf417 barcode Crystal reports UFL selection

3. Create a New Formula Field

Open your Crystal Report. Right-click Formula Fields and choose "New..." from the context menu. Set the name to "Bcspdf417", then click "Use Editor".

pdf417 create formula crystal reports

4. Use database field as parameter for pdf417 formula

type in the database field as parameter for pdf417 formula. And click "Save" button to save pdf417 formula field.

pdf417 crystal reports ufl

5. Insert a text object in your crystal report design view.

Create multiple formula fields as listed below if returned value of BCSPDF417FormulaNoForCR({Test.Data}) is larger than one.

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.

Drag and drop the pdf417 formula field in your crystal report design view. You will see some strange characters. Don't worry! You have NOT applied pdf417 barcode font yet.

PDF417 barcode crystal reports formula field

pdf417 barcode crystal reports UFL

6. Apply font typeface Bcspdf417.

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

pdf417 font crystal reports

7. pdf417 barcode is created in your Crystal Reports.

Click OK button. You will get pdf417 barcode in your report.

pdf417 barcode crystal reports