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
24

Answers

  • timdexter
    timdexter Rank 6 - Analytics Lead

    Couple of things:

    1. Can you move the BCR field to the top of the template. It looks like it appears after the barcode field which could be causing the issue.

    2. To confirm, you are using the E Business Suite version of Publisher?

    3. Can you send me the template and some sample data?

    Tim

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    This doesn't seem to work, I must be doing something wrong. Do you think I could send you my teamplate by mail ?

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    Here are a few screen fyi.

    Barcode template:

    Barcode.png

    Barcode Register :

    Barcode Register.png

    Fonts in BIP:

    Font BIP.png

    Report barcode (unscannable) :

    Report Unscannable Barcode.png

  • timdexter
    timdexter Rank 6 - Analytics Lead

    For 11g the path does not use apps

    Try using '<?register-barcode-vendor:'oracle.xdo.template.rtf.util.XDOBarcodeUtil';'XMLPBarVendor'?>

    Check out my profile for my email -

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    1. I moved the BCR field to the top of the rtf but it doesn't change anything.

    2. I'm using a 11.XX version of BIP as shown on this screen, this is why i took the path '<?register-barcode-vendor:'oracle.apps.xdo.template.rtf.util.XDOBarcodeUtil';'XMLPBarVendor'?> :

    BIP Version.png

    3. What is you email so I can send you the documents ?

  • timdexter
    timdexter Rank 6 - Analytics Lead

    timothy.dexter@gmail

  • timdexter
    timdexter Rank 6 - Analytics Lead

    Hi

    I have solved the problem! I just needed to RTFM! Things in 11.1.1.9 and above changed when you wanted to use the fonts shipped with Publisher or the Publisher encoder class.

    https://docs.oracle.com/middleware/11119/bip/BIPRD/create_rtf_tmpl.htm#newfontsetup  --> Scroll to 4.17.1 Using the Barcode Fonts Shipped with BI Publisher

    You just need to use the following in your field

    <?format-barcode:SHIPMENT_XID;'code128a'?>

    No need for the 'XMLPBarVendor' parameter anymore. There is also no need to register the barcoder class or the barcode vendor unless you write your own encoder.

    I tested your template and data and its generating the encoded string and formatting with a code128 barcode that is readable with my phone app.

    Good luck!

    Cheers

    Tim

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    Ok I misunderstood you. I already tried with that line of code but it still doesn't work though. Your email doesn't appear in your profile, it must be in private.

  • timdexter
    timdexter Rank 6 - Analytics Lead

    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

  • Antoine KAIBER
    Antoine KAIBER Rank 6 - Analytics Lead

    For the 1st choice I have already tried but it doesn"t work: i've uninstalled the code 128 font I had uploaded on bip so (fopefully) it would take the default code 128 font of BIP but it doesn't do the link with the template. What font should I choose for the barcode field in the rtf ? Since I don't have the equivalent of the default code 128 which is in BIP...I can't (or at least I haven't found how) donwload the font from BIP contrary to what you said and I don't have it in BIP on word (donwloading BIP for word didn't add any fonts)