Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 150
ononline event, Object type
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 150 highlights
ononline event Registers a callback function to obtain a online event. Object type Function () Example onoffline event Registers a callback function to obtain a offline event. Object type Function () Example 150
150
ononline event
Registers a callback function to obtain a online event.
Object type
Function ()
Example
onoffline event
Registers a callback function to obtain a offline 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.ononline = function () {
alert('online');
};
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.onoffline = function () {
alert('offline');
};
epos.open();
//-->
</script>