Sunday, 12 January 2014

Barcode Report

This example seems still to be interesting to some people in the community. The number of requests and questions I am getting regarding it forced me to update it. Now the rendering is using an application process instead of a public procedure - using public procedures in XE is somewhat tricky.

10 comments:

  1. I was trying to recreate this code using an interactive report. The barcodes didn't show... I followed all of the steps so I guess it could be related to the SVG Viewer... anyway, I followed the link you provided to download it, but is no longer being supported I am running on Windows 7, any suggestion on how to achieve the same results under the conditions I just mentioned?

    ReplyDelete
  2. I just created an interactive report in this example:

    https://apex.oracle.com/pls/apex/f?p=31517:105

    It shows the barcodes. I am also using Windows 7 and there are no issues. Tested with both FF and IE10. Maybe the SVG Viewer isn't installed properly. Google on this topic a bit.

    Regards,

    Denes Kubicek

    ReplyDelete
  3. Pretty great post. I simply stumbled upon your blog and wished to say that I have truly loved browsing your blog posts. After all I’ll be subscribing on your rss feed and I hope you write once more soon!
    crystal reports barcode generator

    ReplyDelete
  4. I'm looking for some resources or guides on creating bar code in crystal reports, so lucky find the detail info here. Thank you so much for the great sharing.

    ReplyDelete
  5. First of all would like to thank you for the support. We want to generate barcode based on the new unique keys generated in our table in Oracle Apex.We followed exactly the script in your demo application and was anot able to view the barcodes. We installed another svg viewer as Adobe no longer supports SVG viewer. The new SVG viewer that we downloaded doesnt give us the desired result. An error while running the Javascript message appears in the script. Is it because of the generating SVG file part which calls the xml nodes ' xmlns:a="http://ns.adobe.com'|| '/AdobeSVGViewerExtensions/3.0/" >'

    ReplyDelete
  6. You should look for a better solution for generating barcodes. This technique is obviously hard to implement and it is not supported.

    Denes Kubicek

    ReplyDelete
  7. I have a javascript which generates barcode in oracle apex application page. When i call the function
    get_object('P5_X').innerHTML=DrawCode39Barcode('1-1-82',0) in the Page Body attribute the barcode for the value '1-1-82' is generated. I want to take the value of item P5_X instead of '1-1-82'. I tried many things but not working
    Can you please suggest some solution

    ReplyDelete
  8. Can you please provide Pavels application process script as this gives barcode output on my browser whereas the https://apex.oracle.com/pls/apex/f?p=31517:105
    gives no barcode output

    ReplyDelete
  9. I see the barcodes in my browser. You have Pavel's email on that page and can write him.

    Otherwise, read my last answer and go find a better barcode solution.

    Denes

    ReplyDelete
  10. After including 2 javasrcpit files now able to successfully generate barcode based on the parameter in Apex page. Is thera any way to print it directly using the barcode printer without making page setup adjustments. Now the apex page displays only barcode. I have to manually change the margins to 0 and the n select first page to print the barcode as the total print page gives 5 pages . Only the first page is barcode and all other pages are blank.
    Any help would be appreciated

    ReplyDelete