The Fellowship / Fellows / rca / From Out There / Gbarcode Support for Ruby FPDF

Gbarcode Support for Ruby FPDF

I was going mad fixing a bug in a very convoluted barcode printing feature in the equipment management system we're developing. After a while I gave up -- we must have triggered something deep within Rails or Ruby, and it wasn't going to go away soon. The details are complicated and boring, but just know this: Instead of fixing the bug, I completely rewrote our barcode handling and as a side effect developed an extension for Ruby FPDF to support Gbarcode :)

Please give it a try if you need barcode support in your PDFs and let me know what you want to improve and what fails horribly for you.

I wanted to send it to Brian Ollenberger to see if he likes it and would like to include it with Ruby FPDF, but his website appears to be down. Anyhow, I would have to clean things up and make it all elegant and sexxay first.

Still, standing on the shoulders of giants is just the beginning. With a dozen lines of code I managed to tie Gbarcode into Ruby, and through that into Rails, and I'm not even a good coder. Free Software rocks! Well, okay, FPDF isn't technically Free Software, but still. All of this just feels very good, and it gives me a kind of productivity I could only dream of with proprietary software and complicated licenses. I had the whole thing hacked together in less than an hour.

Creative Commons License

This work is licensed under a Creative Commons Attribution 2.5 License.

Comentarios

Log in or join the Fellowship to post comments.



Right menu

Fellow Events

<< Noviembre 2008 >>
Mon Tue Wed Thu Fri Sat Sun
  1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Selected Day Today


FSFE Card


DRM.info
© FSFE