ePOS-Print Object
Sends a print document created using an ePOS-Print Builder object to control the printer and monitor the
transmission result or the communication status.
Constructor
Constructor for an ePOS-Print object. Creates a new ePOS-Print object and initializes it.
Syntax
ePOSPrint(address);
Parameter
address :
( Optional parameter, Object type : String)
Specifies the URL of the printer to send a print document to. (in firmware Ver.1.2 and later)
The URL is as follows:
Example
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function sendMessage() {
var address = 'http://192.168.192.168/cgi-bin/epos/
var epos = new epson.ePOSPrint(address);
}
//-->
</script>
138
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]
service.cgi?devid=local_printer';