Bar Code Local Setup:
1) Copy Barcode font in C:\Windows\Fonts directory.
2) Copy xdo.cfg in C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config directory. The sample file is already available when BI Publisher desktop is installed.
3) Right click the font file and go to properties. Copy the .ttf file name. Double click the font file to get the family name.
4) Open the xdo.cfg file and paste as follows (My filename is w39elc.ttf and font family is WASP 39 ELC)
1) Copy Barcode font in C:\Windows\Fonts directory.
2) Copy xdo.cfg in C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config directory. The sample file is already available when BI Publisher desktop is installed.
3) Right click the font file and go to properties. Copy the .ttf file name. Double click the font file to get the family name.
4) Open the xdo.cfg file and paste as follows (My filename is w39elc.ttf and font family is WASP 39 ELC)
<font family="WASP 39 ELC" style="normal" weight="normal"> <truetype path="C:\WINDOWS\Fonts\w39elc.ttf" /> </font>
Bar Code Application Setup:
Basically this post refers to any
font that you want to embed into you output but I was working
specifically on demand to insert the barcode.
So start with something simple. Obtain the font file. In my case I posses “WASP 39 ELC" font. Font file name is w39elc.ttf. Install the font into Windows by double clicking on it and choosing “install”
So far so good and if you run this template locally on your workstation you will see the bar code. But not in EBS.
This is what you need to do in order to make it work in EBS
Open “XML Publisher Administrator” responsibility
In “Font Name” put the name of the font as it appears in Word. Choose the font file and click “Apply”
Go to “Administrator”-> “Font Mapping”
Put into “Mapping Name” – Bar Code Fonts, into “Mapping Code” – BAR_CODE_FONTS, into “Type” –FO To PDF and click “Apply”
Open template definition and go to “Edit Configuration”
Now you can run your template and it will display the bar code properly.
No comments:
Post a Comment