Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 179
paper property, epos.paper = epos.PAPER_LABEL
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 179 highlights
Chapter 5 ePOS-Print Canvas API paper property It sets paper type. (in ePOS-Print Service Ver.2.1 and later) Object type String Description It specifies paper type. Value PAPER_RECEIPT (Default) PAPER_RECEIPT_BM PAPER_LABEL PAPAER_LABEL_BM Description Receipt (without black mark) Receipt (with black mark) Die-cut label (without black mark) Die-cut label (with black mark) Example Prints a label. 5 179
179
Chapter 5
ePOS-Print Canvas API
5
paper property
It sets paper type. (in ePOS-Print Service Ver.2.1 and later)
Object type
String
Description
It specifies paper type.
Example
Value
Description
PAPER_RECEIPT (Default)
Receipt (without black mark)
PAPER_RECEIPT_BM
Receipt
(with black mark)
PAPER_LABEL
Die-cut label (without black mark)
PAPAER_LABEL_BM
Die-cut label (with black mark)
Prints a label.
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
var canvas = document.getElementById('myCanvas');
var epos = new epson.CanvasPrint(address);
epos.paper = epos.PAPER_LABEL;
epos.feed = epos.FEED_PEELING;
epos.print(canvas);
//-->
</script>