Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 166
Description, Example
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 166 highlights
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 166
166
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.CanvasPrint();
epos.oncoveropen = function () { alert('coveropen'); };
epos.open();
//-->
</script>