#include <gdi.h>
Link against: gdi.lib
| 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 | CPrinterDriverUI | ( | ) | [protected] |
| 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.
| IMPORT_C TBool | CanSetProperties | ( | ) | [virtual] |
Tests whether printer properties can be set.
| TInt | SetPrinterDevice | ( | CPrinterDevice * | aPrinterDevice | ) | [pure virtual] |
Sets the printer device.
| Parameters | |
|---|---|
| aPrinterDevice | The printer device. |