169
Chapter 5 ePOS-Print Canvas API
5
recover method
Recovers from an error.(in firmware Ver.3.0 and later)
Recovers from errors that can be recovered from and clears the buffer.
Syntax
recover
();
Example
reset method
Resets the printer. (in firmware Ver.3.0 and later)
Syntax
reset
();
Example
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer';
var epos = new epson.CanvasPrint(address);
epos.oncoveropen = function () {
alert('coveropen');
};
function recover() {
epos.recover();
}
//-->
</script>
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer';
var epos = new epson.CanvasPrint(address);
epos.oncoveropen = function () {
alert('coveropen');
};
function reset() {
epos.reset();
}
//-->
</script>
Summary of Contents for TM-T88V-i
Page 10: ...10 ...
Page 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Page 160: ...160 ...
Page 258: ...258 ...