Location:
GDI.H
Link against: gdi.lib
class CPrinterDriverUI : public CBase;
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).
CBase
- Base class for all classes to be instantiated on the heap
CPrinterDriverUI
- Printer specific user interface
Defined in CPrinterDriverUI
:
AfterPrintL()
, BeforePrintL()
, CPrinterDriverUI()
, CanSetProperties()
, SetPrinterDevice()
, SetPropertiesL()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
virtual IMPORT_C TBool BeforePrintL();
Provides an opportunity for a dialog to be put up before printing begins.
|
virtual IMPORT_C void AfterPrintL();
Provides an opportunity for a dialog to be put up after printing is complete. The default implementation is empty.
virtual IMPORT_C void SetPropertiesL();
Provides an opportunity for a dialog to be put up to capture or change printer properties. The default implementation is empty.
virtual IMPORT_C TBool CanSetProperties();
Tests whether printer properties can be set.
|
virtual TInt SetPrinterDevice(CPrinterDevice *aPrinterDevice)=0;
Sets the printer device.
|
|