EasyManua.ls Logo

Epson TM-T88V-i - Onpoweroff Event; Oncoverok Event

Epson TM-T88V-i
258 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
197
Chapter 5 ePOS-Print Canvas API
5
onpoweroff event
Registers a callback function to obtain a non-response event. (in firmware Ver.1.2 and later)
Object type
Function ()
Example
oncoverok event
Registers a callback function to obtain a cover close event. (in firmware Ver.1.2 and later)
Object type
Function ()
Example
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer';
var epos = new epson.CanvasPrint(address);
epos.onpoweroff = function () {
alert('poweroff');
};
epos.open();
//-->
</script>
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer';
var epos = new epson.CanvasPrint(address);
epos.oncoverok = function () {
alert('coverok');
};
epos.open();
//-->
</script>

Table of Contents

Other manuals for Epson TM-T88V-i

Related product manuals