Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 193
var epos = new epson.CanvasPrintaddress, epos.onpoweroff = function, alert'poweroff
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 193 highlights
Chapter 5 ePOS-Print Canvas API onpoweroff event Registers a callback function to obtain a non-response event. Object type Function () Example oncoverok event Registers a callback function to obtain a cover close event. Object type Function () Example 5 193
193
Chapter 5
ePOS-Print Canvas API
5
onpoweroff event
Registers a callback function to obtain a non-response event.
Object type
Function ()
Example
oncoverok event
Registers a callback function to obtain a cover close event.
Object type
Function ()
Example
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
var epos = new epson.CanvasPrint(address);
epos.onpoweroff = function () {
alert('poweroff');
};
epos.open();
//-->
</script>
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
var epos = new epson.CanvasPrint(address);
epos.oncoverok = function () {
alert('coverok');
};
epos.open();
//-->
</script>