107
Chapter 4 ePOS-Print API
4
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
PageEnd
(
Use
this
API
function
with
PageEnd.
Return value
Object type
ePOS-Print Builder Object
ePOS Builder
<script type="text/javascript" src="epos-print-3.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:
Summary of Contents for TM-T88V-i
Page 10: ...10 ...
Page 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Page 160: ...160 ...
Page 258: ...258 ...