Epson Mobilink P80 ePOS-Print API Users Manual - Page 148
onreceive event, Function response
![]() |
View all Epson Mobilink P80 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 148 highlights
onreceive event This property registers the callback function and obtains a response message receipt event. Syntax Function (response) Parameter of the callback function Parameters: Name: Object type: response (See "Properties of the response object" on page 148.) Response message Object Properties of the response object Property success (p. 148) code (p. 148) status (p. 149) battery (p. 150) Name Print result Error code Status Battery status Object type Boolean String Number Number Value of success Value true or 1 false or 0 Description Printing succeeded. Printing failed. Value of code Value 'EPTR_AUTOMATICAL' 'EPTR_COVER_OPEN' 'EPTR_CUTTER' 'EPTR_MECHANICAL' 'EPTR_REC_EMPTY' 'EPTR_UNRECOVERABLE' 'SchemaError' 'DeviceNotFound' 'PrintSystemError' 'EX_BADPORT' 'EX_TIMEOUT' Description An automatically recoverable error occurred A cover open error occurred An autocutter error occurred A mechanical error occurred No paper in roll paper end sensor An unrecoverable error occurred The request document contains a syntax error The printer with the specified device ID does not exist An error occurred on the printing system An error was detected on the communication port A print timeout occurred 148
![](/manual_guide/products/epson-p60ii-eposprint-api-user-s-manual-65937ba/148.png)