Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 152
oncoveropen event, onpaperok event
![]() |
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 152 highlights
oncoveropen event Registers a callback function to obtain a cover open event. Object type Function () Example onpaperok event Registers a callback function to obtain a paper remaining event. Object type Function () Example 152
![](/manual_guide/products/epson-p60ii-eposprint-api-user-s-manual-tmi-firmware-41-a0c01f3/152.png)
152
oncoveropen event
Registers a callback function to obtain a cover open event.
Object type
Function ()
Example
onpaperok event
Registers a callback function to obtain a paper remaining 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.ePOSPrint(address);
epos.oncoveropen = function () {
alert('coveropen');
};
epos.open();
//-->
</script>
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
var epos = new epson.ePOSPrint(address);
epos.onpaperok = function () {
alert('paperok');
};
epos.open();
//-->
</script>