#include <pdrport.h>
class CFilePrinterPort : public CPrinterPort |
Public Member Functions | |
---|---|
~CFilePrinterPort() | |
virtual void | Cancel() |
const TDesC & | FileName() |
IMPORT_C CFilePrinterPort * | NewL(const TDesC &) |
virtual void | WriteRequest(const TDesC8 &, TRequestStatus &) |
void | Cancel | ( | ) | [virtual] |
Reimplemented from CPrinterPort::Cancel()
Cancels an outstanding WriteRequest() operation.
void | WriteRequest | ( | const TDesC8 & | aBuf, |
TRequestStatus & | aRequestStatus | |||
) | [virtual] |
Reimplemented from CPrinterPort::WriteRequest(const TDesC8 &,TRequestStatus &)
Implementation of the pure virtual function inherited from CPrinterPort.
Writes data asynchronously to the concrete file printer port.
Parameter | Description |
---|---|
aBuf | A descriptor containing the data to be written to the file printer port. |
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. |