Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Unable to display barcode in pdf generated file by BI Publisher 12c

Question
63
Views
0
Comments

Summary

Unable to display barcode in pdf generated file by BI Publisher 12c

Content

Hello,

With BI Publisher 12c (12.2.1.2 on Windows Server) we are unable to generate a pdf file with Code 128 barcode (default barcode).

Integration of BI Publsher in Oracle APEX is used to generate the pdf file.

A basic test is a word template file that should display the code 128 barcode for 123456. The pdf file displays ª1234560¬ instead of the barcode.

In the configuration file of BI Publisher xdo.cfg (user_projects\domains\bi\bidata\components\bipublisher\repository\Admin\Configuration), the following lines have been added:

    <font family="Candara" style="normal" weight="normal">

      <truetype path="C:\Windows\Fonts\128R00.TTF"/>

    </font>

  <font-substitute name="Candara"><truetype path="C:\Windows\Fonts\128R00.TTF"/></font-substitute></fonts>

In the template rtf file we use the BI tag: <?format-barcode:TEST;'code128b'?>

Thanks for your help.

Regards