199
Chapter 5 ePOS-Print Canvas API
5
onpapernearend event
Registers a callback function to obtain a paper near end event. (in firmware Ver.1.2 and later)
Object type
Function ()
Example
onpaperend event
Registers a callback function to obtain a paper end event. (in firmware Ver.1.2 and later)
Object type
Function ()
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.onpapernearend = function () {
alert('papernearend');
};
epos.open();
//-->
</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.onpaperend = function () {
alert('paperend');
};
epos.open();
//-->
</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 ...