my barcode on jasper report

Here were my conditions when I want to add barcode generator ability on my report:

  • I used to get my jrxml file (japer report file) that generated by iReport. Than I didn't ever notice the details code.
  • So many package for barcode generator, and followed by confusing about the dependencies
  • I want to integrate it with jasper plugin for grailsI want the barcode image generated on the fly, without need to save to image file
And here were the steps which taken to resolve the problems:
  • create maven project in my netbeans, to manage dependency problems easily
  • add barcode4j library to projectcreate simple script to generate image for testing. So I know if all dependency to generate barcode are completed
  • apply barcode generator to jasper report using jasper scriptlet
  • than integrate it with grails by put the jrxml file on web-app/reports, scriptlet code on src/java and put all dependency library on lib
Since I got problem for posting my code, for detailed code and implementation please refer to: http://freeezcode.wordpress.com/2008/12/29/my-barcode4j-on-grailss-jasper-plugin/

0 Responses: