Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 163
open method, var epos = new epson.CanvasPrintaddress, epos.open
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 163 highlights
Chapter 5 ePOS-Print Canvas 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 5 163
163
Chapter 5
ePOS-Print Canvas API
5
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.CanvasPrint(address);
epos.oncoveropen = function () {
alert('coveropen');
};
function startMonitor() {
epos.open();
}
function stopMonitor() {
epos.close();
}
//-->
</script>