CCommPrinterPort Class Reference

class CCommPrinterPort : public CPrinterPort

Internal to Symbian

Inherits from

Constructor & Destructor Documentation

CCommPrinterPort()

IMPORT_CCCommPrinterPort()[protected]

~CCommPrinterPort()

IMPORT_C~CCommPrinterPort()

Member Functions Documentation

Cancel()

IMPORT_C voidCancel()[virtual]

Cancels an outstanding WriteRequest() operation.

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

IMPORT_C voidConstructL(const TDesC &aCsyName,
const TDesC &aPortName,
const TSerialPrinterPortConfig &aConfig,
const TFifoaFifo = 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 TFifoaFifo = EFifoEnable
)[static]

Parameters

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

WriteRequest(const TDesC8 &, TRequestStatus &)

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

Writes data asynchronously to the printer port.

Parameters

const TDesC8 & aBufData to be written to the port
TRequestStatus & aRequestStatusA 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]