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
Parameters:
Name:
Object type:
Properties of the response object
Property
success
(p.
148)
code
(p.
148)
status
(p.
149)
battery
(p.
150)
 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'
148
response (See "Properties of the response object" on page 148.)
Response message
Object
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
Object type
Boolean
String
Number
Number
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70-iTm-l90-i

Table of Contents