Location:
gdi.h
Link against:
gdi.lib
CPrinterDriverUI
Supported from 5.0
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).
|
Defined in CPrinterDriverUI
:
AfterPrintL()
, BeforePrintL()
, CanSetProperties()
, SetPrinterDevice()
, SetPropertiesL()
Inherited from CBase
:
operator new()
virtual TBool BeforePrintL();
Provides an opportunity for a dialog to be put up before printing begins.
|
virtual void AfterPrintL();
Provides an opportunity for a dialog to be put up after printing is complete.
The default implementation is empty.
virtual void SetPropertiesL();
Provides an opportunity for a dialog to be put up to capture or change printer properties.
The default implementation is empty.
virtual TBool CanSetProperties();
Tests whether printer properties can be set.
|
virtual TInt SetPrinterDevice(CPrinterDevice* aPrinterDevice) = 0;
Sets the printer device.
|