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

Developer

API Reference

IBTIMAGEPRINTINITIATOR_GETCURRENTFILE()

Brew Release
Brew MP 1.0.2
See Also
IBTImagePrintInitiator_StartPrint
Description
Gets the name of the file currently being printed. This API can be called when AEEBTBIPI_EV_OP_PROGRESS event is received.
Params
_me
[in]:
the object
filePath
[in]:
destination for name of file being printed filePathLen [i[ : number of chars filePath can hold
filePathLenReq
[out]:
number of chars filePath must be able to hold
Return
AEE_SUCCESS
[]:
Name of file successfully retrieved.
AEE_EBUFFERTOOSMALL
[]:
filePath not large enough; no partial name copied.
AEE_EBADSTATE
[]:
No files are being printed.
Prototype
  •    AEEResult IBTImagePrintInitiator_GetCurrentFile(
                    IBTImagePrintInitiator* _me,
                    char*                   filePath, 
                    int                     filePathLen,
                    int*                    filePathLenReq);
    
Side Effect
  • None
Comments
None