public interface RandomPrintable extends Printable
UNKNOWN_NUMBER_OF_PAGES| Modifier and Type | Method and Description |
|---|---|
PointDrawable |
getPage(PageFormat pf,
int pageIndex)
Get a PointDrawable for a particular page.
|
void |
releasePage(PointDrawable pd) |
adjustPrinterProperties, countPages, getDocumentName, getPreferredFormat, print, printingComplete, printingStarting, validatePagePointDrawable getPage(PageFormat pf, int pageIndex)
pg - the PointGraphics that the page will print on.pf - the PageFormat to be used.pageIndex - the index of the page - starting from zero.void releasePage(PointDrawable pd)