tags:

views:

207

answers:

0

I am trying to print different sized pages in JPS using a Book object. I create a custom PageFormat and I have a custom print() method in the SwingComponent. I can see that the PageFormat is correct, but the actual printed page always takes the size of the first page, not the page size for each PageFormat.

Any suggestions on how I can fix this?