Skip to content

PythonQt.QtGui.QPrinterInfo

QPrinterInfo

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

Use the static functions to generate a list of QPrinterInfo objects. Each QPrinterInfo object in the list represents a single printer and can be queried for name, supported paper sizes, and whether or not it is the default printer.

Source: https://doc.qt.io/archives/qt-5.15/qprinterinfo.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
availablePrinterNames function (self) -> tuple X.availablePrinterNames() -> tuple
availablePrinters function (self) -> tuple X.availablePrinters() -> tuple
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
defaultDuplexMode function (self) -> Any Returns the default duplex mode of this printer.
defaultPageSize function (self) -> Any X.defaultPageSize() -> PythonQt.QtGui.QPageSize
defaultPrinter function (self) -> Any X.defaultPrinter() -> PythonQt.QtGui.QPrinterInfo
defaultPrinterName function (self) -> str X.defaultPrinterName() -> str
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
description function (self) -> str X.description() -> str
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isDefault function (self) -> bool X.isDefault() -> bool
isNull function (self) -> bool X.isNull() -> bool
isRemote function (self) -> bool X.isRemote() -> bool
location function (self) -> str X.location() -> str
makeAndModel function (self) -> str X.makeAndModel() -> str
maximumPhysicalPageSize function (self) -> Any X.maximumPhysicalPageSize() -> PythonQt.QtGui.QPageSize
minimumPhysicalPageSize function (self) -> Any X.minimumPhysicalPageSize() -> PythonQt.QtGui.QPageSize
printerInfo function (self, printerName: str) -> Any X.printerInfo(printerName) -> PythonQt.QtGui.QPrinterInfo
printerName function (self) -> str X.printerName() -> str
state function (self) -> Any Returns the current state of this printer.
supportedDuplexModes function (self) -> tuple X.supportedDuplexModes() -> tuple
supportedPageSizes function (self) -> tuple X.supportedPageSizes() -> tuple
supportedPaperSizes function (self) -> tuple X.supportedPaperSizes() -> tuple
supportedResolutions function (self) -> tuple X.supportedResolutions() -> tuple
supportedSizesWithNames function (self) -> tuple X.supportedSizesWithNames() -> tuple
supportsCustomPageSizes function (self) -> bool X.supportsCustomPageSizes() -> bool