Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 42
Embedding of ePOS-Print API, Preparation, Embedding into Web s
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 42 highlights
Embedding of ePOS-Print API The ePOS-Print API is provided so that ePOS-Print can be used from the JavaScript on the client side. It is provided as JavaScript, and its file name is "epos-print-4.x.x.js". The ePOS-Print API is used by embedding epos-print-4.x.x.js into applications. Preparation To use the ePOS-Print API, place epos-print-4.x.x.js on the Web server. Embedding into Web pages Embed the script into the Web page by using the HTML tags. Embed TITLE function buildMessage() { var builder = new epson.ePOSBuilder(); . . } . . 42
42
Embedding of ePOS-Print API
The ePOS-Print API is provided so that ePOS-Print can be used from the JavaScript on the client side.
It is provided as JavaScript, and its file name is “epos-print-4.x.x.js”.
The ePOS-Print API is used by embedding epos-print-4.x.x.js into applications.
Preparation
To use the ePOS-Print API, place epos-print-4.x.x.js on the Web server.
Embedding into Web pages
Embed the script into the Web page by using the HTML <script> tags.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>TITLE</title>
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
function buildMessage() {
var builder = new epson.ePOSBuilder();
.
.
}
</script>
</head>
<body>
.
.
</body>
</html>
Embed