i'm using ireport 4.1.1.
i wish to insert a qrcode image. how can i do that ? ireport barecode integrated component does not have this kind of 2d barecode so i'm very sad.
i also find a tutorial for other barcodes type :
but i can find the right string to put for qrcode in place of this :
new com.barcodelib.barcode.BarcodeJasperRenderer(com.barcodelib.barcode.BarcodeJasperFactory.createLinear(22, "my string of qrcode"))";
i also find a strange example there but i can't able to use it :
any help please ?
by advance, thanks.
The solution proposed here is the best one:
the fact that JasperReports does not provide a QR barcode, does not mean that you cannot do:
a) Implement a JRRenderable (like in the above sample) to create a graphic object and use it with an Image Element
b) Implement a custom component a plug it inside JR (cleaner but longer process)
thanks for your reply,
but the solution is for datamatrix barcode, i need qrcode.
i guess i have to replace this code line by another one, but which one for qrcode ?
new com.barcodelib.barcode.BarcodeJasperRenderer(com.barcodelib.barcode.BarcodeJasperFactory.createDataMatrix("123456789", 0, 0, 5))
thanks for all your help.
but i am not a java developer, so i can not do it myself this coding programmation.
then i change my way and i did my mailing with qrcode generated by using word 2007 liek this way :
That way takes only 1 minute for whom already does how to do a word mailing.
I hope next release of irepert could include QRcode like classic barcode are well and already right included in ireport. Let's hope !
I checked the second website you mentioned in your question: onbarcode.com. It seems that you go to the wrong place. I find this on that website, http://www.onbarcode.com/ireport/ I think this is what you really want, not Jasper