Sophie

Sophie

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

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

<class name="QPrinter" doc="/**
&lt;p&gt;The &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; class is a paint device that paints on a printer.&lt;/p&gt;
&lt;p&gt;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 &lt;a href=&quot;QWidget.html&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QPixmap.html&quot;&gt;&lt;tt&gt;QPixmap&lt;/tt&gt;&lt;/a&gt;. 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.&lt;/p&gt;
&lt;p&gt;When printing directly to a printer on Windows or Mac OS X, &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; uses the built-in printer drivers. On X11, &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; uses the Common Unix Printing System (CUPS)&lt;/tt&gt; or the standard Unix lpr&lt;/tt&gt; utility to send PostScript or PDF output to the printer. As an alternative, the &lt;a href=&quot;QPrinter.html#printProgram()&quot;&gt;&lt;tt&gt;printProgram&lt;/tt&gt;&lt;/a&gt; function can be used to specify the command or utility to use instead of the system default.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; supports a number of parameters, most of which can be changed by the end user through a &lt;a href=&quot;QPrintDialog.html&quot;&gt;print dialog&lt;/tt&gt;&lt;/a&gt;. In general, &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; passes these functions onto the underlying &lt;a href=&quot;QPrintEngine.html&quot;&gt;&lt;tt&gt;QPrintEngine&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The most important parameters are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;QPrinter.html#setOrientation(com.trolltech.qt.gui.QPrinter.Orientation)&quot;&gt;&lt;tt&gt;setOrientation&lt;/tt&gt;&lt;/a&gt; tells &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; which page orientation to use.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)&quot;&gt;&lt;tt&gt;setPageSize&lt;/tt&gt;&lt;/a&gt; tells &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; what page size to expect from the printer.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QPrinter.html#setResolution(int)&quot;&gt;&lt;tt&gt;setResolution&lt;/tt&gt;&lt;/a&gt; tells &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; what resolution you wish the printer to provide, in dots per inch (DPI).&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QPrinter.html#setFullPage(boolean)&quot;&gt;&lt;tt&gt;setFullPage&lt;/tt&gt;&lt;/a&gt; tells &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; whether you want to deal with the full page or just with the part the printer can draw on.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QPrinter.html#setNumCopies(int)&quot;&gt;&lt;tt&gt;setNumCopies&lt;/tt&gt;&lt;/a&gt; tells &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; how many copies of the document it should print.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Many of these functions can only be called before the actual printing begins (i.e&amp;#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 &lt;a href=&quot;QAbstractPrintDialog.html&quot;&gt;&lt;tt&gt;QAbstractPrintDialog&lt;/tt&gt;&lt;/a&gt;'s documentation for more details.&lt;/p&gt;
&lt;p&gt;When QPainter::begin() is called, the &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; it operates on is prepared for a new page, enabling the &lt;a href=&quot;QPainter.html&quot;&gt;&lt;tt&gt;QPainter&lt;/tt&gt;&lt;/a&gt; to be used immediately to paint the first page in a document. Once the first page has been painted, &lt;a href=&quot;QPrinter.html#newPage()&quot;&gt;&lt;tt&gt;newPage&lt;/tt&gt;&lt;/a&gt; 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 &lt;a href=&quot;QPrinter.html#newPage()&quot;&gt;&lt;tt&gt;newPage&lt;/tt&gt;&lt;/a&gt; before they are painted.&lt;/p&gt;
&lt;p&gt;The first page in a document does not need to be preceded by a call to &lt;a href=&quot;QPrinter.html#newPage()&quot;&gt;&lt;tt&gt;newPage&lt;/tt&gt;&lt;/a&gt;. You only need to calling &lt;a href=&quot;QPrinter.html#newPage()&quot;&gt;&lt;tt&gt;newPage&lt;/tt&gt;&lt;/a&gt; after QPainter::begin() if you need to insert a blank page at the beginning of a printed document. Similarly, calling &lt;a href=&quot;QPrinter.html#newPage()&quot;&gt;&lt;tt&gt;newPage&lt;/tt&gt;&lt;/a&gt; after the last page in a document is painted will result in a trailing blank page appended to the end of the printed document.&lt;/p&gt;
&lt;p&gt;If you want to abort the print job, &lt;a href=&quot;QPrinter.html#abort()&quot;&gt;&lt;tt&gt;abort&lt;/tt&gt;&lt;/a&gt; will try its best to stop printing. It may cancel the entire job or just part of it.&lt;/p&gt;
&lt;p&gt;Since &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; can print to any &lt;a href=&quot;QPrintEngine.html&quot;&gt;&lt;tt&gt;QPrintEngine&lt;/tt&gt;&lt;/a&gt; subclass, it is possible to extend printing support to cover new types of printing subsystem by subclassing &lt;a href=&quot;QPrintEngine.html&quot;&gt;&lt;tt&gt;QPrintEngine&lt;/tt&gt;&lt;/a&gt; and reimplementing its interface.&lt;/p&gt;

@see &lt;a href=&quot;QPrintDialog.html&quot;&gt;&lt;tt&gt;QPrintDialog&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/printing.html&quot;&gt;Printing with Qt&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode mode)" doc="/**
&lt;p&gt;Creates a new printer object with the given &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QPrinter()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt;(ScreenResolution). */"/>
    <method name="public final boolean abort()" doc="/**
&lt;p&gt;Aborts the current print run. Returns true if the print run was successfully aborted and &lt;a href=&quot;QPrinter.html#printerState()&quot;&gt;&lt;tt&gt;printerState&lt;/tt&gt;&lt;/a&gt; will return QPrinter::Aborted; otherwise returns false.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
 */"/>
    <method name="public final boolean collateCopies()" doc="/**
&lt;p&gt;Returns true if collation is turned on when multiple copies is selected. Returns false if it is turned off when multiple copies is selected.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setCollateCopies(boolean)&quot;&gt;&lt;tt&gt;setCollateCopies&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.ColorMode colorMode()" doc="/**
&lt;p&gt;Returns the current color mode.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setColorMode(com.trolltech.qt.gui.QPrinter.ColorMode)&quot;&gt;&lt;tt&gt;setColorMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String creator()" doc="/**
&lt;p&gt;Returns the name of the application that created the document.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setCreator(java.lang.String)&quot;&gt;&lt;tt&gt;setCreator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int depth()" doc="/**
&lt;p&gt;Returns the bit depth (number of bit planes) of the paint device.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String docName()" doc="/**
&lt;p&gt;Returns the document name.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setDocName(java.lang.String)&quot;&gt;&lt;tt&gt;setDocName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean doubleSidedPrinting()" doc="/**
&lt;p&gt;Returns true if double side printing is enabled.&lt;/p&gt;
&lt;p&gt;Currently this option is only supported on X11.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setDoubleSidedPrinting(boolean)&quot;&gt;&lt;tt&gt;setDoubleSidedPrinting&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontEmbeddingEnabled()" doc="/**
&lt;p&gt;Returns true if font embedding is enabled.&lt;/p&gt;
&lt;p&gt;Currently this option is only supported on X11.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setFontEmbeddingEnabled(boolean)&quot;&gt;&lt;tt&gt;setFontEmbeddingEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int fromPage()" doc="/**
&lt;p&gt;Returns the from-page setting. The default value is 0.&lt;/p&gt;
&lt;p&gt;If &lt;a href=&quot;QPrinter.html#fromPage()&quot;&gt;&lt;tt&gt;fromPage&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QPrinter.html#toPage()&quot;&gt;&lt;tt&gt;toPage&lt;/tt&gt;&lt;/a&gt; both return 0 this signifies 'print the whole document'.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setFromTo(int, int)&quot;&gt;&lt;tt&gt;setFromTo&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#toPage()&quot;&gt;&lt;tt&gt;toPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fullPage()" doc="/**
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;See &lt;a href=&quot;QPrinter.html#setFullPage(boolean)&quot;&gt;&lt;tt&gt;setFullPage&lt;/tt&gt;&lt;/a&gt; for details and caveats.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setFullPage(boolean)&quot;&gt;&lt;tt&gt;setFullPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#PageSize-enum&quot;&gt;&lt;tt&gt;PageSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int height()" doc="/**
&lt;p&gt;Returns the height of the paint device in default coordinate system units (e.g&amp;#x2e; pixels for &lt;a href=&quot;QPixmap.html&quot;&gt;&lt;tt&gt;QPixmap&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QWidget.html&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#heightMM()&quot;&gt;&lt;tt&gt;heightMM&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int heightMM()" doc="/**
&lt;p&gt;Returns the height of the paint device in millimeters.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int logicalDpiX()" doc="/**
&lt;p&gt;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 &lt;a href=&quot;QPrinter.html#widthMM()&quot;&gt;&lt;tt&gt;widthMM&lt;/tt&gt;&lt;/a&gt;, but it varies on Windows.&lt;/p&gt;
&lt;p&gt;Note that if the &lt;a href=&quot;QPrinter.html#logicalDpiX()&quot;&gt;&lt;tt&gt;logicalDpiX&lt;/tt&gt;&lt;/a&gt; doesn't equal the &lt;a href=&quot;QPrinter.html#physicalDpiX()&quot;&gt;&lt;tt&gt;physicalDpiX&lt;/tt&gt;&lt;/a&gt;, the corresponding &lt;a href=&quot;QPaintEngine.html&quot;&gt;&lt;tt&gt;QPaintEngine&lt;/tt&gt;&lt;/a&gt; must handle the resolution mapping.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#logicalDpiY()&quot;&gt;&lt;tt&gt;logicalDpiY&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#physicalDpiX()&quot;&gt;&lt;tt&gt;physicalDpiX&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int logicalDpiY()" doc="/**
&lt;p&gt;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 &lt;a href=&quot;QPrinter.html#heightMM()&quot;&gt;&lt;tt&gt;heightMM&lt;/tt&gt;&lt;/a&gt;, but it varies on Windows.&lt;/p&gt;
&lt;p&gt;Note that if the &lt;a href=&quot;QPrinter.html#logicalDpiY()&quot;&gt;&lt;tt&gt;logicalDpiY&lt;/tt&gt;&lt;/a&gt; doesn't equal the &lt;a href=&quot;QPrinter.html#physicalDpiY()&quot;&gt;&lt;tt&gt;physicalDpiY&lt;/tt&gt;&lt;/a&gt;, the corresponding &lt;a href=&quot;QPaintEngine.html&quot;&gt;&lt;tt&gt;QPaintEngine&lt;/tt&gt;&lt;/a&gt; must handle the resolution mapping.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#logicalDpiX()&quot;&gt;&lt;tt&gt;logicalDpiX&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#physicalDpiY()&quot;&gt;&lt;tt&gt;physicalDpiY&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean newPage()" doc="/**
&lt;p&gt;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.&lt;/p&gt;
 */"/>
    <method name="public final int numColors()" doc="/**
&lt;p&gt;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.&lt;/p&gt;
 */"/>
    <method name="public final int numCopies()" doc="/**
&lt;p&gt;Returns the number of copies to be printed. The default value is 1.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setNumCopies(int)&quot;&gt;&lt;tt&gt;setNumCopies&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.Orientation orientation()" doc="/**
&lt;p&gt;Returns the orientation setting. This is driver-dependent, but is usually QPrinter::Portrait.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setOrientation(com.trolltech.qt.gui.QPrinter.Orientation)&quot;&gt;&lt;tt&gt;setOrientation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String outputFileName()" doc="/**
&lt;p&gt;Returns the name of the output file. By default, this is an empty string (indicating that the printer shouldn't print to file).&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setOutputFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setOutputFileName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.OutputFormat outputFormat()" doc="/**
&lt;p&gt;Returns the output format for this printer.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)&quot;&gt;&lt;tt&gt;setOutputFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.PageOrder pageOrder()" doc="/**
&lt;p&gt;Returns the current page order.&lt;/p&gt;
&lt;p&gt;The default page order is &lt;tt&gt;FirstPageFirst&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setPageOrder(com.trolltech.qt.gui.QPrinter.PageOrder)&quot;&gt;&lt;tt&gt;setPageOrder&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect pageRect()" doc="/**
&lt;p&gt;Returns the page's rectangle; this is usually smaller than the &lt;a href=&quot;QPrinter.html#paperRect()&quot;&gt;&lt;tt&gt;paperRect&lt;/tt&gt;&lt;/a&gt; since the page normally has margins between its borders and the paper.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#pageSize()&quot;&gt;&lt;tt&gt;pageSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.PageSize pageSize()" doc="/**
&lt;p&gt;Returns the printer page size. The default value is driver-dependent.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)&quot;&gt;&lt;tt&gt;setPageSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#pageRect()&quot;&gt;&lt;tt&gt;pageRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#paperRect()&quot;&gt;&lt;tt&gt;paperRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean paintingActive()" doc="/**
&lt;p&gt;Returns true if the device is currently being painted on, i.e&amp;#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.&lt;/p&gt;

@see &lt;tt&gt;QPainter::isActive&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect paperRect()" doc="/**
&lt;p&gt;Returns the paper's rectangle; this is usually larger than the &lt;a href=&quot;QPrinter.html#pageRect()&quot;&gt;&lt;tt&gt;pageRect&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#pageRect()&quot;&gt;&lt;tt&gt;pageRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.PaperSource paperSource()" doc="/**
&lt;p&gt;Returns the printer's paper source. This is &lt;tt&gt;Manual&lt;/tt&gt; or a printer tray or paper cassette.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setPaperSource(com.trolltech.qt.gui.QPrinter.PaperSource)&quot;&gt;&lt;tt&gt;setPaperSource&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int physicalDpiX()" doc="/**
&lt;p&gt;Returns the horizontal resolution of the device in dots per inch.&lt;/p&gt;
&lt;p&gt;Note that if the &lt;a href=&quot;QPrinter.html#physicalDpiX()&quot;&gt;&lt;tt&gt;physicalDpiX&lt;/tt&gt;&lt;/a&gt; doesn't equal the &lt;a href=&quot;QPrinter.html#logicalDpiX()&quot;&gt;&lt;tt&gt;logicalDpiX&lt;/tt&gt;&lt;/a&gt;, the corresponding &lt;a href=&quot;QPaintEngine.html&quot;&gt;&lt;tt&gt;QPaintEngine&lt;/tt&gt;&lt;/a&gt; must handle the resolution mapping.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#physicalDpiY()&quot;&gt;&lt;tt&gt;physicalDpiY&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#logicalDpiX()&quot;&gt;&lt;tt&gt;logicalDpiX&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int physicalDpiY()" doc="/**
&lt;p&gt;Returns the horizontal resolution of the device in dots per inch.&lt;/p&gt;
&lt;p&gt;Note that if the &lt;a href=&quot;QPrinter.html#physicalDpiY()&quot;&gt;&lt;tt&gt;physicalDpiY&lt;/tt&gt;&lt;/a&gt; doesn't equal the &lt;a href=&quot;QPrinter.html#logicalDpiY()&quot;&gt;&lt;tt&gt;logicalDpiY&lt;/tt&gt;&lt;/a&gt;, the corresponding &lt;a href=&quot;QPaintEngine.html&quot;&gt;&lt;tt&gt;QPaintEngine&lt;/tt&gt;&lt;/a&gt; must handle the resolution mapping.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#physicalDpiX()&quot;&gt;&lt;tt&gt;physicalDpiX&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#logicalDpiY()&quot;&gt;&lt;tt&gt;logicalDpiY&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrintEngine printEngine()" doc="/**
&lt;p&gt;Returns the print engine used by the printer.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String printProgram()" doc="/**
&lt;p&gt;Returns the name of the program that sends the print output to the printer.&lt;/p&gt;
&lt;p&gt;The default is to return an empty string; meaning that &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; 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.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setPrintProgram(java.lang.String)&quot;&gt;&lt;tt&gt;setPrintProgram&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;setPrinterSelectionOption&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.PrintRange printRange()" doc="/**
&lt;p&gt;Returns the page range of the &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt;. After the print setup dialog has been opened, this function returns the value selected by the user.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setPrintRange(com.trolltech.qt.gui.QPrinter.PrintRange)&quot;&gt;&lt;tt&gt;setPrintRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String printerName()" doc="/**
&lt;p&gt;Returns the printer name. This value is initially set to the name of the default printer.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setPrinterName(java.lang.String)&quot;&gt;&lt;tt&gt;setPrinterName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter.PrinterState printerState()" doc="/**
&lt;p&gt;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).&lt;/p&gt;
 */"/>
    <method name="public final int resolution()" doc="/**
&lt;p&gt;Returns the current assumed resolution of the printer, as set by &lt;a href=&quot;QPrinter.html#setResolution(int)&quot;&gt;&lt;tt&gt;setResolution&lt;/tt&gt;&lt;/a&gt; or by the printer driver.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setResolution(int)&quot;&gt;&lt;tt&gt;setResolution&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCollateCopies(boolean collate)" doc="/**
&lt;p&gt;Sets the default value for collation checkbox when the print dialog appears. If &lt;tt&gt;collate&lt;/tt&gt; 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.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#collateCopies()&quot;&gt;&lt;tt&gt;collateCopies&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setColorMode(com.trolltech.qt.gui.QPrinter.ColorMode arg__1)" doc="/**
&lt;p&gt;Sets the printer's color mode to &lt;tt&gt;arg__1&lt;/tt&gt;, which can be either &lt;tt&gt;Color&lt;/tt&gt; or &lt;tt&gt;GrayScale&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#colorMode()&quot;&gt;&lt;tt&gt;colorMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCreator(java.lang.String arg__1)" doc="/**
&lt;p&gt;Sets the name of the application that created the document to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function is only applicable to the X11 version of Qt. If no creator name is specified, the creator will be set to &amp;quot;Qt&amp;quot; followed by some version number.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#creator()&quot;&gt;&lt;tt&gt;creator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDocName(java.lang.String arg__1)" doc="/**
&lt;p&gt;Sets the document name to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#docName()&quot;&gt;&lt;tt&gt;docName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDoubleSidedPrinting(boolean enable)" doc="/**
&lt;p&gt;Enables double sided printing if &lt;tt&gt;enable&lt;/tt&gt; is true; otherwise disables it.&lt;/p&gt;
&lt;p&gt;Currently this option is only supported on X11.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#doubleSidedPrinting()&quot;&gt;&lt;tt&gt;doubleSidedPrinting&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void setEngines(com.trolltech.qt.gui.QPrintEngine printEngine, com.trolltech.qt.gui.QPaintEngine paintEngine)" doc="/**
&lt;p&gt;This function is used by subclasses of &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; to specify custom print and paint engines (&lt;tt&gt;printEngine&lt;/tt&gt; and &lt;tt&gt;paintEngine&lt;/tt&gt;, respectively).&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; does not take ownership of the engines, so you need to manage these engine instances yourself.&lt;/p&gt;
&lt;p&gt;Note that changing the engines will reset the printer state and all its properties.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#printEngine()&quot;&gt;&lt;tt&gt;printEngine&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#paintEngine()&quot;&gt;&lt;tt&gt;paintEngine&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)&quot;&gt;&lt;tt&gt;setOutputFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontEmbeddingEnabled(boolean enable)" doc="/**
&lt;p&gt;Enabled or disables font embedding depending on &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Currently this option is only supported on X11.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#fontEmbeddingEnabled()&quot;&gt;&lt;tt&gt;fontEmbeddingEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFromTo(int fromPage, int toPage)" doc="/**
&lt;p&gt;Sets the from-page and to-page settings to &lt;tt&gt;fromPage&lt;/tt&gt; and &lt;tt&gt;toPage&lt;/tt&gt; respectively.&lt;/p&gt;
&lt;p&gt;The from-page and to-page settings specify what pages to print.&lt;/p&gt;
&lt;p&gt;If from and to both return 0 this signifies 'print the whole document'.&lt;/p&gt;
&lt;p&gt;This function is useful mostly to set a default value that the user can override in the print dialog when you call setup().&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#fromPage()&quot;&gt;&lt;tt&gt;fromPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#toPage()&quot;&gt;&lt;tt&gt;toPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFullPage(boolean arg__1)" doc="/**
&lt;p&gt;If &lt;tt&gt;arg__1&lt;/tt&gt; is true, enables support for painting over the entire page; otherwise restricts painting to the printable area reported by the device.&lt;/p&gt;
&lt;p&gt;By default, full page printing is disabled. In this case, the origin of the &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt;'s coordinate system coincides with the top-left corner of the printable area.&lt;/p&gt;
&lt;p&gt;If full page printing is enabled, the origin of the &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt;'s coordinate system coincides with the top-left corner of the paper itself. In this case, the device metrics&lt;/tt&gt; will report the exact same dimensions as indicated by &lt;a href=&quot;QPrinter.html#PageSize-enum&quot;&gt;&lt;tt&gt;PageSize&lt;/tt&gt;&lt;/a&gt;. 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.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#fullPage()&quot;&gt;&lt;tt&gt;fullPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)&quot;&gt;&lt;tt&gt;setPageSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/printing.html&quot;&gt;Printing with Qt&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setNumCopies(int arg__1)" doc="/**
&lt;p&gt;Sets the number of copies to be printed to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The printer driver reads this setting and prints the specified number of copies.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#numCopies()&quot;&gt;&lt;tt&gt;numCopies&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOrientation(com.trolltech.qt.gui.QPrinter.Orientation arg__1)" doc="/**
&lt;p&gt;Sets the print orientation to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The orientation can be either QPrinter::Portrait or QPrinter::Landscape.&lt;/p&gt;
&lt;p&gt;The printer driver reads this setting and prints using the specified orientation.&lt;/p&gt;
&lt;p&gt;On Windows, this option can be changed while printing and will take effect from the next call to &lt;a href=&quot;QPrinter.html#newPage()&quot;&gt;&lt;tt&gt;newPage&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;On Mac OS X, changing the orientation during a print job has no effect.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#orientation()&quot;&gt;&lt;tt&gt;orientation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOutputFileName(java.lang.String arg__1)" doc="/**
&lt;p&gt;Sets the name of the output file to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Setting a null or empty name (0 or &amp;quot;&amp;quot;) disables printing to a file. Setting a non-empty name enables printing to a file.&lt;/p&gt;
&lt;p&gt;This can change the value of &lt;a href=&quot;QPrinter.html#outputFormat()&quot;&gt;&lt;tt&gt;outputFormat&lt;/tt&gt;&lt;/a&gt;. If the file name has the suffix &amp;quot;.ps&amp;quot; then PostScript is automatically selected as output format. If the file name has the &amp;quot;.pdf&amp;quot; suffix PDF is generated. &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; 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 &lt;a href=&quot;QPrinter.html#OutputFormat-enum&quot;&gt;&lt;tt&gt;NativeFormat&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#outputFileName()&quot;&gt;&lt;tt&gt;outputFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;setOutputToFile&lt;/tt&gt;
@see &lt;a href=&quot;QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)&quot;&gt;&lt;tt&gt;setOutputFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat format)" doc="/**
&lt;p&gt;Sets the output format for this printer to &lt;tt&gt;format&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#outputFormat()&quot;&gt;&lt;tt&gt;outputFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPageOrder(com.trolltech.qt.gui.QPrinter.PageOrder arg__1)" doc="/**
&lt;p&gt;Sets the page order to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The page order can be QPrinter::FirstPageFirst or QPrinter::LastPageFirst. The application is responsible for reading the page order and printing accordingly.&lt;/p&gt;
&lt;p&gt;This function is mostly useful for setting a default value that the user can override in the print dialog.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#pageOrder()&quot;&gt;&lt;tt&gt;pageOrder&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPageSize(com.trolltech.qt.gui.QPrinter.PageSize arg__1)" doc="/**
&lt;p&gt;Sets the printer page size to &lt;tt&gt;arg__1&lt;/tt&gt; if that size is supported. The result if undefined if &lt;tt&gt;arg__1&lt;/tt&gt; is not supported.&lt;/p&gt;
&lt;p&gt;The default page size is driver-dependent.&lt;/p&gt;
&lt;p&gt;This function is useful mostly for setting a default value that the user can override in the print dialog.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#pageSize()&quot;&gt;&lt;tt&gt;pageSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#PageSize-enum&quot;&gt;&lt;tt&gt;PageSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#setFullPage(boolean)&quot;&gt;&lt;tt&gt;setFullPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#setResolution(int)&quot;&gt;&lt;tt&gt;setResolution&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#pageRect()&quot;&gt;&lt;tt&gt;pageRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#paperRect()&quot;&gt;&lt;tt&gt;paperRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPaperSource(com.trolltech.qt.gui.QPrinter.PaperSource arg__1)" doc="/**
&lt;p&gt;Sets the paper source setting to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Windows only: This option can be changed while printing and will take effect from the next call to &lt;a href=&quot;QPrinter.html#newPage()&quot;&gt;&lt;tt&gt;newPage&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#paperSource()&quot;&gt;&lt;tt&gt;paperSource&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPrintProgram(java.lang.String arg__1)" doc="/**
&lt;p&gt;Sets the name of the program that should do the print job to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;On X11, this function sets the program to call with the PostScript output. On other platforms, it has no effect.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#printProgram()&quot;&gt;&lt;tt&gt;printProgram&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPrintRange(com.trolltech.qt.gui.QPrinter.PrintRange range)" doc="/**
&lt;p&gt;Sets the print range option in to be &lt;tt&gt;range&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#printRange()&quot;&gt;&lt;tt&gt;printRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPrinterName(java.lang.String arg__1)" doc="/**
&lt;p&gt;Sets the printer name to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#printerName()&quot;&gt;&lt;tt&gt;printerName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setResolution(int arg__1)" doc="/**
&lt;p&gt;Requests that the printer prints at &lt;tt&gt;arg__1&lt;/tt&gt; or as near to &lt;tt&gt;arg__1&lt;/tt&gt; as possible.&lt;/p&gt;
&lt;p&gt;This setting affects the coordinate system as returned by, for example QPainter::viewport().&lt;/p&gt;
&lt;p&gt;This function must be called before QPainter::begin() to have an effect on all platforms.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#resolution()&quot;&gt;&lt;tt&gt;resolution&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#setPageSize(com.trolltech.qt.gui.QPrinter.PageSize)&quot;&gt;&lt;tt&gt;setPageSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.Integer&gt; supportedResolutions()" doc="/**
&lt;p&gt;Returns a list of the resolutions (a list of dots-per-inch integers) that the printer says it supports.&lt;/p&gt;
&lt;p&gt;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&amp;#x2e;, 72 (72 dpi -- but see &lt;a href=&quot;QPrinter.html#PrinterMode-enum&quot;&gt;&lt;tt&gt;PrinterMode&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
 */"/>
    <method name="public final int toPage()" doc="/**
&lt;p&gt;Returns the to-page setting. The default value is 0.&lt;/p&gt;
&lt;p&gt;If &lt;a href=&quot;QPrinter.html#fromPage()&quot;&gt;&lt;tt&gt;fromPage&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QPrinter.html#toPage()&quot;&gt;&lt;tt&gt;toPage&lt;/tt&gt;&lt;/a&gt; both return 0 this signifies 'print the whole document'.&lt;/p&gt;
&lt;p&gt;The programmer is responsible for reading this setting and printing accordingly.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#setFromTo(int, int)&quot;&gt;&lt;tt&gt;setFromTo&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#fromPage()&quot;&gt;&lt;tt&gt;fromPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int width()" doc="/**
&lt;p&gt;Returns the width of the paint device in default coordinate system units (e.g&amp;#x2e; pixels for &lt;a href=&quot;QPixmap.html&quot;&gt;&lt;tt&gt;QPixmap&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QWidget.html&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#widthMM()&quot;&gt;&lt;tt&gt;widthMM&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int widthMM()" doc="/**
&lt;p&gt;Returns the width of the paint device in millimeters.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int devType()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric arg__1)" doc="/**
&lt;p&gt;Returns the metric information for the given paint device &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;PaintDeviceMetric&lt;/tt&gt; */"/>
    <method name="public com.trolltech.qt.gui.QPaintEngine paintEngine()" doc="/**
&lt;p&gt;Returns the paint engine used by the printer.&lt;/p&gt;
 */"/>
    <enum name="OutputFormat" doc="/**
&lt;p&gt;The &lt;a href=&quot;QPrinter.html#OutputFormat-enum&quot;&gt;&lt;tt&gt;OutputFormat&lt;/tt&gt;&lt;/a&gt; enum is used to describe the format &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; should use for printing.&lt;/p&gt;

@see &lt;a href=&quot;QPrinter.html#outputFormat()&quot;&gt;&lt;tt&gt;outputFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#setOutputFormat(com.trolltech.qt.gui.QPrinter.OutputFormat)&quot;&gt;&lt;tt&gt;setOutputFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html#setOutputFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setOutputFileName&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="NativeFormat" doc="/**
&lt;p&gt;&lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; will print output using a method defined by the platform it is running on. This mode is the default when printing directly to a printer.&lt;/p&gt;
 */"/>
        <enum-value name="PdfFormat" doc="/**
&lt;p&gt;&lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; will generate its output as a searchable PDF file. This mode is the default when printing to a file.&lt;/p&gt;
 */"/>
        <enum-value name="PostScriptFormat" doc="/**
&lt;p&gt;&lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; will generate its output as in the PostScript format. (This feature was introduced in Qt 4.2&amp;#x2e;)&lt;/p&gt;
 */"/>
</enum>
    <enum name="PrintRange" doc="/**
&lt;p&gt;Used to specify the print range selection option.&lt;/p&gt;

@see &lt;tt&gt;QAbstractPrintDialog::PrintRange&lt;/tt&gt; */">
        <enum-value name="AllPages" doc="/**
&lt;p&gt;All pages should be printed.&lt;/p&gt;
 */"/>
        <enum-value name="Selection" doc="/**
&lt;p&gt;Only the selection should be printed.&lt;/p&gt;
 */"/>
        <enum-value name="PageRange" doc="/**
&lt;p&gt;The specified page range should be printed.&lt;/p&gt;
 */"/>
</enum>
    <enum name="PrinterMode" doc="/**
&lt;p&gt;This enum describes the mode the printer should work in. It basically presets a certain resolution and working mode.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; When rendering text on a &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; device, it is important to realize that the size of text, when specified in points, is independent of the resolution specified for the device itself. Therefore, it may be useful to specify the font size in pixels when combining text with graphics to ensure that their relative sizes are what you expect.&lt;/p&gt;
 */">
        <enum-value name="ScreenResolution" doc="/**
&lt;p&gt;Sets the resolution of the print device to the screen resolution. This has the big advantage that the results obtained when painting on the printer will match more or less exactly the visible output on the screen. It is the easiest to use, as font metrics on the screen and on the printer are the same. This is the default value. &lt;a href=&quot;QPrinter.html#PrinterMode-enum&quot;&gt;&lt;tt&gt;ScreenResolution&lt;/tt&gt;&lt;/a&gt; will produce a lower quality output than &lt;a href=&quot;QPrinter.html#PrinterMode-enum&quot;&gt;&lt;tt&gt;HighResolution&lt;/tt&gt;&lt;/a&gt; and should only be used for drafts.&lt;/p&gt;
 */"/>
        <enum-value name="PrinterResolution" doc="/**
&lt;p&gt;This value is deprecated. Is is equivalent to &lt;a href=&quot;QPrinter.html#PrinterMode-enum&quot;&gt;&lt;tt&gt;ScreenResolution&lt;/tt&gt;&lt;/a&gt; on Unix and &lt;a href=&quot;QPrinter.html#PrinterMode-enum&quot;&gt;&lt;tt&gt;HighResolution&lt;/tt&gt;&lt;/a&gt; on Windows and Mac. Due do the difference between &lt;a href=&quot;QPrinter.html#PrinterMode-enum&quot;&gt;&lt;tt&gt;ScreenResolution&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QPrinter.html#PrinterMode-enum&quot;&gt;&lt;tt&gt;HighResolution&lt;/tt&gt;&lt;/a&gt;, use of this value may lead to non-portable printer code.&lt;/p&gt;
 */"/>
        <enum-value name="HighResolution" doc="/**
&lt;p&gt;On Windows, sets the printer resolution to that defined for the printer in use. For PostScript printing, sets the resolution of the PostScript driver to 1200 dpi.&lt;/p&gt;
 */"/>
</enum>
    <enum name="Orientation" doc="/**
&lt;p&gt;This enum type (not to be confused with &lt;tt&gt;Orientation&lt;/tt&gt;) is used to specify each page's orientation.&lt;/p&gt;
&lt;p&gt;This type interacts with &lt;tt&gt;QPrinter::PageSize&lt;/tt&gt; and QPrinter::setFullPage() to determine the final size of the page available to the application.&lt;/p&gt;
 */">
        <enum-value name="Portrait" doc="/**
&lt;p&gt;the page's height is greater than its width.&lt;/p&gt;
 */"/>
        <enum-value name="Landscape" doc="/**
&lt;p&gt;the page's width is greater than its height.&lt;/p&gt;
 */"/>
</enum>
    <enum name="PrinterState">
        <enum-value name="Idle" doc="/**
Internal. */"/>
        <enum-value name="Active" doc="/**
Internal. */"/>
        <enum-value name="Aborted" doc="/**
Internal. */"/>
        <enum-value name="Error" doc="/**
Internal. */"/>
</enum>
    <enum name="ColorMode" doc="/**
&lt;p&gt;This enum type is used to indicate whether &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; should print in color or not.&lt;/p&gt;
 */">
        <enum-value name="GrayScale" doc="/**
&lt;p&gt;print in grayscale, even on color printers.&lt;/p&gt;
 */"/>
        <enum-value name="Color" doc="/**
&lt;p&gt;print in color if available, otherwise in grayscale.&lt;/p&gt;
 */"/>
</enum>
    <enum name="PaperSource" doc="/**
&lt;p&gt;This enum type specifies what paper source &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; is to use. &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; does not check that the paper source is available; it just uses this information to try and set the paper source. Whether it will set the paper source depends on whether the printer has that particular source.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; This is currently only implemented for Windows.&lt;/p&gt;
 */">
        <enum-value name="OnlyOne" doc="/**
Internal. */"/>
        <enum-value name="Lower" doc="/**
Internal. */"/>
        <enum-value name="Middle" doc="/**
Internal. */"/>
        <enum-value name="Manual" doc="/**
Internal. */"/>
        <enum-value name="Envelope" doc="/**
Internal. */"/>
        <enum-value name="EnvelopeManual" doc="/**
Internal. */"/>
        <enum-value name="Auto" doc="/**
Internal. */"/>
        <enum-value name="Tractor" doc="/**
Internal. */"/>
        <enum-value name="SmallFormat" doc="/**
Internal. */"/>
        <enum-value name="LargeFormat" doc="/**
Internal. */"/>
        <enum-value name="LargeCapacity" doc="/**
Internal. */"/>
        <enum-value name="Cassette" doc="/**
Internal. */"/>
        <enum-value name="FormSource" doc="/**
Internal. */"/>
        <enum-value name="MaxPageSource" doc="/**
Internal. */"/>
</enum>
    <enum name="PageOrder" doc="/**
&lt;p&gt;This enum type is used by &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; to tell the application program how to print.&lt;/p&gt;
 */">
        <enum-value name="FirstPageFirst" doc="/**
&lt;p&gt;the lowest-numbered page should be printed first.&lt;/p&gt;
 */"/>
        <enum-value name="LastPageFirst" doc="/**
&lt;p&gt;the highest-numbered page should be printed first.&lt;/p&gt;
 */"/>
</enum>
    <enum name="PageSize" doc="/**
&lt;p&gt;This enum type specifies what paper size &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; should use. &lt;a href=&quot;QPrinter.html#QPrinter(com.trolltech.qt.gui.QPrinter.PrinterMode)&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; does not check that the paper size is available; it just uses this information, together with QPrinter::Orientation and QPrinter::setFullPage(), to determine the printable area.&lt;/p&gt;
&lt;p&gt;The defined sizes (with &lt;a href=&quot;QPrinter.html#setFullPage(boolean)&quot;&gt;&lt;tt&gt;setFullPage&lt;/tt&gt;&lt;/a&gt;(true)) are:&lt;/p&gt;
&lt;p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;
&lt;tr&gt;&lt;th width=&quot;25%&quot;&gt;Constant&lt;/th&gt;&lt;th width=&quot;15%&quot;&gt;Value&lt;/th&gt;&lt;th width=&quot;60%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A0&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;5&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;841 x 1189 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A1&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;6&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;594 x 841 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A2&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;7&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;420 x 594 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A3&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;8&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;297 x 420 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A4&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;0&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;210 x 297 mm, 8.26 x 11.69 inches&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A5&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;9&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;148 x 210 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A6&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;10&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;105 x 148 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A7&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;11&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;74 x 105 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A8&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;12&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;52 x 74 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;A9&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;13&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;37 x 52 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B0&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;14&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;1030 x 1456 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B1&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;15&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;728 x 1030 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B10&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;16&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;32 x 45 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B2&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;17&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;515 x 728 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B3&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;18&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;364 x 515 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B4&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;19&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;257 x 364 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B5&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;1&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;182 x 257 mm, 7.17 x 10.13 inches&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B6&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;20&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;128 x 182 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B7&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;21&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;91 x 128 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B8&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;22&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;64 x 91 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;B9&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;23&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;45 x 64 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;C5E&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;24&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;163 x 229 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Comm10E&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;25&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;105 x 241 mm, U.S&amp;#x2e; Common 10 Envelope&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;DLE&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;26&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;110 x 220 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Executive&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;4&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;7.5 x 10 inches, 191 x 254 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Folio&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;27&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;210 x 330 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Ledger&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;28&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;432 x 279 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Legal&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;3&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;8.5 x 14 inches, 216 x 356 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Letter&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;2&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;8.5 x 11 inches, 216 x 279 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Tabloid&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;29&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;279 x 432 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Custom&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;30&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Unknown size&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;With &lt;a href=&quot;QPrinter.html#setFullPage(boolean)&quot;&gt;&lt;tt&gt;setFullPage&lt;/tt&gt;&lt;/a&gt;(false) (the default), the metrics will be a bit smaller; how much depends on the printer in use.&lt;/p&gt;
 */">
        <enum-value name="A4" doc="/**
&lt;p&gt;210 x 297 mm, 8.26 x 11.69 inches&lt;/p&gt;
 */"/>
        <enum-value name="B5" doc="/**
&lt;p&gt;182 x 257 mm, 7.17 x 10.13 inches&lt;/p&gt;
 */"/>
        <enum-value name="Letter" doc="/**
&lt;p&gt;8.5 x 11 inches, 216 x 279 mm&lt;/p&gt;
 */"/>
        <enum-value name="Legal" doc="/**
&lt;p&gt;8.5 x 14 inches, 216 x 356 mm&lt;/p&gt;
 */"/>
        <enum-value name="Executive" doc="/**
&lt;p&gt;7.5 x 10 inches, 191 x 254 mm&lt;/p&gt;
 */"/>
        <enum-value name="A0" doc="/**
&lt;p&gt;841 x 1189 mm&lt;/p&gt;
 */"/>
        <enum-value name="A1" doc="/**
&lt;p&gt;594 x 841 mm&lt;/p&gt;
 */"/>
        <enum-value name="A2" doc="/**
&lt;p&gt;420 x 594 mm&lt;/p&gt;
 */"/>
        <enum-value name="A3" doc="/**
&lt;p&gt;297 x 420 mm&lt;/p&gt;
 */"/>
        <enum-value name="A5" doc="/**
&lt;p&gt;148 x 210 mm&lt;/p&gt;
 */"/>
        <enum-value name="A6" doc="/**
&lt;p&gt;105 x 148 mm&lt;/p&gt;
 */"/>
        <enum-value name="A7" doc="/**
&lt;p&gt;74 x 105 mm&lt;/p&gt;
 */"/>
        <enum-value name="A8" doc="/**
&lt;p&gt;52 x 74 mm&lt;/p&gt;
 */"/>
        <enum-value name="A9" doc="/**
&lt;p&gt;37 x 52 mm&lt;/p&gt;
 */"/>
        <enum-value name="B0" doc="/**
&lt;p&gt;1030 x 1456 mm&lt;/p&gt;
 */"/>
        <enum-value name="B1" doc="/**
&lt;p&gt;728 x 1030 mm&lt;/p&gt;
 */"/>
        <enum-value name="B10" doc="/**
&lt;p&gt;32 x 45 mm&lt;/p&gt;
 */"/>
        <enum-value name="B2" doc="/**
&lt;p&gt;515 x 728 mm&lt;/p&gt;
 */"/>
        <enum-value name="B3" doc="/**
&lt;p&gt;364 x 515 mm&lt;/p&gt;
 */"/>
        <enum-value name="B4" doc="/**
&lt;p&gt;257 x 364 mm&lt;/p&gt;
 */"/>
        <enum-value name="B6" doc="/**
&lt;p&gt;128 x 182 mm&lt;/p&gt;
 */"/>
        <enum-value name="B7" doc="/**
&lt;p&gt;91 x 128 mm&lt;/p&gt;
 */"/>
        <enum-value name="B8" doc="/**
&lt;p&gt;64 x 91 mm&lt;/p&gt;
 */"/>
        <enum-value name="B9" doc="/**
&lt;p&gt;45 x 64 mm&lt;/p&gt;
 */"/>
        <enum-value name="C5E" doc="/**
&lt;p&gt;163 x 229 mm&lt;/p&gt;
 */"/>
        <enum-value name="Comm10E" doc="/**
&lt;p&gt;105 x 241 mm, U.S&amp;#x2e; Common 10 Envelope&lt;/p&gt;
 */"/>
        <enum-value name="DLE" doc="/**
&lt;p&gt;110 x 220 mm&lt;/p&gt;
 */"/>
        <enum-value name="Folio" doc="/**
&lt;p&gt;210 x 330 mm&lt;/p&gt;
 */"/>
        <enum-value name="Ledger" doc="/**
&lt;p&gt;432 x 279 mm&lt;/p&gt;
 */"/>
        <enum-value name="Tabloid" doc="/**
&lt;p&gt;279 x 432 mm&lt;/p&gt;
 */"/>
        <enum-value name="Custom" doc="/**
&lt;p&gt;Unknown size&lt;/p&gt;
 */"/>
        <enum-value name="NPageSize" doc="/**
Internal. */"/>
</enum>
</class>