<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.awt.PrintJob
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.html">This Package</a>  <a href="java.awt.PopupMenu.html#_top_">Previous</a>  <a href="java.awt.Rectangle.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.PrintJob
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.awt.PrintJob
</pre>
<hr>
<dl>
  <dt> public abstract class <b>PrintJob</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
</dl>
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.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.Toolkit.html#getPrintJob">getPrintJob</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#PrintJob()"><b>PrintJob</b></a>()
  <dd> 
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#end()"><b>end</b></a>()
  <dd>  Ends the print job and does any necessary cleanup.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#finalize()"><b>finalize</b></a>()
  <dd>  Ends this print job once it is no longer referenced.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getGraphics()"><b>getGraphics</b></a>()
  <dd>  Gets a Graphics object that will draw to the next page.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPageDimension()"><b>getPageDimension</b></a>()
  <dd>  Returns the dimensions of the page in pixels.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPageResolution()"><b>getPageResolution</b></a>()
  <dd>  Returns the resolution of the page in pixels per inch.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#lastPageFirst()"><b>lastPageFirst</b></a>()
  <dd>  Returns true if the last page will be printed first.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="PrintJob"></a>
<a name="PrintJob()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>PrintJob</b>
<pre>
 public PrintJob()
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getGraphics()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getGraphics"><b>getGraphics</b></a>
<pre>
 public abstract <a href="java.awt.Graphics.html#_top_">Graphics</a> getGraphics()
</pre>
<dl>
  <dd> 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.
<p>
  <dd><dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.PrintGraphics.html#_top_">PrintGraphics</a>
  </dl></dd>
</dl>
<a name="getPageDimension()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPageDimension"><b>getPageDimension</b></a>
<pre>
 public abstract <a href="java.awt.Dimension.html#_top_">Dimension</a> getPageDimension()
</pre>
<dl>
  <dd> Returns the dimensions of the page in pixels.
 The resolution of the page is chosen so that it
 is similar to the screen resolution.
<p>
</dl>
<a name="getPageResolution()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPageResolution"><b>getPageResolution</b></a>
<pre>
 public abstract int getPageResolution()
</pre>
<dl>
  <dd> 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.
<p>
</dl>
<a name="lastPageFirst()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="lastPageFirst"><b>lastPageFirst</b></a>
<pre>
 public abstract boolean lastPageFirst()
</pre>
<dl>
  <dd> Returns true if the last page will be printed first.
<p>
</dl>
<a name="end()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="end"><b>end</b></a>
<pre>
 public abstract void end()
</pre>
<dl>
  <dd> Ends the print job and does any necessary cleanup.
<p>
</dl>
<a name="finalize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="finalize"><b>finalize</b></a>
<pre>
 public void finalize()
</pre>
<dl>
  <dd> Ends this print job once it is no longer referenced.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#finalize()">finalize</a> in class <a href="java.lang.Object.html#_top_">Object</a>
    <dt> <b>See Also:</b>
    <dd> <a href="#end">end</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.html">This Package</a>  <a href="java.awt.PopupMenu.html#_top_">Previous</a>  <a href="java.awt.Rectangle.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
