Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <PDRPORT.H>
Link against: pdrprt.lib

Class CFilePrinterPort

class CFilePrinterPort : public CPrinterPort;

Description

Derivation

Members

Defined in CFilePrinterPort:

Inherited from CBase:


Construction and destruction


NewL(const TDesC &)

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

Description

Parameters

const TDesC16 &aFileName

Return value

CFilePrinterPort *


~CFilePrinterPort()

IMPORT_C ~CFilePrinterPort();

Description

[Top]


Member functions


WriteRequest(const TDesC8 &,TRequestStatus &)

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 CFilePrinterPort::WriteRequest(const TDesC8 &,TRequestStatus &) operation.


FileName()

inline const TDesC& FileName();

Description

Return value

const TDesC16 &