Generate interleaved-2-of-5 Barcodes

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

Generate Interleaved 2 of 5 Barcode in Crystal Reports

How to generate an Interleaved 2 of 5 barcode in Crystal Reports?

To generate an Interleaved 2 of 5 barcode in Crystal Reports, create a new formula field using the BCSLinearI25 function from the Barcodesoft UFL library. Pass your database fields as arguments, place the formula field on your design view, and assign the I25MHr font.

  1. Step 1: Determine the bitness of SAP Crystal Reports and register the DLL

    Determine the bitness of your SAP Crystal Reports version. SAP Crystal Reports 2008 to 2016 are 32-bit versions, while SAP Crystal Reports 2020 and 2025 are 64-bit versions.

    For 64-bit Crystal Reports (2020 / 2025):

    Run Command Prompt as administrator and execute the following:

    cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
    %systemroot%\System32\regsvr32.exe cruflbcs_x64.dll
    Registering the 64-bit cruflbcs_x64.dll file via the Administrator Command Prompt

    For 32-bit Crystal Reports (2008–2016):

    Run Command Prompt as administrator and execute the following:

    cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
    regsvr32.exe cruflbcs.dll
    Registering the 32-bit cruflbcs.dll file via the Administrator Command Prompt
  2. Step 2: Create a new Itf25 formula field

    Open your Crystal Reports layout. In the Field Explorer, right-click on Formula Fields and select New... from the context menu. Enter the name "Itf25" in the Name text box, and then click the Use Editor button.

    Creating a new Crystal Reports formula field named Itf25
  3. Step 3: Locate the Barcodesoft Interleaved 2 of 5 function

    In the Formula Workshop, navigate to the "Additional Functions" directory and double-click the BCSLinearI25 function under the "Visual Basic UFLs" node.

    Selecting BCSLinearI25 from the Visual Basic UFLs list in the Formula Workshop
  4. Step 4: Use your database field as a parameter

    Specify your target database field as the primary string parameter within the parentheses of the Interleaved 2 of 5 formula. Click the Save button to validate and save your new formula logic configuration.

    Interleaved 2 of 5 Crystal Reports UFL
  5. Step 5: Insert the Itf25 formula field into your report design

    Drag your newly saved Itf25 formula field from the Field Explorer and drop it onto the grid area of the design view where you want the Itf25 barcode to appear.

    Interleaved 2 of 5 Barcode Crystal Reports UFL
  6. Step 6: Assign the I25MHr font

    Right-click the placed formula text block object in your design view and select Format Field from the context menu. In the font customization tab, select "I25mHr" from the font family drop-down list.

    Changing the font selection settings to I25mHr in the 'Format Field' window
  7. Step 7: Verify the generation of the Interleaved 2 of 5 barcode

    Click the OK button to apply the changes. The placeholder text strings will immediately be converted and rendered as an active, readable Interleaved 2 of 5 barcode in your report preview layout.

    Successful generation and visual verification of the Interleaved 2 of 5 barcode layout in Crystal Reports