wxPrinter
Implements methods from the following classes
wxObject
Methods
wxPrinter
Constructor.
CreateAbortWindow
Creates the default printing abort window, with a cancel button.
GetAbort
Returns true if the user has aborted the print job.
GetPrintDialogData
Returns the print data associated with the printer object.
Print
Starts the printing process.
PrintDialog
Invokes the print dialog.
ReportError
Default error-reporting function.
Setup
Invokes the print setup dialog.
Static Methods
GetLastError
Return last error.
wxPrinter
wxPrinter
(
wxPrintDialogData
&
$data
=
NULL
)
Constructor.
CreateAbortWindow
wxWindow
&
CreateAbortWindow
(
wxWindow
&
$parent
,
wxPrintout
&
$printout
)
Creates the default printing abort window, with a cancel button.
GetAbort
bool
GetAbort
( )
Returns true if the user has aborted the print job.
GetLastError
static
wxPrinterError
GetLastError
( )
Return last error.
GetPrintDialogData
wxPrintDialogData
&
GetPrintDialogData
( )
Returns the print data associated with the printer object.
Print
bool
Print
(
wxWindow
&
$parent
,
wxPrintout
&
$printout
,
bool
$prompt
=
true
)
Starts the printing process.
PrintDialog
wxDC
&
PrintDialog
(
wxWindow
&
$parent
)
Invokes the print dialog.
ReportError
ReportError
(
wxWindow
&
$parent
,
wxPrintout
&
$printout
,
string
$message
)
Default error-reporting function.
Setup
bool
Setup
(
wxWindow
&
$parent
)
Invokes the print setup dialog.