Generate Code 128 barcodes

Integrate Code128 Barcode With 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.
code128 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 code128



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



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

create code128 formula crystal reports

3. Double click "BCSLinearcode128" function from Visual Basic UFLs list as shown.

code128 crystal reports UFL

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

code128 barcode crystal reports formula field

5. Drag and drop the code128 formula field in your crystal report design view.

code128 crystal reports formula field

6. Right click code128 formula field and choose "Format Field" from context menu. Then choose "code128mHr" font typeface.

code128 barcode font crystal reports

Click OK Button. You will see code128 barcode in your crystal report.

code128 barcode crystal reports