CPrinterDriverUI Class Reference

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).

CPrinterDriver::CreatePrinterDriverUIL()

Inherits from

Constructor & Destructor Documentation

CPrinterDriverUI()

IMPORT_CCPrinterDriverUI()[protected]

Member Functions Documentation

AfterPrintL()

IMPORT_C voidAfterPrintL()[virtual]

Provides an opportunity for a dialog to be put up after printing is complete. The default implementation is empty.

BeforePrintL()

IMPORT_C TBoolBeforePrintL()[virtual]

Provides an opportunity for a dialog to be put up before printing begins.

CanSetProperties()

IMPORT_C TBoolCanSetProperties()[virtual]

Tests whether printer properties can be set.

SetPrinterDevice(CPrinterDevice *)

TInt SetPrinterDevice(CPrinterDevice *aPrinterDevice)[pure virtual]

Sets the printer device.

Parameters

CPrinterDevice * aPrinterDeviceThe printer device.

SetPropertiesL()

IMPORT_C voidSetPropertiesL()[virtual]

Provides an opportunity for a dialog to be put up to capture or change printer properties. The default implementation is empty.