How to create vertical barcode with proprint?

One of the problem of jasper reports is rotating images / barcodes. The solution is very simple: all you need is to create an image, rotate is as you need and post it to the report as parameter.

I create an image of barcode with itext. There are several types of parcode I support in proprint utility:
com.lowagie.text.pdf.Barcode128;
com.lowagie.text.pdf.Barcode39;
com.lowagie.text.pdf.BarcodeEAN;
com.lowagie.text.pdf.BarcodeInter25;
com.lowagie.text.pdf.BarcodePostnet;

After creation on image rotate is very simple with java ... But how to post is as paramter? You need to define new parameter with iReport as java.lang.Object, then drag and drop an image object to the right position of template and define size of it. Image object must be defined as net.sf.jasperreports.engine.JRRenderable.

Progress usage is very simple too: define parameter "barcode" like:
run add-param-attr("barcode", "0123456789", "type=barcode128,rotate=V").
Types I support:
barcode128 -> com.lowagie.text.pdf.Barcode128;
barcode39 -> com.lowagie.text.pdf.Barcode39;
barcodeinter25 -> com.lowagie.text.pdf.BarcodeInter25;
barcodepostnet -> com.lowagie.text.pdf.BarcodePostnet
and default is: com.lowagie.text.pdf.BarcodeEAN : codeEAN.EAN13
rotate=V means vertical

Then create Parameter "barcode" as Object and drop an image on the title band define is as net.sf.jasperreports.engine.JRRenderable and in then "Image Expression" box type $P{barcode}

Thats it.
BR,
Sergei.