nomak Posted July 22, 2014 Posted July 22, 2014 Im new to using Java and Jaspersoft studio, have never used iReport and I want to add qr code to a report.The barcode element available on the version 5.6.0 of Jaspersoft studio i'm currently using does not have an option for qr codes even though I know that it does support them.how can I add qr code to the barcode element and what other ways can I add qr codes?
Solution hozawa Posted July 23, 2014 Solution Posted July 23, 2014 Just create a scriptlet to call qrcode java program and to output to image. Scriptlet codes are the same in both iReport and Studio so you can just use codes for iReport. Google the net to find a sample.
1099501218 Posted July 24, 2018 Posted July 24, 2018 net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: com.google.zxing.client.j2se.MatrixToImageWriter.toBufferedImage(new com.google.zxing.qrcode.QRCodeWriter().encode($P{QrCode},com.google.zxing.BarcodeFormat.QR_CODE,1000,1000)) at com.jaspersoft.studio.editor.preview.view.control.ReportController.fillReport(ReportController.java:536) at com.jaspersoft.studio.editor.preview.view.control.ReportController.access$17(ReportController.java:511) at com.jaspersoft.studio.editor.preview.view.control.ReportController$1.run(ReportController.java:429) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) it works in ireport5.6 but it doesn't pass report compile in jasperstudio6.6!!!the abolve is error log detail info.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now