Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 142
enabled property, interval property
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 142 highlights
enabled property Retains the enabled/disabled setting for status event operation. Object type Boolean Description The enabled/disabled setting for status event operation is retained using a logical value. This is read-only. The default value is false. Example interval property Specifies the interval of upgrading the status. Object type Number Description The interval of upgrading the status is specified in milliseconds. Default value: 3000 (three seconds) Minimum value: 1000 (one second or longer) When an invalid value is specified, it is assumed to be 3000. Example 142
142
enabled property
Retains the enabled/disabled setting for status event operation.
Object type
Boolean
Description
The enabled/disabled setting for status event operation is retained using a logical value.
This is read-only.
The default value is false.
Example
interval property
Specifies the interval of upgrading the status.
Object type
Number
Description
The interval of upgrading the status is specified in milliseconds.
Default value:
3000 (three seconds)
Minimum value:
1000 (one second or longer)
When an invalid value is specified, it is assumed to be 3000.
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();
alert(epos.enabled);
//-->
</script>
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
var epos = new epson.ePOSPrint(address);
epos.interval = 1000;
epos.oncoveropen = function () { alert('coveropen'); };
epos.open();
//-->
</script>