java.awt
public abstract class PrintJob extends Object
Constructor Summary | |
---|---|
PrintJob()
Create a new PrintJob. |
Method Summary | |
---|---|
abstract void | end()
Informs the print job that printing is complete or should be aborted. |
void | finalize()
This method explicitly ends the print job in the event the job
becomes un-referenced without the application having done so. |
abstract Graphics | getGraphics()
Returns a graphics context suitable for rendering the next page. |
abstract Dimension | getPageDimension()
Returns the dimension of the page in pixels. |
abstract int | getPageResolution()
Returns the resolution of the page in pixels per inch. |
abstract boolean | lastPageFirst()
Tests whether or not the last page will be printed first.
|
Returns: a graphics context for printing the next page
Returns: the page dimensions
Returns: the resolution of the page in pixels per inch
Returns: true if the last page prints first