189
Chapter 5 ePOS-Print Canvas API
5
onreceive event
This property registers the callback function and obtains a response message receipt event.
Syntax
Function (response)
Parameter of the callback function
Parameter:
response (
See “Properties of the response object” on page 189.
Name:
Response message
Object type:
Object
Properties of the response object
Value of success
Value of code
Parameter
Name
Object type
success (
)
Print result
Boolean
code (
Error code
String
status (
)
Status
Number
battery (
Battery status
Number
Value
Decription
true or 1
Printing succeeded.
false or 0
Printing failed.
Value
Decription
'EPTR_AUTOMATICAL'
An automatically recoverable error occurred
'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
Summary of Contents for TM-T88V-i
Page 10: ...10 ...
Page 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Page 160: ...160 ...
Page 258: ...258 ...