Hi all,
My application is based on the last version of JFreeReport (0.8.10). I use the PreviewDialog to preview the report before printing.
Everything is ok, but the fact that in the print window the default printer is not always automatically selected. (As it was in the previous versions)
I have various clients with windows 2000 and xp and one on linux. The problem is verified mainly on Windows XP and 2000 (not always), on linux it seems to work.
The PreviewFrame is started with this code:
URL in = getReportDefinitionSource();
this.report = parseReport(in);
this.report.setDataFactory(new TableDataFactory("default", data));
PreviewDialog frame = new PreviewDialog(this.report);
frame.pack();
frame.setVisible(true);
frame.requestFocus();
What is wrong?
Thank you all in advance,
Luca


Reply With Quote