final float charPerInch = ParserUtil.parseFloat(report.getReportConfiguration().getConfigProperty
(PlainTextPageableModule.CHARS_PER_INCH), 10.0f);
final float linesPerInch = ParserUtil.parseFloat(report.getReportConfiguration().getConfigProperty
(PlainTextPageableModule.LINES_PER_INCH), 6.0f);
final PageableTextOutputProcessor outputProcessor = new PageableTextOutputProcessor
(new TextFilePrinterDriver(bout, charPerInch, linesPerInch), report.getConfiguration());
final PageableReportProcessor reportProcessor = new PageableReportProcessor(report, outputProcessor);
reportProcessor.addReportProgressListener(progressDialog);
progressDialog.setVisibleInEDT(true);