NAME

Qt::Gui::QPrinter

PUBLIC METHODS

QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution)
QPrinter(QPrinter::PrinterMode mode)
QPrinter(const QPrinterInfo & printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution)
QPrinter(const QPrinterInfo & printer, QPrinter::PrinterMode mode)
~QPrinter()
bool abort()
int actualNumCopies()
bool collateCopies()
QPrinter::ColorMode colorMode()
QString creator()
int devType()
QString docName()
bool doubleSidedPrinting()
QPrinter::DuplexMode duplex()
bool fontEmbeddingEnabled()
int fromPage()
bool fullPage()
void getPageMargins(qreal * left, qreal * top, qreal * right, qreal * bottom, QPrinter::Unit unit)
bool isValid()
bool newPage()
int numCopies()
QPrinter::Orientation orientation()
QString outputFileName()
QPrinter::OutputFormat outputFormat()
QPrinter::PageOrder pageOrder()
QRect pageRect()
QRectF pageRect(QPrinter::Unit arg0)
QPrinter::PageSize pageSize()
QPaintEngine * paintEngine()
QRect paperRect()
QRectF paperRect(QPrinter::Unit arg0)
QPrinter::PageSize paperSize()
QSizeF paperSize(QPrinter::Unit unit)
QPrinter::PaperSource paperSource()
QPrintEngine * printEngine()
QString printProgram()
QPrinter::PrintRange printRange()
QString printerName()
QString printerSelectionOption()
QPrinter::PrinterState printerState()
int resolution()
void setCollateCopies(bool collate)
void setColorMode(QPrinter::ColorMode arg0)
void setCreator(const QString & arg0)
void setDocName(const QString & arg0)
void setDoubleSidedPrinting(bool enable)
void setDuplex(QPrinter::DuplexMode duplex)
void setFontEmbeddingEnabled(bool enable)
void setFromTo(int fromPage, int toPage)
void setFullPage(bool arg0)
void setNumCopies(int arg0)
void setOrientation(QPrinter::Orientation arg0)
void setOutputFileName(const QString & arg0)
void setOutputFormat(QPrinter::OutputFormat format)
void setPageMargins(qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit)
void setPageOrder(QPrinter::PageOrder arg0)
void setPageSize(QPrinter::PageSize arg0)
void setPaperSize(QPrinter::PageSize arg0)
void setPaperSize(const QSizeF & paperSize, QPrinter::Unit unit)
void setPaperSource(QPrinter::PaperSource arg0)
void setPrintProgram(const QString & arg0)
void setPrintRange(QPrinter::PrintRange range)
void setPrinterName(const QString & arg0)
void setPrinterSelectionOption(const QString & arg0)
void setResolution(int arg0)
int toPage()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html