Printout(title: str=”Printout”) -> None
This class encapsulates the functionality of printing out an application document.
Initialize self. See help(type(self)) for accurate signature. |
|
GetPageInfo() -> Tuple[int, int, int, int] |
|
HasPage(pageNum : int) -> bool |
|
OnBeginDocument(startPage : int, endPage : int) -> bool |
|
OnBeginPrinting() -> None |
|
OnEndDocument() -> None |
|
OnPreparePrinting() -> None |
|
OnPrintPage(pageNum : int) -> bool |
Printout(title: str=”Printout”) -> None
This class encapsulates the functionality of printing out an application document.
Initialize self. See help(type(self)) for accurate signature.
GetPageInfo() -> Tuple[int, int, int, int]
Called by the framework to obtain information from the application about minimum and maximum page values that the user can select, and the required page range to be printed.
HasPage(pageNum : int) -> bool
Should be overridden to return true if the document has this page, or false if not.
OnBeginDocument(startPage : int, endPage : int) -> bool
Called by the framework at the start of document printing.
OnBeginPrinting() -> None
Called by the framework at the start of printing.
OnEndDocument() -> None
Called by the framework at the end of document printing.
OnPreparePrinting() -> None
Called once by the framework before any other demands are made of the wxPrintout object.
OnPrintPage(pageNum : int) -> bool
Called by the framework when a page should be printed.