#1088 Problems printing more than one chart in a printerjob

General (896)
Brett Gray

I am trying to print a custom report and then any test graphs that are attached to it. Using a PrinterJob and Book, I do a book.append(ChartPanel,PageFormat) and it will print out the chart if it is the first item. It, however, will not print out anything else after it, charts or otherwise. It also won't print the chart if there is anything before it, and stalls anything after it. I am thinking that the printable tries to force itself as the first page and backfires if it isn't but I don't know the printing system well enough to justify that theory.
This is done in Netbeans 7.0.1, Java 7.0.3, jfreechart-1.0.13 and jcommon-1.0.16.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks