free hit counter

Onpaperend Event; Ondrawerclosed Event - Epson TM-T88V-i User Manual

Epos-print api
Hide thumbs Also See for TM-T88V-i:
Table of Contents

Advertisement

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.ePOSPrint(address);
epos.onpaperend = function () {
alert('paperend');
};
epos.open();
//-->
</script>

ondrawerclosed event

Registers a callback function to obtain a drawer close 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.ePOSPrint(address);
epos.ondrawerclosed = function () {
alert('drawerclosed');
};
epos.open();
//-->
</script>
Chapter 4 ePOS-Print API
157
4

Hide quick links:

Advertisement

Table of Contents
loading