Prepare JasperPrint for export
Contents
[
Hide
]
JasperReports library provides a class named JasperFillManager for preparing JasperPrint for export.
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());