Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 106
add Begin method, add Begin
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 106 highlights
addPageBegin method Adds the switching to page mode to the command buffer. The page mode process starts. Vertical lines are processed in page mode until their end is specified by addPageEnd (p. 107). Use this API function with addPageEnd. Syntax addPageBegin(); Return value Return value ePOS-Print Builder Object Object type ePOS Builder Example To print the characters "ABCDE" in page mode: 106
106
addPageBegin method
Adds the switching to page mode to the command buffer. The page mode process starts.
Syntax
addPageBegin
();
Return value
Example
Vertical lines are processed in page mode until their end is specified by addPageEnd (
p. 107
). Use
this API function with addPageEnd.
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
<script type="text/javascript" src="epos-print-4.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addPageBegin();
builder.addText('ABCDE');
builder.addPageEnd();
}
//-->
</script>
To print the characters "ABCDE" in page mode: