question: public ComponentPrintService ( Component c , PageFormat format ) { setPageFormat ( format ) ; setPrintable ( this ) ; setComponent ( c ) ; Rectangle componentBounds = c . getBounds ( null ) ; setSize ( componentBounds . width , componentBounds . height ) ; setScale ( 1 , 1 ) ; }
target:  Create a Pageable that can print a Swing JComponent over multiple pages.