CFilePrinterPort Class Reference

class CFilePrinterPort : public CPrinterPort

Inherits from

Constructor & Destructor Documentation

CFilePrinterPort(const TDesC &)

CFilePrinterPort(const TDesC &aFileName)[private]

Parameters

const TDesC & aFileName

~CFilePrinterPort()

IMPORT_C~CFilePrinterPort()

Member Functions Documentation

Cancel()

voidCancel()[virtual]

Cancels an outstanding WriteRequest() operation.

ConstructL()

voidConstructL()[private]

FileName()

const TDesC &FileName()[inline]

NewL(const TDesC &)

IMPORT_C CFilePrinterPort *NewL(const TDesC &aFileName)[static]

Parameters

const TDesC & aFileName

WriteRequest(const TDesC8 &, TRequestStatus &)

voidWriteRequest(const TDesC8 &aBuf,
TRequestStatus &aRequestStatus
)[virtual]

Implementation of the pure virtual function inherited from CPrinterPort.

Writes data asynchronously to the concrete file printer port.

Parameters

const TDesC8 & aBufA descriptor containing the data to be written to the file printer port.
TRequestStatus & aRequestStatusA reference to the request status object. On completion contains KErrNone if the data is successfully written to this file printer port, otherwise if the request is cancelled, this should be set to KErrCancel.

Member Data Documentation

TBool iCancelled

TBool iCancelled[private]

RFile iFile

RFile iFile[private]

TFileName iFileName

TFileName iFileName[private]

RFs iFs

RFs iFs[private]