API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTBPPREFOBJECTSERVER_REFOBJRESPONSE()

Brew Release
Brew MP 1.0.2
See Also
IBTBPPRefObjectServer_RefObjResponseStream IBTBPPRefObjectServer_GetRefObjRequest
Description
The application can respond to referenced object requests from the Printer using this API. If the application responds with an open IPort1 object, further requests from the printer for the specified Object will be handled by the implementation. This method is best suited for fixed sized objects.If this API is used, it is mandatory that the IPort1 derived object support SEEK functionality.An example of this object is IFilePort1.
Params
_me
[in]:
the object
piROPort
[in]:
pointer to an open IPort1 object
pszRefObjName
[in]:
name of file requested by the printer
Return
AEE_SUCCESS
[]:
data successfully sent to printer
AEE_EBADPARM
[]:
bad input parameters
Prototype
  •    AEEResult IBTBPPRefObjectServer_RefObjResponse(IBTBPPRefObjectServer* _me,
                                                      IPort1*                 piROPort,
                                                      const char*             pszRefObjName);
    
Side Effect
  • None.
Comments
None.