Categories
- All Categories
- 10 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 209 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.6K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Bar code not scannable
Answers
-
I just have the barcode font that ships with publisher. I believe its pre loaded to the server so you can just go get it or its installed with the BI Pulisher Desktop.
As for your output I just tested with your code 128 font and the Oracle encoder and I get the same result as you ie characters that are not handled by the font like the copyright glyph
You have a couple of choices:
1. Abandon the font you downloaded and use the Oracle fonts. I have tested them with the Oracle encoder and they work perfectly
2. Find out the encoder algorithm code needed for the current font and implement your own encoder class.
#1 is going to be much easier and you can move on to the next challenge and forget coade128 barcodes for a while
Cheers
Tim
0 -
The BIP Code 128 fonts are available in the BI Publisher installation directory. There is a fonts directory under the Template Builder for Word directory.
Install the Code 128 font into windows and use that in MSWord.
Once on the server, BIP will pick up the font and use it
Tim
0 -
I see there is text required in barcode font, for instance ÌCodeÂÇ,tXXÎ for code 128 :
Cannot scan data printed with a barcode font do you know where I should put this ?
0 -
So I reinstalled BIP for desktop and used the font that is comes with the add-in and my barcode is a bit longer than before in the template and this is what I have :
But when I run the report this is the kind of barcode I get :
So basically it seems like it's the same as before.
0 -
I think you have mixed up the fonts.
I would
1.remove the fonts from the windows/fonts directory on your local machine
2. Then do the same on the server with the font that you downloaded.
3Now install the BIP delivered font from the Template for Word/fonts directory into the windows/fonts dir
4Use the font in the template
5The command you are using is correct.
<?format-barcode:SHIPMENT_XID;'code128a'?>
code128a refers to the encoding thatyou want applied to your SHIPMENT_XID data not the font you are using.
6 Save and deploy to the server as a new template
Run it and check the result.
0 -
I can't manage to make it work. If the font installed in word is called "Code 128" and in my rtf I put
" <?format-barcode:SHIPMENT_XID;'code128a'?> ", in BIP it should be "Code 128" right ?
0 -
1. The barcode font being used is the one you downloaded from here:https://www.dafont.com/fr/code-128.font I know its that font because I can reproduce the issue only with that font. Using the BIP code128 barcode, you will not get regular charachers in the barcode.
So, that font is still in your system somewhere and is being used still.
2. I saw that issue with dots when you sent me the template. Im not sure if it was some translation issue with Word when it rendered for me in my English version of Word. I just pasted in the command again and it worked and remained OK.
Tim
0 -
And now when I upload my template onto BIP which the encoded string *<?format-barcode:SHIPMENT_XID;'code128a'?>* (yes I added the " * " this time) I get this kind of barcode in my report :
And when I download my template again it doesn't show the encoded string but this instead :
0 -
Pleased you have it working :0)
Some points would be greatly appreciated at this point (excuse the pun)
0 -
Ok so my internet is very slow atm so I can't really do tests but it's weird that it took the font from datfont.com since I thought I had uninstalled it and when I uninstalled BIP I couldn't choose the font 'code 128', it appeared again when I reinstalled BIP.
The other thing is that I have a french version of BIP in word but my word version is in english, I don't know if that could be a problem.
0