Problems to print

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Paulo Macagnani

Problems to print

Post by Paulo Macagnani » Fri Mar 23, 2001 1:10 pm

Hi,

I'm evaluating JFreeChart version 0.5.6. The tool is really cool and everything works fine, except when I try to print a chart.
After printer selection, page orientation, etc, the program send a very large job to the printer spool (about 12 Mb) and finally a blank page is ejected on the printer.

Coul you please help me ?

Thank you

Paulo

David Gilbert

RE: Problems to print

Post by David Gilbert » Mon Mar 26, 2001 1:15 pm

As far as I know this is a bug in the JDK. If you log on to Sun's Java Developer Connection and look in their bug database, bug report 4227245 has some more information. It seems to depend on which JDK you are using...

Regards,

DG.

David Gilbert

RE: Problems to print

Post by David Gilbert » Fri Mar 30, 2001 12:31 pm

Paulo e-mailed me to say that the problem was caused by the GradientPaint used to draw the chart background - setting it to a solid color fixed it.

Regards,

DG.

Locked