#include <gdi.h>
class CPrinterPort : public CBase |
Public Member Functions | |
---|---|
pure virtual void | Cancel() |
pure virtual void | WriteRequest(const TDesC8 &, TRequestStatus &) |
Printer port interface.
This interface is used as the base class for the various types of printer port. New printer port classes should be derived from this class.After allocation and construction, a pointer to a concrete printer port should be passed to CPrintSetup::StartPrintL().
See also: CPrintSetup::StartPrintL()
void | WriteRequest | ( | const TDesC8 & | aBuf, |
TRequestStatus & | aRequestStatus | |||
) | [pure virtual] |
Writes data asynchronously to the printer port.
Parameter | Description |
---|---|
aBuf | Data to be written to the port |
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. |