Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 138
getPrintJobStatus method
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 138 highlights
getPrintJobStatus method Acquires print job status. (ePOS-Print Service Ver.4.1 or later versions) • The results of executing this API will be returned to an onreceive event (p.145). • The latest print job status will be obtained when executing multiple printing processes with the same job ID. Syntax getPrintJobStatus(printjobid); Parameter printjobid : Exception (Required parameter, Object type : String) Specifies the print job ID to be verified. 1 to 30 alphanumeric characters, including underscores, hyphens and periods, may be used. Exception Parameter " ... " is invalid XMLHttpRequest is not supported Object type Error Error Example var printjobid = '12345'; var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi'; var epos = new epson.ePOSPrint(address); epos.onreceive = function (res) { alert(res.success); }; epos.onerror = function (err) { alert(err.status); }; epos.getPrintJobStatus(printjobid); 138