Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 141
address property
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 141 highlights
Chapter 4 ePOS-Print API address property URL of the printer. Object type String Description The URL of the printer to be used for printing is specified. The URL is shown as follows: http://[IP address of ePOS-Print supported TM printer]/cgi-bin/epos/ service.cgi?devid=[device ID of printer to be used for printing]&timeout=[timeout time] The default value is the address specified by the constructor. To acquire print job status, it is not necessary to specify "devid" and "timeout". (For ePOS-Print Service Ver.4.1 or later and with the spooler enabled) Example 141
141
Chapter 4
ePOS-Print API
4
address property
URL of the printer.
Object type
String
Description
The URL of the printer to be used for printing is specified.
The URL is shown as follows:
The default value is the address specified by the constructor.
Example
To acquire print job status, it is not necessary to specify "devid" and "timeout".
(For ePOS-Print Service Ver.4.1 or later and with the spooler enabled)
http://[IP address of ePOS-Print supported TM printer]/cgi-bin/epos/
service.cgi?devid=[device ID of printer to be used for
printing]&timeout=[timeout time]
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
var epos = new epson.ePOSPrint();
epos.address = 'http://192.168.192.168/cgi-bin/epos/
service.cgi?devid=local_printer';
epos.oncoveropen = function () { alert('coveropen'); };
epos.open();
//-->
</script>