getReport

getReport(): JadeReport;

The getReport method of the Printer class returns the value of the report instance set by the app.printer.setReport(report) method call during the print production.

If the setReport method is not called, the getReport method returns null.

The reference to the report is cleared when the printer is closed and the getReport method then returns null.