31 enum PrinterMode { ScreenResolution, PrinterResolution, HighResolution };
37 int devType()
const override;
60 LastPaperSource = CustomSource,
91 void setOutputFormat(OutputFormat
format);
92 OutputFormat outputFormat()
const;
94 void setPdfVersion(PdfVersion version);
95 PdfVersion pdfVersion()
const;
97 void setPrinterName(
const QString &);
100 bool isValid()
const;
102 void setOutputFileName(
const QString &);
105 void setPrintProgram(
const QString &);
108 void setDocName(
const QString &);
111 void setCreator(
const QString &);
114 void setPageOrder(PageOrder);
115 PageOrder pageOrder()
const;
117 void setResolution(
int);
118 int resolution()
const;
120 void setColorMode(ColorMode);
121 ColorMode colorMode()
const;
123 void setCollateCopies(
bool collate);
124 bool collateCopies()
const;
126 void setFullPage(
bool);
127 bool fullPage()
const;
129 void setCopyCount(
int);
130 int copyCount()
const;
131 bool supportsMultipleCopies()
const;
133 void setPaperSource(PaperSource);
134 PaperSource paperSource()
const;
136 void setDuplex(DuplexMode duplex);
137 DuplexMode duplex()
const;
139 QList<int> supportedResolutions()
const;
141#if defined(Q_OS_WIN) || defined(Q_QDOC)
142 QList<PaperSource> supportedPaperSources()
const;
145 void setFontEmbeddingEnabled(
bool enable);
146 bool fontEmbeddingEnabled()
const;
148 QRectF paperRect(Unit)
const;
149 QRectF pageRect(Unit)
const;
151 QString printerSelectionOption()
const;
152 void setPrinterSelectionOption(
const QString &);
154 bool newPage()
override;
157 PrinterState printerState()
const;
162 void setFromTo(
int fromPage,
int toPage);
163 int fromPage()
const;
166 void setPrintRange(PrintRange
range);
167 PrintRange printRange()
const;
170 int metric(PaintDeviceMetric)
const override;
176 QScopedPointer<QPrinterPrivate> d_ptr;
\reentrant \inmodule QtGui