Reception Of Status Event - Epson TM-T88V-i User Manual

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

Advertisement

Reception of Status Event

The status event notification function is used to check the printer status without printing. (in firmware Ver.1.2
and later) Refer to the following.
//Set the end point address
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer
//Create an ePOS-Print Canvas API object
var epos = new epson.CanvasPrint(address);
//Set an event callback function (cover open)
epos.oncoveropen = function () {
alert('coveropen');
};
//Set an event callback function (paper near end)
epos.onpapernearend = function () {
alert('papernearend');
};
//Enable status event operation
epos.open();
58
&timeout=10000';

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70-iTm-l90-i

Table of Contents