Oracle Analytics Cloud and Server

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

Bar code not scannable

Received Response
1549
Views
37
Comments
13

Answers

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    Hi Tim,

    Thanks for your help, unfortunately this is not working for me, I had already tried using <?format-barcode:SHIPMENT_XID;'code128a'?> but it doesn't work. When I run the teamplate this is the kind of barcode I get :

    Barcode error.png

    I just used the template I sent you and changed the code in bardcode field to <?format-barcode:SHIPMENT_XID;'code128a'?>.

    Do you remember where you downloaded your Code 128 font ? And did you upload it onto bip ? Under what name ?

  • timdexter
    timdexter Rank 6 - Analytics Lead

    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

  • timdexter
    timdexter Rank 6 - Analytics Lead

    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.

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    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 ?

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    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.

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    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 ?

  • timdexter
    timdexter Rank 6 - Analytics Lead

    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

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    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 :

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    Hi Rajesh,

    My latest issue is that I get this kind of unreadable barcode in my report (If I put the encoded string " <?format-barcode:SHIPMENT_XID;'code128a'?> " ) :

    Apparently it would be coming from the font I downloaded here : https://www.dafont.com/fr/code-128.font  but I uninstalled it (seems semi-uninstalled as I explained in the post above, which could cause the problem) and reinstalled BIP after but the problem is the same.

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    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.