Barcode Generation with Railo

June 23, 2010 · By webrat · 6 Comments

In a previous blog post, I mentioned that createObject() has a 3rd / 4th argument negates the need to use Javaloader. Some questions have come up on the Railo mailing list and I thought I'd attach 2 working examples (barcode_samples.zip). One is using the Barbeque library found on Sourceforge, the other is using Google's zxing library. Remember, with a little creativity and expanding these samples, this type of code can be baked into Railo natively (e.g.: <cfbarcode>) today by placing the code in special directories (Functions / Tags).

Special thanks to Leigh's (cfsearching) excellent blog for some example legwork in barcode generation.

Tags: HowTo · Tips

6 responses so far ↓

  • 1 Arsalan // Jun 30, 2010 at 4:48 AM

    Bro... I can't download the zip files from the link provided!
    It seems to be a 'Bad Link' :).
  • 2 Todd Rafferty // Jul 7, 2010 at 12:11 PM

    Sorry for the delay. Example link fixed.
  • 3 Azadi Saryev // Sep 20, 2011 at 10:40 AM

    Any chance the link to barcode_samples.zip can be fixed again?

    Would really like to check out the examples, but the link isn't working (404).

    Azadi
  • 4 TallTroyM // Sep 29, 2011 at 9:18 PM

    Looks like the example ZIP file is no longer found.
  • 5 Todd Rafferty // Nov 7, 2011 at 7:57 PM

    Barcode link example has been fixed (again).
  • 6 Azadi Saryev // Nov 8, 2011 at 3:11 AM

    Thanks Todd!

Leave a Comment

Leave this field empty: