Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 139
open method, Syntax, Example
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 139 highlights
Chapter 4 ePOS-Print API open method Enables status event operation. Sends the status of the printer specified by the address property using an event. Updates the status at the interval specified by the interval property. Syntax open(); Example
139
Chapter 4
ePOS-Print API
4
open method
Enables status event operation.
Sends the status of the printer specified by the address property using an event.
Updates the status at the interval specified by the interval property.
Syntax
open
();
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');
};
function startMonitor() {
epos.open();
}
function stopMonitor() {
epos.close();
}
//-->
</script>