wxPrintData
Implements methods from the following classes
wxObject
Methods
wxPrintData
Default constructor.
GetBin
Returns the current bin (papersource).
GetCollate
Returns true if collation is on.
GetColour
Returns true if colour printing is on.
GetDuplex
Returns the duplex mode.
GetFilename
GetNoCopies
Returns the number of copies requested by the user.
GetOrientation
Gets the orientation.
GetPaperId
Returns the paper size id.
GetPrintMode
GetPrinterName
Returns the printer name.
GetQuality
Returns the current print quality.
IsOk
Returns true if the print data is valid for using in print dialogs.
SetBin
Sets the current bin.
SetCollate
Sets collation to on or off.
SetColour
Sets colour printing on or off.
SetDuplex
Returns the duplex mode.
SetFilename
SetNoCopies
Sets the default number of copies to be printed out.
SetOrientation
Sets the orientation.
SetPaperId
Sets the paper id.
SetPrintMode
SetPrinterName
Sets the printer name.
SetQuality
Sets the desired print quality.
Static Methods
wxPrintData
wxPrintData
( )
Default constructor.
GetBin
wxPrintBin
GetBin
( )
Returns the current bin (papersource).
GetCollate
bool
GetCollate
( )
Returns true if collation is on.
GetColour
bool
GetColour
( )
Returns true if colour printing is on.
GetDuplex
wxDuplexMode
GetDuplex
( )
Returns the duplex mode.
GetFilename
string
GetFilename
( )
GetNoCopies
integer
GetNoCopies
( )
Returns the number of copies requested by the user.
GetOrientation
wxPrintOrientation
GetOrientation
( )
Gets the orientation.
GetPaperId
wxPaperSize
GetPaperId
( )
Returns the paper size id.
GetPrintMode
wxPrintMode
GetPrintMode
( )
GetPrinterName
string
GetPrinterName
( )
Returns the printer name.
GetQuality
integer
GetQuality
( )
Returns the current print quality.
IsOk
bool
IsOk
( )
Returns true if the print data is valid for using in print dialogs.
SetBin
SetBin
(
wxPrintBin
$flag
)
Sets the current bin.
SetCollate
SetCollate
(
bool
$flag
)
Sets collation to on or off.
SetColour
SetColour
(
bool
$flag
)
Sets colour printing on or off.
SetDuplex
SetDuplex
(
wxDuplexMode
$mode
)
Returns the duplex mode.
SetFilename
SetFilename
(
string
$filename
)
SetNoCopies
SetNoCopies
(
integer
$n
)
Sets the default number of copies to be printed out.
SetOrientation
SetOrientation
(
wxPrintOrientation
$orientation
)
Sets the orientation.
SetPaperId
SetPaperId
(
wxPaperSize
$paperId
)
Sets the paper id.
SetPrintMode
SetPrintMode
(
wxPrintMode
$printMode
)
SetPrinterName
SetPrinterName
(
string
$printerName
)
Sets the printer name.
SetQuality
SetQuality
(
integer
$quality
)
Sets the desired print quality.