cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a barcode font for use in Web Intelligence (WebI) XIR2 and 3x?

Former Member
0 Kudos

Anyone have the steps to add a barcode font to WebI XIR2 and 3x? Not finding a good KBase on it and was also wondering if there any "gotchas" in terms of printing and exporting to .pdf.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kevin,

Also, if the solution provided in the previous post doesn't helps you then try the following solution.

Following are the steps to apply barcode font (IDAutomationHC39M):

1) In Windows Explorer, browse to the following folder:

-- C:\Windows\Fonts

2) On the File menu click Install New Font then browse to the font you want to install.

3) Edit the properties on the fonts you have just added:

In the "Embedding" tab, you should get a property like "Preview & Print embedding allowed".

But, nothing related to a license limitation regarding the embedding, else, you will not be allowed to use the added fonts in PDF or XLS generation.

4) Once the above points have been done:

-- Copy the .ttf fonts you want to use in the following XIR2 folder:

<BO_INSTALL_DIR>\Business Objects\j2sdk1.4.2_08\jre\lib\fonts

5) Add the following entries into the fontalias.xml file, which is in the following folder:

<BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\fonts

The template looks like the following one:

<FONT NAME="IDAutomationHC39M">

<FONTFAMILY PLATFORM="ttf" NAME="IDAutomationHC39M (IDAutomationHC39M)">

<FONTATTRIBUTE BOLD="false" ITALIC="false" LOGICAL="IDAutomationHC39M" PHYSICAL="IDAutomationHC39M.ttf"/>

</FONTFAMILY>

<FONTFAMILY PLATFORM="win" NAME="IDAutomationHC39M"/>

<FONTFAMILY PLATFORM="java" NAME="IDAutomationHC39M"/>

<FONTFAMILY PLATFORM="html" NAME="IDAutomationHC39M"/>

</FONT>

6) Add the following entries into the u2018i18n.xmlu2019 file, which is in the following folder:

<BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\scripts

You have different sections in this i81n.xml file.

-- Under the first section

<I18N>

<FontFinder>

<font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>

u2026u2026u2026u2026u2026u2026u2026u2026u2026..

</ FontFinder>

< FontFinder2>

<font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>

u2026u2026u2026u2026u2026u2026u2026u2026u2026..

</ FontFinder2>

-- Under the u2018font_aliasingu2019 section

<font_aliasing>

<T1>

u2026u2026u2026u2026.

</T1>

<TTF>

u2026..

<font name=u201DIDAutomationHC39Mu201D>

<os type=u201Dallu201D>

<Attributs style=u201D0u201D filename=u201DIDAutomationHC39M.ttfu201D encoding=u201Du201D aliaspsname =u201CIDAutomationHC39Mu201D/>

u2026

</os>

</TTF>

7) Save the both files.

😎 Restart the Businessobjects servers or local computer.

9) Login in to infoview and create a new web intelligence report by using the Java Report Panel or Html Report Panel;

10) In the left pane, select the "Cell Format Properties": you will notice that an entry "IDAutomationHC39M" has been added into the font dropdown list.

Just test the above u2018IDAutomationHC39Mu2019 barcode font, at your end and update me with the results.

Regards,

Sarbhjeet Kaur

Former Member
0 Kudos

Hi Sarbhjeet,

We have a need and are interested to include this feature to our BI4 environment. May I know how different and difficult it is in BI4. We are in BI4 SP4 P10. We are in a distributed environment with 6 servers (all Windows 2008 R2 Enterprise VMs), 2 for web app, 2 for admin and 2 for processing, all clustered together. Appreciate any information.

Thanks

Gouri Mishra

former_member188911
Active Contributor
0 Kudos

Gouri,

this is an old thread, I see you are revamping many old threads, if you have a specific problem please open a new one.

Thanks

Simone Caneparo

SCN Discussions Moderator

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kevin,

Following information might help you to resolve the issue.

1) In Windows Explorer, browse to the following folder:

-- C:\Windows\Fonts

2) On the File menu click Install New Font then browse to the font you want to install.

3) Copy the Webdings.ttf fonts you want to use in the following XIR2 folder:

<BO_INSTALL_DIR>\Business Objects\j2sdk1.4.2_08\jre\lib\fonts

Note: Please check the names of fonts are same in both the windows font folder and business objects font folder.

If the names are getting change automatically, please rename them to original name manually.

4) Add the following entries into the fontalias.xml file, which is in the following folder:

<BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5 \win32_x86\fonts

The template looks like the following one:

<FONT NAME="webdings">

<FONTFAMILY PLATFORM="ttf" NAME="webdings (webdings)">

<FONTATTRIBUTE BOLD="false" ITALIC="false" LOGICAL="webdings" PHYSICAL="webdings"/>

</FONTFAMILY>

<FONTFAMILY PLATFORM="win" NAME="webdings"/>

<FONTFAMILY PLATFORM="java" NAME="webdings"/>

<FONTFAMILY PLATFORM="html" NAME="webdings"/>

</FONT>

5) Add the following entries into the u2018i18n.xmlu2019 file, which is in the following folder:

<BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5 \win32_x86\scripts

You have different sections in this i81n.xml file.

-- Under the first section

<I18N>

<FontFinder>

<font key=u201Dwebdingsu201D value=u201Dwebdingsu201D/>

u2026u2026u2026u2026u2026u2026u2026u2026u2026..

</ FontFinder>

< FontFinder2>

<font key=u201Dwebdingsu201D value=u201Dwebdingsu201D/>

u2026u2026u2026u2026u2026u2026u2026u2026u2026..

</ FontFinder2>

-- Under the u2018font_aliasingu2019 section

<font_aliasing>

<T1>

u2026u2026u2026u2026.

</T1>

<TTF>

u2026..

<font name=u201Dwebdingsu201D>

<os type=u201Dallu201D>

<Attributs style=u201D0u201D filename=u201Dwebdings.ttfu201D encoding=u201Du201D aliaspsname =u201Cwebdingsu201D/>

u2026

</os>

</TTF>

6) Save the both files.

7) Restart the Apache Tomcat servers.

😎 Login in to info view and create a new web intelligence report by using the Html Report Panel.

9) From the report format tab select the report body from the left pane and select the webdings font from the drop down list of fonts.

10) Also try to save the report as PDF.

Regards,

Sarbhjeet Kaur