Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 185
onreceive event, Parameter of the callback function, Properties of the response object
![]() |
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 185 highlights
Chapter 5 ePOS-Print Canvas API onreceive event This property registers the callback function and obtains a response message receipt event. Syntax Function (response) Parameter of the callback function Parameter: Name: Object type: response (See "Properties of the response object" on page 185.) Response message Object Properties of the response object Parameter success (p. 185) code (p. 185) status (p. 186) battery (p. 186) printjobid (p. 186) * Name Print result Error code Status Battery status Print job ID Boolean String Number Number String Object type * ePOS-Print Service Ver.4.1 or later versions supported Value of success Value true or 1 false or 0 Description Printing succeeded Processing succeeded (When the spooler function is enabled) Printing Failed Processing Failed (When the spooler function is enabled) Value of code Value Description 5 'EPTR_AUTOMATICAL' An automatically recoverable error occurred 'EPTR_BATTERY_LOW' No remaining battery 'EPTR_COVER_OPEN' A cover open error occurred 'EPTR_CUTTER' An autocutter error occurred 'EPTR_MECHANICAL' A mechanical error occurred 'EPTR_REC_EMPTY' No paper in roll paper end sensor 'EPTR_UNRECOVERABLE' An unrecoverable error occurred 'SchemaError' The request document contains a syntax error 'DeviceNotFound' The printer with the specified device ID does not exist 'PrintSystemError' An error occurred on the printing system 'EX_BADPORT' An error was detected on the communication port 'EX_TIMEOUT' A print timeout occurred 'EX_SPOOLER' * There is not enough space available in the printing queue 'JobNotFound' * The specified job ID does not exist 'Printing' * Print job now printing * ePOS-Print Service Ver.4.1 or later versions supported 185
![](/manual_guide/products/epson-p60ii-eposprint-api-user-s-manual-tmi-firmware-41-a0c01f3/185.png)