CFilePrinterPort Class Reference

#include <pdrport.h>

Link against: pdrprt.lib

class CFilePrinterPort : public CPrinterPort

Inherits from

  • CFilePrinterPort

    Constructor & Destructor Documentation

    ~CFilePrinterPort ( )

    IMPORT_C~CFilePrinterPort()

    Member Function Documentation

    Cancel ( )

    voidCancel()[virtual]

    Reimplemented from CPrinterPort::Cancel()

    Cancels an outstanding WriteRequest() operation.

    FileName ( )

    const TDesC &FileName()[inline]

    NewL ( const TDesC & )

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

    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.

    ParameterDescription
    aBufA descriptor containing the data to be written to the file printer port.
    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.