Prepare JasperPrint for export

Contents
[ ]

The following code snippet demonstrates how to create JasperPrint object to prepare a report for further image export.

Java

JasperReport jasperReport = JasperCompileManager.compileReport("shapesReport.jrxml");
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null, new JREmptyDataSource());