Printing a document

Hi All,<?:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>
I’m using JGo 5.0 with Auto Layout.<o:p></o:p>
I have big diagrams. The auto layout works great.<o:p></o:p>
When I print the diagram, I get many blank pages that I’d not like to print. (it might be 50 blank pages) Is there a way doing so? If I’m using plotter I also get many blank pages.<o:p></o:p>
Thanks<o:p></o:p>

Well, if the region you want to print is rectangular, you could override JGoView.getPrintDocumentSize and getPrintDocumentTopLeft to return values specifying the part of the document that you do want to print.
I suppose you could do that repeatedly with different rectangles if you wanted to skip some of the blank areas within a rectangle.
And you could override getPrintScale to customize the scale at which everything is printed, to reduce the total number of pages.