CPrinterModelList Class Reference

class CPrinterModelList : public CBase

Printer model list interface.

Functions provided by this abstract base class can be used to extract printer model information from the list of printer models. This class would typically be used to implement printer selection in a dialog box.

CPdrModelList

Inherits from

Member Functions Documentation

ModelCount()

TInt ModelCount()const [pure virtual]

Gets the number of printer models in the printer model list.

UidToNum(TUid)

TInt UidToNum(TUidaModelUid)const [pure virtual]

Gets a printer models index within the model list from its UID.

Parameters

TUid aModelUidThe UID of the printer model.

operator[](TInt)

const TPrinterModelEntryoperator[](TIntanIndex)[pure virtual]

Gets printer model name.

This is the name of the printer model at the specified index within the list of printer models.

Parameters

TInt anIndexThe index of the printer model within the array of printer models. Note that this number must be between zero and ModelCount().