JasperPrintReport Hangs application...

Hi,

I'm having a problem with JasperPrintReport causing my application to hang. I'm running the following line of code in a thread that is joined to my main application:


boolean printed = JasperPrintManager.printReport(jasperPrint, true);


When I hit the okay button my print preview screen goes gray and the app hangs. The weird thing is that if I call set the second parameter to false, it prints out just fine:


boolean printed = JasperPrintManager.printReport(jasperPrint, false);


Does anyone have any ideas about what might be going on here?

Thanks,
Perry
PerryClayton's picture
Joined: Aug 18 2006 - 3:24am
Last seen: 17 years 1 month ago

1 Answer:

I'm having the exact same problem. Have you found any solution?

Mark
JR 1.3.0
JRE 1.5.0_06
mpl's picture
mpl
27
Joined: Nov 19 2006 - 1:37am
Last seen: 16 years 10 months ago
Feedback
randomness