Example usage for Java java.awt.print Printable fields, constructors, methods, implement or subclass
The text is from its open source code.
int | PAGE_EXISTS Returned from #print(Graphics,PageFormat,int) to signify that the requested page was rendered. |
int | NO_SUCH_PAGE Returned from print to signify that the pageIndex is too large and that the requested page does not exist. |
int | print(Graphics graphics, PageFormat pageFormat, int pageIndex) Prints the page at the specified index into the specified Graphics context in the specified format. |