Categories
- All Categories
- Oracle Analytics Learning Hub
- 30 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 238 Oracle Analytics News
- 45 Oracle Analytics Videos
- 16K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 88 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Unable to display barcode in pdf generated file by BI Publisher 12c
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