An abstract class which initiates and executes a print job. It provides access to a print graphics object which renders to an appropriate print device.
An abstract class which initiates and executes a print job. It provides access to a print graphics object which renders to an appropriate print device.
(end this)
Ends the print job and does any necessary cleanup.
Ends the print job and does any necessary cleanup.
(finalize this)
Ends this print job once it is no longer referenced.
Ends this print job once it is no longer referenced.
(get-graphics this)
Gets a Graphics object that will draw to the next page. The page is sent to the printer when the graphics object is disposed. This graphics object will also implement the PrintGraphics interface.
returns: java.awt.Graphics
Gets a Graphics object that will draw to the next page. The page is sent to the printer when the graphics object is disposed. This graphics object will also implement the PrintGraphics interface. returns: `java.awt.Graphics`
(get-page-dimension this)
Returns the dimensions of the page in pixels. The resolution of the page is chosen so that it is similar to the screen resolution.
returns: java.awt.Dimension
Returns the dimensions of the page in pixels. The resolution of the page is chosen so that it is similar to the screen resolution. returns: `java.awt.Dimension`
(get-page-resolution this)
Returns the resolution of the page in pixels per inch. Note that this doesn't have to correspond to the physical resolution of the printer.
returns: int
Returns the resolution of the page in pixels per inch. Note that this doesn't have to correspond to the physical resolution of the printer. returns: `int`
(last-page-first this)
Returns true if the last page will be printed first.
returns: boolean
Returns true if the last page will be printed first. returns: `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close