Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 147
Value, Description, Print job ID, An empty string denotes that a print job ID has not been set
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 147 highlights
Chapter 4 ePOS-Print API Value of printjobid Value '...' Description Print job ID (An empty string denotes that a print job ID has not been set) Example To create and send a print document. To display the print result in a message box. 4 147
147
Chapter 4
ePOS-Print API
4
Value of printjobid
Example
Value
Description
'...'
Print job ID
(An empty string denotes that a print job ID has not been set)
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
function printHellowWorld() {
var builder = new epson.ePOSBuilder();
builder.addText('Hello, World!\n');
builder.addCut();
var request = builder.toString();
var epos = new epson.ePOSPrint(address);
epos.onreceive = function (res) {
var success = res.success;
var code = res.code;
var status = res.status;
alert(success);
}
epos.send(request);
}
//-->
</script>
To create and send a print document.
To display the print result in a message box.