CCommPrinterPort Class Reference

class CCommPrinterPort : public CPrinterPort

Internal to Symbian

Inherits from

Constructor & Destructor Documentation

CCommPrinterPort()

IMPORT_C CCommPrinterPort ( ) [protected]

~CCommPrinterPort()

IMPORT_C ~CCommPrinterPort ( )

Member Functions Documentation

Cancel()

IMPORT_C void Cancel ( ) [virtual]

Cancels an outstanding WriteRequest() operation.

ConstructL(const TDesC &, const TDesC &, const TSerialPrinterPortConfig &, const TFifo)

IMPORT_C void ConstructL ( const TDesC & aCsyName,
const TDesC & aPortName,
const TSerialPrinterPortConfig & aConfig,
const TFifo aFifo = EFifoEnable
) [protected]

Parameters

const TDesC & aCsyName
const TDesC & aPortName
const TSerialPrinterPortConfig & aConfig
const TFifo aFifo = EFifoEnable

NewL(const TDesC &, const TDesC &, const TSerialPrinterPortConfig &, const TFifo)

IMPORT_C CCommPrinterPort * NewL ( const TDesC & aCsyName,
const TDesC & aPortName,
const TSerialPrinterPortConfig & aConfig,
const TFifo aFifo = EFifoEnable
) [static]

Parameters

const TDesC & aCsyName
const TDesC & aPortName
const TSerialPrinterPortConfig & aConfig
const TFifo aFifo = EFifoEnable

WriteRequest(const TDesC8 &, TRequestStatus &)

IMPORT_C void WriteRequest ( const TDesC8 & aBuf,
TRequestStatus & aRequestStatus
) [virtual]

Writes data asynchronously to the printer port.

Parameters

const TDesC8 & aBuf Data to be written to the port
TRequestStatus & aRequestStatus A reference to the request status object. If the request is cancelled, this should be set to KErrCancel; if the request completes normally, this should be set to KErrNone.

Member Data Documentation

RComm iComm

RComm iComm [protected]

RCommServ iCommServ

RCommServ iCommServ [protected]