Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: pdrport.h
Link against: pdrprt.lib

Class CFilePrinterPort

class CFilePrinterPort : public CPrinterPort;

Description

Derivation

Members

Defined in CFilePrinterPort:
Cancel(), FileName(), NewL(), WriteRequest(), ~CFilePrinterPort()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CFilePrinterPort *NewL(const TDesC &aFileName);

Description

Parameters

const TDesC &aFileName

Return value

CFilePrinterPort *


~CFilePrinterPort()

IMPORT_C ~CFilePrinterPort();

Description

[Top]


Member functions


WriteRequest()

virtual void WriteRequest(const TDesC8 &aBuf, TRequestStatus &aRequestStatus);

Description

Implementation of the pure virtual function inherited from CPrinterPort.

Writes data asynchronously to the concrete file printer port.

Parameters

const TDesC8 &aBuf

A descriptor containing the data to be written to the file printer port.

TRequestStatus &aRequestStatus

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


Cancel()

virtual void Cancel();

Description

Cancels an outstanding WriteRequest() operation.


FileName()

inline const TDesC &FileName();

Description

Return value

const TDesC &