Print barcode in Jasper reports

I am trying to include in a report a barcode. Servoy version is 6.0.9 and jasperPluginRMI version 3.1_b3. Using the barbecue-1.5-beta1.jar and barcode4j.jar extensions I get the following errors:

  • Error during evaluation:net/sourceforge/barbecue/BarcodeException
  • Error during evaluation:org/apache/batik/bridge/UserAgent

Maybe this happens because the plugin and the extensions are not compatible, or I didn’t include well the jars in the jnlp file. Can anyone suggest a good combination of versions or a better way to print barcode in a jasper report?

Thank you!

Hi, Ionel.

For each JasperReport plugin release, there is a special plugin that contains barcodes (see example below). I have used the barcode plugin in the past with no problems. Perhaps, this could work for you as well?

I hope this helps!

[attachment=0]JR_Barcode.png[/attachment]

The update of the plugin to 4.0.2 solved the problem, there was no way to make it work with the older 3.1 version