EasyManua.ls Logo

Epson TM-T88V-i - Addtext Method

Epson TM-T88V-i
258 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
69
Chapter 4 ePOS-Print API
4
addText method
Adds the printing of text to the command buffer.
Syntax
addText(data);
Parameter
data:(Requiredparameter,Objecttype:String)
Specifyacharacterstringtobeprinted.
Forthehorizontaltab/linefeed,usethefollowingescapesequences:
Return valueReturn value
Exception
Example
•Afterprintingtext,toprintcontentotherthantext,executelinefeedorpaperfeed.
•Inpagemode,charactersarelaidoutinthecurrentprintpositionwiththereferencepoint
beingthecharacterbaselinedot(Printerspecifications(p.209).
String Description
\t Horizontal tab(HT)
\n Line feed (LF)
\\ Carriage return
Return value Object type
ePOS-Print Builder Object ePOS Builder
Exception Object type
Parameter " ... " is invalid Error
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addText('Hello,\t').addText('World\n');
}
//-->
</script>
To add character strings:

Table of Contents

Other manuals for Epson TM-T88V-i

Related product manuals