#include <gdi.h>
class CPrinterDriverUI : public CBase |
Public Member Functions | |
---|---|
virtual IMPORT_C void | AfterPrintL() |
virtual IMPORT_C TBool | BeforePrintL() |
virtual IMPORT_C TBool | CanSetProperties() |
pure virtual TInt | SetPrinterDevice(CPrinterDevice *) |
virtual IMPORT_C void | SetPropertiesL() |
Protected Member Functions | |
---|---|
CPrinterDriverUI() |
Printer specific user interface.
The class is used to implement a printer specific setup dialog. A concrete implementation of the class is supplied in a UDL (i.e. a UI DLL).
CPrinterDriver::CreatePrinterDriverUIL() is used to construct a CPrinterDriverUI object for a specific printer. (This function calls the ordinal 1 exported function of the UDL that performs the construction of the CPrinterDriverUI object).
See also: CPrinterDriver::CreatePrinterDriverUIL()
IMPORT_C void | AfterPrintL | ( | ) | [virtual] |
Provides an opportunity for a dialog to be put up after printing is complete. The default implementation is empty.
IMPORT_C TBool | BeforePrintL | ( | ) | [virtual] |
Provides an opportunity for a dialog to be put up before printing begins.
Returns: ETrue, if printing is to continue; EFalse, if printing is to be cancelled. The default implementation returns ETrue.
IMPORT_C TBool | CanSetProperties | ( | ) | [virtual] |
Tests whether printer properties can be set.
Returns: ETrue, if printer properties can be set; EFalse, otherwise. The default implementation returns EFalse.
TInt | SetPrinterDevice | ( | CPrinterDevice * | aPrinterDevice | ) | [pure virtual] |
Sets the printer device.
Parameter | Description |
---|---|
aPrinterDevice | The printer device. |