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_C CPrinterDriverUI ( ) [protected]

Member Functions Documentation

AfterPrintL()

IMPORT_C void AfterPrintL ( ) [virtual]

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

BeforePrintL()

IMPORT_C TBool BeforePrintL ( ) [virtual]

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

CanSetProperties()

IMPORT_C TBool CanSetProperties ( ) [virtual]

Tests whether printer properties can be set.

SetPrinterDevice(CPrinterDevice *)

TInt SetPrinterDevice ( CPrinterDevice * aPrinterDevice ) [pure virtual]

Sets the printer device.

Parameters

CPrinterDevice * aPrinterDevice The printer device.

SetPropertiesL()

IMPORT_C void SetPropertiesL ( ) [virtual]

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