Onreceive Event - Epson TM-T88V-i User Manual

Epos-print api
Hide thumbs Also See for TM-T88V-i:
Table of Contents

Advertisement

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
Name:
Response message
Object type:
Object
Properties of the response object
Parameter
success
(p.
189)
code
(p.
189)
status
(p.
190)
battery
(p.
190)
Value of success
Value
true or 1
false or 0
 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'
(See "Properties of the response object" on page
Name
Print result
Error code
Status
Battery status
Printing succeeded.
Printing failed.
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
Chapter 5 ePOS-Print Canvas API
189.)
Object type
Boolean
String
Number
Number
Decription
Decription
5
189

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70-iTm-l90-i

Table of Contents