Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 51
Embedding of ePOS-Print Canvas API
![]() |
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 51 highlights
Chapter 3 Programming Guide Embedding of ePOS-Print Canvas API The ePOS-Print Canvas API is provided as JavaScript. And its file name is "epos-print-4.x.x.js". It is used by embedding epos-print-4.x.x.js into applications. Preparation To use the ePOS-Print Canvas 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 drawCanvas() { . . } 3 . . 51
![](/manual_guide/products/epson-p60ii-eposprint-api-user-s-manual-tmi-firmware-41-a0c01f3/51.png)
51
Chapter 3
Programming Guide
3
Embedding of ePOS-Print Canvas API
The ePOS-Print Canvas API is provided as JavaScript. And its file name is "epos-print-4.x.x.js".
It is used by embedding epos-print-4.x.x.js into applications.
Preparation
To use the ePOS-Print Canvas 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 drawCanvas() {
.
.
}
</script>
</head>
<body>
.
.
</body>
</html>
Embed