Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 692

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:03:04 CEST 2007 -->
<TITLE>
QPrinter
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QPrinter class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QPrinter";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrintEngine.PrintEnginePropertyKey.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.ColorMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QPrinter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QPrinter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QPrinter</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QPrinter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QPrinter</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A><DT>implements <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></DL>
</PRE>

<P>
<p>The <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> class is a paint device that paints on a printer.</p>
<p>This device represents a series of pages of printed output, and is used in almost exactly the same way as other paint devices such as <a href="QWidget.html"><tt>QWidget</tt></a> and <a href="QPixmap.html"><tt>QPixmap</tt></a>. A set of additional functions are provided to manage device-specific features, such as orientation and resolution, and to step through the pages in a document as it is generated.</p>
<p>When printing directly to a printer on Windows or Mac OS X, <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> uses the built-in printer drivers. On X11, <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> uses the Common Unix Printing System (CUPS)</tt> or the standard Unix lpr</tt> utility to send PostScript or PDF output to the printer. As an alternative, the <a href="QPrinter.html#printProgram()"><tt>printProgram</tt></a> function can be used to specify the command or utility to use instead of the system default.</p>
<p><a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> supports a number of parameters, most of which can be changed by the end user through a <a href="QPrintDialog.html">print dialog</tt></a>. In general, <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> passes these functions onto the underlying <a href="QPrintEngine.html"><tt>QPrintEngine</tt></a>.</p>
<p>The most important parameters are:</p>
<ul>
<li><a href="QPrinter.html#setOrientation(com.trolltech.qt.gui.QPrinter.Orientation)"><tt>setOrientation</tt></a> tells <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> which page orientation to use.</li>
<li><a href="QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)"><tt>setPageSize</tt></a> tells <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> what page size to expect from the printer.</li>
<li><a href="QPrinter.html#setResolution(int)"><tt>setResolution</tt></a> tells <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> what resolution you wish the printer to provide, in dots per inch (DPI).</li>
<li><a href="QPrinter.html#setFullPage(boolean)"><tt>setFullPage</tt></a> tells <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> whether you want to deal with the full page or just with the part the printer can draw on.</li>
<li><a href="QPrinter.html#setNumCopies(int)"><tt>setNumCopies</tt></a> tells <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> how many copies of the document it should print.</li>
</ul>
<p>Many of these functions can only be called before the actual printing begins (i.e&#x2e;, before QPainter::begin() is called). This usually makes sense because, for example, it's not possible to change the number of copies when you are halfway through printing. There are also some settings that the user sets (through the printer dialog) and that applications are expected to obey. See <a href="QAbstractPrintDialog.html"><tt>QAbstractPrintDialog</tt></a>'s documentation for more details.</p>
<p>When QPainter::begin() is called, the <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> it operates on is prepared for a new page, enabling the <a href="QPainter.html"><tt>QPainter</tt></a> to be used immediately to paint the first page in a document. Once the first page has been painted, <a href="QPrinter.html#newPage()"><tt>newPage</tt></a> can be called to request a new blank page to paint on, or QPainter::end() can be called to finish printing. The second page and all following pages are prepared using a call to <a href="QPrinter.html#newPage()"><tt>newPage</tt></a> before they are painted.</p>
<p>The first page in a document does not need to be preceded by a call to <a href="QPrinter.html#newPage()"><tt>newPage</tt></a>. You only need to calling <a href="QPrinter.html#newPage()"><tt>newPage</tt></a> after QPainter::begin() if you need to insert a blank page at the beginning of a printed document. Similarly, calling <a href="QPrinter.html#newPage()"><tt>newPage</tt></a> after the last page in a document is painted will result in a trailing blank page appended to the end of the printed document.</p>
<p>If you want to abort the print job, <a href="QPrinter.html#abort()"><tt>abort</tt></a> will try its best to stop printing. It may cancel the entire job or just part of it.</p>
<p>Since <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> can print to any <a href="QPrintEngine.html"><tt>QPrintEngine</tt></a> subclass, it is possible to extend printing support to cover new types of printing subsystem by subclassing <a href="QPrintEngine.html"><tt>QPrintEngine</tt></a> and reimplementing its interface.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPrintDialog.html"><tt>QPrintDialog</tt></a>, 
<a href="%2E%2E/printing.html">Printing with Qt</tt></a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.ColorMode.html" title="enum in com.trolltech.qt.gui">QPrinter.ColorMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum type is used to indicate whether <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> should print in color or not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.Orientation.html" title="enum in com.trolltech.qt.gui">QPrinter.Orientation</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum type (not to be confused with <tt>Orientation</tt>) is used to specify each page's orientation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.OutputFormat.html" title="enum in com.trolltech.qt.gui">QPrinter.OutputFormat</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The <a href="QPrinter.html#OutputFormat-enum"><tt>OutputFormat</tt></a> enum is used to describe the format <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> should use for printing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageOrder.html" title="enum in com.trolltech.qt.gui">QPrinter.PageOrder</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum type is used by <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> to tell the application program how to print.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageSize.html" title="enum in com.trolltech.qt.gui">QPrinter.PageSize</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum type specifies what paper size <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> should use.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.PaperSource.html" title="enum in com.trolltech.qt.gui">QPrinter.PaperSource</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum type specifies what paper source <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> is to use.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrinterMode.html" title="enum in com.trolltech.qt.gui">QPrinter.PrinterMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the mode the printer should work in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrinterState.html" title="enum in com.trolltech.qt.gui">QPrinter.PrinterState</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press link for info on QPrinter.PrinterState</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrintRange.html" title="enum in com.trolltech.qt.gui">QPrinter.PrintRange</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to specify the print range selection option.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#QPrinter()">QPrinter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a>(ScreenResolution).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)">QPrinter</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrinterMode.html" title="enum in com.trolltech.qt.gui">QPrinter.PrinterMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new printer object with the given <tt>mode</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#abort()">abort</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aborts the current print run.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#collateCopies()">collateCopies</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if collation is turned on when multiple copies is selected.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.ColorMode.html" title="enum in com.trolltech.qt.gui">QPrinter.ColorMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#colorMode()">colorMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current color mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#creator()">creator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the application that created the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#depth()">depth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bit depth (number of bit planes) of the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#devType()">devType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#docName()">docName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the document name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#doubleSidedPrinting()">doubleSidedPrinting</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if double side printing is enabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#fontEmbeddingEnabled()">fontEmbeddingEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if font embedding is enabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.html" title="class in com.trolltech.qt.gui">QPrinter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QPrinter instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#fromPage()">fromPage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the from-page setting.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#fullPage()">fullPage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the origin of the printer's coordinate system is at the corner of the page and false if it is at the edge of the printable area.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#height()">height</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="QPixmap.html"><tt>QPixmap</tt></a> and <a href="QWidget.html"><tt>QWidget</tt></a>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#heightMM()">heightMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the paint device in millimeters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#logicalDpiX()">logicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#logicalDpiY()">logicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the metric information for the given paint device <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#newPage()">newPage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells the printer to eject the current page and to continue printing on a new page.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#numColors()">numColors</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of different colors available for the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#numCopies()">numCopies</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of copies to be printed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.Orientation.html" title="enum in com.trolltech.qt.gui">QPrinter.Orientation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#orientation()">orientation</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the orientation setting.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#outputFileName()">outputFileName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the output file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.OutputFormat.html" title="enum in com.trolltech.qt.gui">QPrinter.OutputFormat</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#outputFormat()">outputFormat</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the output format for this printer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageOrder.html" title="enum in com.trolltech.qt.gui">QPrinter.PageOrder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#pageOrder()">pageOrder</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current page order.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#pageRect()">pageRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the page's rectangle; this is usually smaller than the <a href="QPrinter.html#paperRect()"><tt>paperRect</tt></a> since the page normally has margins between its borders and the paper.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageSize.html" title="enum in com.trolltech.qt.gui">QPrinter.PageSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#pageSize()">pageSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the printer page size.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#paintEngine()">paintEngine</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the paint engine used by the printer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#paintingActive()">paintingActive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#paperRect()">paperRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the paper's rectangle; this is usually larger than the <a href="QPrinter.html#pageRect()"><tt>pageRect</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PaperSource.html" title="enum in com.trolltech.qt.gui">QPrinter.PaperSource</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#paperSource()">paperSource</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the printer's paper source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#physicalDpiX()">physicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#physicalDpiY()">physicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrintEngine.html" title="class in com.trolltech.qt.gui">QPrintEngine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#printEngine()">printEngine</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the print engine used by the printer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#printerName()">printerName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the printer name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrinterState.html" title="enum in com.trolltech.qt.gui">QPrinter.PrinterState</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#printerState()">printerState</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current state of the printer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#printProgram()">printProgram</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the program that sends the print output to the printer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrintRange.html" title="enum in com.trolltech.qt.gui">QPrinter.PrintRange</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#printRange()">printRange</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the page range of the <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#resolution()">resolution</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current assumed resolution of the printer, as set by <a href="QPrinter.html#setResolution(int)"><tt>setResolution</tt></a> or by the printer driver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setCollateCopies(boolean)">setCollateCopies</A></B>(boolean&nbsp;collate)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default value for collation checkbox when the print dialog appears.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setColorMode(com.trolltech.qt.gui.QPrinter.ColorMode)">setColorMode</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.ColorMode.html" title="enum in com.trolltech.qt.gui">QPrinter.ColorMode</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the printer's color mode to <tt>arg__1</tt>, which can be either <tt>Color</tt> or <tt>GrayScale</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setCreator(java.lang.String)">setCreator</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the application that created the document to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setDocName(java.lang.String)">setDocName</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the document name to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setDoubleSidedPrinting(boolean)">setDoubleSidedPrinting</A></B>(boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables double sided printing if <tt>enable</tt> is true; otherwise disables it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setEngines(com.trolltech.qt.gui.QPrintEngine, com.trolltech.qt.gui.QPaintEngine)">setEngines</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrintEngine.html" title="class in com.trolltech.qt.gui">QPrintEngine</A>&nbsp;printEngine,
           <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A>&nbsp;paintEngine)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is used by subclasses of <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> to specify custom print and paint engines (<tt>printEngine</tt> and <tt>paintEngine</tt>, respectively).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setFontEmbeddingEnabled(boolean)">setFontEmbeddingEnabled</A></B>(boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enabled or disables font embedding depending on <tt>enable</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setFromTo(int, int)">setFromTo</A></B>(int&nbsp;fromPage,
          int&nbsp;toPage)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the from-page and to-page settings to <tt>fromPage</tt> and <tt>toPage</tt> respectively.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setFullPage(boolean)">setFullPage</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is true, enables support for painting over the entire page; otherwise restricts painting to the printable area reported by the device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setNumCopies(int)">setNumCopies</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of copies to be printed to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setOrientation(com.trolltech.qt.gui.QPrinter.Orientation)">setOrientation</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.Orientation.html" title="enum in com.trolltech.qt.gui">QPrinter.Orientation</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the print orientation to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setOutputFileName(java.lang.String)">setOutputFileName</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the output file to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)">setOutputFormat</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.OutputFormat.html" title="enum in com.trolltech.qt.gui">QPrinter.OutputFormat</A>&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the output format for this printer to <tt>format</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setPageOrder(com.trolltech.qt.gui.QPrinter.PageOrder)">setPageOrder</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageOrder.html" title="enum in com.trolltech.qt.gui">QPrinter.PageOrder</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the page order to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)">setPageSize</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageSize.html" title="enum in com.trolltech.qt.gui">QPrinter.PageSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the printer page size to <tt>arg__1</tt> if that size is supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setPaperSource(com.trolltech.qt.gui.QPrinter.PaperSource)">setPaperSource</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PaperSource.html" title="enum in com.trolltech.qt.gui">QPrinter.PaperSource</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the paper source setting to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setPrinterName(java.lang.String)">setPrinterName</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the printer name to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setPrintProgram(java.lang.String)">setPrintProgram</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the program that should do the print job to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setPrintRange(com.trolltech.qt.gui.QPrinter.PrintRange)">setPrintRange</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrintRange.html" title="enum in com.trolltech.qt.gui">QPrinter.PrintRange</A>&nbsp;range)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the print range option in to be <tt>range</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#setResolution(int)">setResolution</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Requests that the printer prints at <tt>arg__1</tt> or as near to <tt>arg__1</tt> as possible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#supportedResolutions()">supportedResolutions</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the resolutions (a list of dots-per-inch integers) that the printer says it supports.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#toPage()">toPage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the to-page setting.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#width()">width</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="QPixmap.html"><tt>QPixmap</tt></a> and <a href="QWidget.html"><tt>QWidget</tt></a>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPrinter.html#widthMM()">widthMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the paint device in millimeters.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QPrinter()"><!-- --></A><H3>
QPrinter</H3>
<PRE>
public <B>QPrinter</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a>(ScreenResolution).
<P>
</DL>
<HR>

<A NAME="QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><!-- --></A><H3>
QPrinter</H3>
<PRE>
public <B>QPrinter</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrinterMode.html" title="enum in com.trolltech.qt.gui">QPrinter.PrinterMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Creates a new printer object with the given <tt>mode</tt>.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="abort()"><!-- --></A><H3>
abort</H3>
<PRE>
public final boolean <B>abort</B>()</PRE>
<DL>
<DD><p>Aborts the current print run. Returns true if the print run was successfully aborted and <a href="QPrinter.html#printerState()"><tt>printerState</tt></a> will return QPrinter::Aborted; otherwise returns false.</p>
<p>It is not always possible to abort a print job. For example, all the data has gone to the printer but the printer cannot or will not cancel the job when asked to.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="collateCopies()"><!-- --></A><H3>
collateCopies</H3>
<PRE>
public final boolean <B>collateCopies</B>()</PRE>
<DL>
<DD><p>Returns true if collation is turned on when multiple copies is selected. Returns false if it is turned off when multiple copies is selected.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setCollateCopies(boolean)"><tt>setCollateCopies</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="colorMode()"><!-- --></A><H3>
colorMode</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.ColorMode.html" title="enum in com.trolltech.qt.gui">QPrinter.ColorMode</A> <B>colorMode</B>()</PRE>
<DL>
<DD><p>Returns the current color mode.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setColorMode(com.trolltech.qt.gui.QPrinter.ColorMode)"><tt>setColorMode</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="creator()"><!-- --></A><H3>
creator</H3>
<PRE>
public final java.lang.String <B>creator</B>()</PRE>
<DL>
<DD><p>Returns the name of the application that created the document.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setCreator(java.lang.String)"><tt>setCreator</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="depth()"><!-- --></A><H3>
depth</H3>
<PRE>
public final int <B>depth</B>()</PRE>
<DL>
<DD><p>Returns the bit depth (number of bit planes) of the paint device.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#depth()">depth</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="docName()"><!-- --></A><H3>
docName</H3>
<PRE>
public final java.lang.String <B>docName</B>()</PRE>
<DL>
<DD><p>Returns the document name.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setDocName(java.lang.String)"><tt>setDocName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="doubleSidedPrinting()"><!-- --></A><H3>
doubleSidedPrinting</H3>
<PRE>
public final boolean <B>doubleSidedPrinting</B>()</PRE>
<DL>
<DD><p>Returns true if double side printing is enabled.</p>
<p>Currently this option is only supported on X11.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setDoubleSidedPrinting(boolean)"><tt>setDoubleSidedPrinting</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fontEmbeddingEnabled()"><!-- --></A><H3>
fontEmbeddingEnabled</H3>
<PRE>
public final boolean <B>fontEmbeddingEnabled</B>()</PRE>
<DL>
<DD><p>Returns true if font embedding is enabled.</p>
<p>Currently this option is only supported on X11.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setFontEmbeddingEnabled(boolean)"><tt>setFontEmbeddingEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromPage()"><!-- --></A><H3>
fromPage</H3>
<PRE>
public final int <B>fromPage</B>()</PRE>
<DL>
<DD><p>Returns the from-page setting. The default value is 0.</p>
<p>If <a href="QPrinter.html#fromPage()"><tt>fromPage</tt></a> and <a href="QPrinter.html#toPage()"><tt>toPage</tt></a> both return 0 this signifies 'print the whole document'.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setFromTo(int, int)"><tt>setFromTo</tt></a>, 
<a href="QPrinter.html#toPage()"><tt>toPage</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fullPage()"><!-- --></A><H3>
fullPage</H3>
<PRE>
public final boolean <B>fullPage</B>()</PRE>
<DL>
<DD><p>Returns true if the origin of the printer's coordinate system is at the corner of the page and false if it is at the edge of the printable area.</p>
<p>See <a href="QPrinter.html#setFullPage(boolean)"><tt>setFullPage</tt></a> for details and caveats.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setFullPage(boolean)"><tt>setFullPage</tt></a>, 
<a href="QPrinter.html#PageSize-enum"><tt>PageSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public final int <B>height</B>()</PRE>
<DL>
<DD><p>Returns the height of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="QPixmap.html"><tt>QPixmap</tt></a> and <a href="QWidget.html"><tt>QWidget</tt></a>).</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#height()">height</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#heightMM()"><tt>heightMM</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="heightMM()"><!-- --></A><H3>
heightMM</H3>
<PRE>
public final int <B>heightMM</B>()</PRE>
<DL>
<DD><p>Returns the height of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#heightMM()">heightMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#height()"><tt>height</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiX()"><!-- --></A><H3>
logicalDpiX</H3>
<PRE>
public final int <B>logicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QPrinter.html#widthMM()"><tt>widthMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QPrinter.html#logicalDpiX()"><tt>logicalDpiX</tt></a> doesn't equal the <a href="QPrinter.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiX()">logicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, 
<a href="QPrinter.html#physicalDpiX()"><tt>physicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiY()"><!-- --></A><H3>
logicalDpiY</H3>
<PRE>
public final int <B>logicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QPrinter.html#heightMM()"><tt>heightMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QPrinter.html#logicalDpiY()"><tt>logicalDpiY</tt></a> doesn't equal the <a href="QPrinter.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiY()">logicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, 
<a href="QPrinter.html#physicalDpiY()"><tt>physicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="newPage()"><!-- --></A><H3>
newPage</H3>
<PRE>
public final boolean <B>newPage</B>()</PRE>
<DL>
<DD><p>Tells the printer to eject the current page and to continue printing on a new page. Returns true if this was successful; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="numColors()"><!-- --></A><H3>
numColors</H3>
<PRE>
public final int <B>numColors</B>()</PRE>
<DL>
<DD><p>Returns the number of different colors available for the paint device. Since this value is an int, it will not be sufficient to represent the number of colors on 32 bit displays, in this case INT_MAX is returned instead.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#numColors()">numColors</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="numCopies()"><!-- --></A><H3>
numCopies</H3>
<PRE>
public final int <B>numCopies</B>()</PRE>
<DL>
<DD><p>Returns the number of copies to be printed. The default value is 1.</p>
<p>On Windows, Mac OS X and X11 systems that support CUPS, this will always return 1 as these operating systems can internally handle the number of copies.</p>
<p>On X11, this value will return the number of times the application is required to print in order to match the number specified in the printer setup dialog. This has been done since some printer drivers are not capable of buffering up the copies and in those cases the application must make an explicit call to the print code for each copy.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setNumCopies(int)"><tt>setNumCopies</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="orientation()"><!-- --></A><H3>
orientation</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.Orientation.html" title="enum in com.trolltech.qt.gui">QPrinter.Orientation</A> <B>orientation</B>()</PRE>
<DL>
<DD><p>Returns the orientation setting. This is driver-dependent, but is usually QPrinter::Portrait.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setOrientation(com.trolltech.qt.gui.QPrinter.Orientation)"><tt>setOrientation</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="outputFileName()"><!-- --></A><H3>
outputFileName</H3>
<PRE>
public final java.lang.String <B>outputFileName</B>()</PRE>
<DL>
<DD><p>Returns the name of the output file. By default, this is an empty string (indicating that the printer shouldn't print to file).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setOutputFileName(java.lang.String)"><tt>setOutputFileName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="outputFormat()"><!-- --></A><H3>
outputFormat</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.OutputFormat.html" title="enum in com.trolltech.qt.gui">QPrinter.OutputFormat</A> <B>outputFormat</B>()</PRE>
<DL>
<DD><p>Returns the output format for this printer.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)"><tt>setOutputFormat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pageOrder()"><!-- --></A><H3>
pageOrder</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageOrder.html" title="enum in com.trolltech.qt.gui">QPrinter.PageOrder</A> <B>pageOrder</B>()</PRE>
<DL>
<DD><p>Returns the current page order.</p>
<p>The default page order is <tt>FirstPageFirst</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setPageOrder(com.trolltech.qt.gui.QPrinter.PageOrder)"><tt>setPageOrder</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pageRect()"><!-- --></A><H3>
pageRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>pageRect</B>()</PRE>
<DL>
<DD><p>Returns the page's rectangle; this is usually smaller than the <a href="QPrinter.html#paperRect()"><tt>paperRect</tt></a> since the page normally has margins between its borders and the paper.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#pageSize()"><tt>pageSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pageSize()"><!-- --></A><H3>
pageSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageSize.html" title="enum in com.trolltech.qt.gui">QPrinter.PageSize</A> <B>pageSize</B>()</PRE>
<DL>
<DD><p>Returns the printer page size. The default value is driver-dependent.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)"><tt>setPageSize</tt></a>, 
<a href="QPrinter.html#pageRect()"><tt>pageRect</tt></a>, 
<a href="QPrinter.html#paperRect()"><tt>paperRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="paintingActive()"><!-- --></A><H3>
paintingActive</H3>
<PRE>
public final boolean <B>paintingActive</B>()</PRE>
<DL>
<DD><p>Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintingActive()">paintingActive</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QPainter::isActive</tt></DL>
</DD>
</DL>
<HR>

<A NAME="paperRect()"><!-- --></A><H3>
paperRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>paperRect</B>()</PRE>
<DL>
<DD><p>Returns the paper's rectangle; this is usually larger than the <a href="QPrinter.html#pageRect()"><tt>pageRect</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#pageRect()"><tt>pageRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="paperSource()"><!-- --></A><H3>
paperSource</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.PaperSource.html" title="enum in com.trolltech.qt.gui">QPrinter.PaperSource</A> <B>paperSource</B>()</PRE>
<DL>
<DD><p>Returns the printer's paper source. This is <tt>Manual</tt> or a printer tray or paper cassette.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setPaperSource(com.trolltech.qt.gui.QPrinter.PaperSource)"><tt>setPaperSource</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiX()"><!-- --></A><H3>
physicalDpiX</H3>
<PRE>
public final int <B>physicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QPrinter.html#physicalDpiX()"><tt>physicalDpiX</tt></a> doesn't equal the <a href="QPrinter.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiX()">physicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, 
<a href="QPrinter.html#logicalDpiX()"><tt>logicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiY()"><!-- --></A><H3>
physicalDpiY</H3>
<PRE>
public final int <B>physicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QPrinter.html#physicalDpiY()"><tt>physicalDpiY</tt></a> doesn't equal the <a href="QPrinter.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiY()">physicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, 
<a href="QPrinter.html#logicalDpiY()"><tt>logicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="printEngine()"><!-- --></A><H3>
printEngine</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrintEngine.html" title="class in com.trolltech.qt.gui">QPrintEngine</A> <B>printEngine</B>()</PRE>
<DL>
<DD><p>Returns the print engine used by the printer.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="printProgram()"><!-- --></A><H3>
printProgram</H3>
<PRE>
public final java.lang.String <B>printProgram</B>()</PRE>
<DL>
<DD><p>Returns the name of the program that sends the print output to the printer.</p>
<p>The default is to return an empty string; meaning that <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> will try to be smart in a system-dependent way. On X11 only, you can set it to something different to use a specific print program. On the other platforms, this returns an empty string.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setPrintProgram(java.lang.String)"><tt>setPrintProgram</tt></a>, 
<tt>setPrinterSelectionOption</tt></DL>
</DD>
</DL>
<HR>

<A NAME="printRange()"><!-- --></A><H3>
printRange</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrintRange.html" title="enum in com.trolltech.qt.gui">QPrinter.PrintRange</A> <B>printRange</B>()</PRE>
<DL>
<DD><p>Returns the page range of the <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a>. After the print setup dialog has been opened, this function returns the value selected by the user.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setPrintRange(com.trolltech.qt.gui.QPrinter.PrintRange)"><tt>setPrintRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="printerName()"><!-- --></A><H3>
printerName</H3>
<PRE>
public final java.lang.String <B>printerName</B>()</PRE>
<DL>
<DD><p>Returns the printer name. This value is initially set to the name of the default printer.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setPrinterName(java.lang.String)"><tt>setPrinterName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="printerState()"><!-- --></A><H3>
printerState</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrinterState.html" title="enum in com.trolltech.qt.gui">QPrinter.PrinterState</A> <B>printerState</B>()</PRE>
<DL>
<DD><p>Returns the current state of the printer. This may not always be accurate (for example if the printer doesn't have the capability of reporting its state to the operating system).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="resolution()"><!-- --></A><H3>
resolution</H3>
<PRE>
public final int <B>resolution</B>()</PRE>
<DL>
<DD><p>Returns the current assumed resolution of the printer, as set by <a href="QPrinter.html#setResolution(int)"><tt>setResolution</tt></a> or by the printer driver.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setResolution(int)"><tt>setResolution</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCollateCopies(boolean)"><!-- --></A><H3>
setCollateCopies</H3>
<PRE>
public final void <B>setCollateCopies</B>(boolean&nbsp;collate)</PRE>
<DL>
<DD><p>Sets the default value for collation checkbox when the print dialog appears. If <tt>collate</tt> is true, it will enable setCollateCopiesEnabled(). The default value is false. This value will be changed by what the user presses in the print dialog.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#collateCopies()"><tt>collateCopies</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setColorMode(com.trolltech.qt.gui.QPrinter.ColorMode)"><!-- --></A><H3>
setColorMode</H3>
<PRE>
public final void <B>setColorMode</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.ColorMode.html" title="enum in com.trolltech.qt.gui">QPrinter.ColorMode</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the printer's color mode to <tt>arg__1</tt>, which can be either <tt>Color</tt> or <tt>GrayScale</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#colorMode()"><tt>colorMode</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCreator(java.lang.String)"><!-- --></A><H3>
setCreator</H3>
<PRE>
public final void <B>setCreator</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the name of the application that created the document to <tt>arg__1</tt>.</p>
<p>This function is only applicable to the X11 version of Qt. If no creator name is specified, the creator will be set to &quot;Qt&quot; followed by some version number.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#creator()"><tt>creator</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDocName(java.lang.String)"><!-- --></A><H3>
setDocName</H3>
<PRE>
public final void <B>setDocName</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the document name to <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#docName()"><tt>docName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDoubleSidedPrinting(boolean)"><!-- --></A><H3>
setDoubleSidedPrinting</H3>
<PRE>
public final void <B>setDoubleSidedPrinting</B>(boolean&nbsp;enable)</PRE>
<DL>
<DD><p>Enables double sided printing if <tt>enable</tt> is true; otherwise disables it.</p>
<p>Currently this option is only supported on X11.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#doubleSidedPrinting()"><tt>doubleSidedPrinting</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEngines(com.trolltech.qt.gui.QPrintEngine, com.trolltech.qt.gui.QPaintEngine)"><!-- --></A><H3>
setEngines</H3>
<PRE>
protected final void <B>setEngines</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrintEngine.html" title="class in com.trolltech.qt.gui">QPrintEngine</A>&nbsp;printEngine,
                                <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A>&nbsp;paintEngine)</PRE>
<DL>
<DD><p>This function is used by subclasses of <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> to specify custom print and paint engines (<tt>printEngine</tt> and <tt>paintEngine</tt>, respectively).</p>
<p><a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> does not take ownership of the engines, so you need to manage these engine instances yourself.</p>
<p>Note that changing the engines will reset the printer state and all its properties.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#printEngine()"><tt>printEngine</tt></a>, 
<a href="QPrinter.html#paintEngine()"><tt>paintEngine</tt></a>, 
<a href="QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)"><tt>setOutputFormat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFontEmbeddingEnabled(boolean)"><!-- --></A><H3>
setFontEmbeddingEnabled</H3>
<PRE>
public final void <B>setFontEmbeddingEnabled</B>(boolean&nbsp;enable)</PRE>
<DL>
<DD><p>Enabled or disables font embedding depending on <tt>enable</tt>.</p>
<p>Currently this option is only supported on X11.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#fontEmbeddingEnabled()"><tt>fontEmbeddingEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFromTo(int, int)"><!-- --></A><H3>
setFromTo</H3>
<PRE>
public final void <B>setFromTo</B>(int&nbsp;fromPage,
                            int&nbsp;toPage)</PRE>
<DL>
<DD><p>Sets the from-page and to-page settings to <tt>fromPage</tt> and <tt>toPage</tt> respectively.</p>
<p>The from-page and to-page settings specify what pages to print.</p>
<p>If from and to both return 0 this signifies 'print the whole document'.</p>
<p>This function is useful mostly to set a default value that the user can override in the print dialog when you call setup().</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#fromPage()"><tt>fromPage</tt></a>, 
<a href="QPrinter.html#toPage()"><tt>toPage</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFullPage(boolean)"><!-- --></A><H3>
setFullPage</H3>
<PRE>
public final void <B>setFullPage</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is true, enables support for painting over the entire page; otherwise restricts painting to the printable area reported by the device.</p>
<p>By default, full page printing is disabled. In this case, the origin of the <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a>'s coordinate system coincides with the top-left corner of the printable area.</p>
<p>If full page printing is enabled, the origin of the <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a>'s coordinate system coincides with the top-left corner of the paper itself. In this case, the device metrics</tt> will report the exact same dimensions as indicated by <a href="QPrinter.html#PageSize-enum"><tt>PageSize</tt></a>. It may not be possible to print on the entire physical page because of the printer's margins, so the application must account for the margins itself.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#fullPage()"><tt>fullPage</tt></a>, 
<a href="QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)"><tt>setPageSize</tt></a>, 
<a href="QPrinter.html#width()"><tt>width</tt></a>, 
<a href="QPrinter.html#height()"><tt>height</tt></a>, 
<a href="%2E%2E/printing.html">Printing with Qt</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setNumCopies(int)"><!-- --></A><H3>
setNumCopies</H3>
<PRE>
public final void <B>setNumCopies</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the number of copies to be printed to <tt>arg__1</tt>.</p>
<p>The printer driver reads this setting and prints the specified number of copies.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#numCopies()"><tt>numCopies</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setOrientation(com.trolltech.qt.gui.QPrinter.Orientation)"><!-- --></A><H3>
setOrientation</H3>
<PRE>
public final void <B>setOrientation</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.Orientation.html" title="enum in com.trolltech.qt.gui">QPrinter.Orientation</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the print orientation to <tt>arg__1</tt>.</p>
<p>The orientation can be either QPrinter::Portrait or QPrinter::Landscape.</p>
<p>The printer driver reads this setting and prints using the specified orientation.</p>
<p>On Windows, this option can be changed while printing and will take effect from the next call to <a href="QPrinter.html#newPage()"><tt>newPage</tt></a>.</p>
<p>On Mac OS X, changing the orientation during a print job has no effect.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#orientation()"><tt>orientation</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setOutputFileName(java.lang.String)"><!-- --></A><H3>
setOutputFileName</H3>
<PRE>
public final void <B>setOutputFileName</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the name of the output file to <tt>arg__1</tt>.</p>
<p>Setting a null or empty name (0 or &quot;&quot;) disables printing to a file. Setting a non-empty name enables printing to a file.</p>
<p>This can change the value of <a href="QPrinter.html#outputFormat()"><tt>outputFormat</tt></a>. If the file name has the suffix &quot;.ps&quot; then PostScript is automatically selected as output format. If the file name has the &quot;.pdf&quot; suffix PDF is generated. <a href="QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)"><tt>QPrinter</tt></a> will use Qt's cross-platform PostScript or PDF print engines respectively. If you can produce this format natively, for example Mac OS X can generate PDF's from its print engine, set the output format back to <a href="QPrinter.html#OutputFormat-enum"><tt>NativeFormat</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#outputFileName()"><tt>outputFileName</tt></a>, 
<tt>setOutputToFile</tt>, 
<a href="QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)"><tt>setOutputFormat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)"><!-- --></A><H3>
setOutputFormat</H3>
<PRE>
public final void <B>setOutputFormat</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.OutputFormat.html" title="enum in com.trolltech.qt.gui">QPrinter.OutputFormat</A>&nbsp;format)</PRE>
<DL>
<DD><p>Sets the output format for this printer to <tt>format</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#outputFormat()"><tt>outputFormat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPageOrder(com.trolltech.qt.gui.QPrinter.PageOrder)"><!-- --></A><H3>
setPageOrder</H3>
<PRE>
public final void <B>setPageOrder</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageOrder.html" title="enum in com.trolltech.qt.gui">QPrinter.PageOrder</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the page order to <tt>arg__1</tt>.</p>
<p>The page order can be QPrinter::FirstPageFirst or QPrinter::LastPageFirst. The application is responsible for reading the page order and printing accordingly.</p>
<p>This function is mostly useful for setting a default value that the user can override in the print dialog.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#pageOrder()"><tt>pageOrder</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)"><!-- --></A><H3>
setPageSize</H3>
<PRE>
public final void <B>setPageSize</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PageSize.html" title="enum in com.trolltech.qt.gui">QPrinter.PageSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the printer page size to <tt>arg__1</tt> if that size is supported. The result if undefined if <tt>arg__1</tt> is not supported.</p>
<p>The default page size is driver-dependent.</p>
<p>This function is useful mostly for setting a default value that the user can override in the print dialog.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#pageSize()"><tt>pageSize</tt></a>, 
<a href="QPrinter.html#PageSize-enum"><tt>PageSize</tt></a>, 
<a href="QPrinter.html#setFullPage(boolean)"><tt>setFullPage</tt></a>, 
<a href="QPrinter.html#setResolution(int)"><tt>setResolution</tt></a>, 
<a href="QPrinter.html#pageRect()"><tt>pageRect</tt></a>, 
<a href="QPrinter.html#paperRect()"><tt>paperRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPaperSource(com.trolltech.qt.gui.QPrinter.PaperSource)"><!-- --></A><H3>
setPaperSource</H3>
<PRE>
public final void <B>setPaperSource</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PaperSource.html" title="enum in com.trolltech.qt.gui">QPrinter.PaperSource</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the paper source setting to <tt>arg__1</tt>.</p>
<p>Windows only: This option can be changed while printing and will take effect from the next call to <a href="QPrinter.html#newPage()"><tt>newPage</tt></a></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#paperSource()"><tt>paperSource</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPrintProgram(java.lang.String)"><!-- --></A><H3>
setPrintProgram</H3>
<PRE>
public final void <B>setPrintProgram</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the name of the program that should do the print job to <tt>arg__1</tt>.</p>
<p>On X11, this function sets the program to call with the PostScript output. On other platforms, it has no effect.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#printProgram()"><tt>printProgram</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPrintRange(com.trolltech.qt.gui.QPrinter.PrintRange)"><!-- --></A><H3>
setPrintRange</H3>
<PRE>
public final void <B>setPrintRange</B>(<A HREF="../../../../com/trolltech/qt/gui/QPrinter.PrintRange.html" title="enum in com.trolltech.qt.gui">QPrinter.PrintRange</A>&nbsp;range)</PRE>
<DL>
<DD><p>Sets the print range option in to be <tt>range</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#printRange()"><tt>printRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPrinterName(java.lang.String)"><!-- --></A><H3>
setPrinterName</H3>
<PRE>
public final void <B>setPrinterName</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the printer name to <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#printerName()"><tt>printerName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setResolution(int)"><!-- --></A><H3>
setResolution</H3>
<PRE>
public final void <B>setResolution</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Requests that the printer prints at <tt>arg__1</tt> or as near to <tt>arg__1</tt> as possible.</p>
<p>This setting affects the coordinate system as returned by, for example QPainter::viewport().</p>
<p>This function must be called before QPainter::begin() to have an effect on all platforms.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#resolution()"><tt>resolution</tt></a>, 
<a href="QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)"><tt>setPageSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="supportedResolutions()"><!-- --></A><H3>
supportedResolutions</H3>
<PRE>
public final java.util.List&lt;java.lang.Integer&gt; <B>supportedResolutions</B>()</PRE>
<DL>
<DD><p>Returns a list of the resolutions (a list of dots-per-inch integers) that the printer says it supports.</p>
<p>For X11 where all printing is directly to postscript, this function will always return a one item list containing only the postscript resolution, i.e&#x2e;, 72 (72 dpi -- but see <a href="QPrinter.html#PrinterMode-enum"><tt>PrinterMode</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toPage()"><!-- --></A><H3>
toPage</H3>
<PRE>
public final int <B>toPage</B>()</PRE>
<DL>
<DD><p>Returns the to-page setting. The default value is 0.</p>
<p>If <a href="QPrinter.html#fromPage()"><tt>fromPage</tt></a> and <a href="QPrinter.html#toPage()"><tt>toPage</tt></a> both return 0 this signifies 'print the whole document'.</p>
<p>The programmer is responsible for reading this setting and printing accordingly.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#setFromTo(int, int)"><tt>setFromTo</tt></a>, 
<a href="QPrinter.html#fromPage()"><tt>fromPage</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public final int <B>width</B>()</PRE>
<DL>
<DD><p>Returns the width of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="QPixmap.html"><tt>QPixmap</tt></a> and <a href="QWidget.html"><tt>QWidget</tt></a>).</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#width()">width</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#widthMM()"><tt>widthMM</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widthMM()"><!-- --></A><H3>
widthMM</H3>
<PRE>
public final int <B>widthMM</B>()</PRE>
<DL>
<DD><p>Returns the width of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#widthMM()">widthMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPrinter.html#width()"><tt>width</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="devType()"><!-- --></A><H3>
devType</H3>
<PRE>
public int <B>devType</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#devType()">devType</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)"><!-- --></A><H3>
metric</H3>
<PRE>
public int <B>metric</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the metric information for the given paint device <tt>arg__1</tt>.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>PaintDeviceMetric</tt></DL>
</DD>
</DL>
<HR>

<A NAME="paintEngine()"><!-- --></A><H3>
paintEngine</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A> <B>paintEngine</B>()</PRE>
<DL>
<DD><p>Returns the paint engine used by the printer.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintEngine()">paintEngine</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPrinter.html" title="class in com.trolltech.qt.gui">QPrinter</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QPrinter instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrintEngine.PrintEnginePropertyKey.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPrinter.ColorMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QPrinter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QPrinter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>