Addtextposition Method - Epson TM-T88V-i User Manual

Epos-print api
Hide thumbs Also See for TM-T88V-i:
Table of Contents

Advertisement

addTextPosition method

Adds the horizontal print start position of text to the command buffer.
Syntax
addTextPosition(x);
Parameter
 x :
( Required parameter, Object type : Number)
Specifies the horizontal print start position (in dots). 
Specifies an integer from 0 to 65535. 
Return value
ePOS-Print Builder Object
Exception
Parameter " ... " is invalid
Example
To set the print position at 120 dots from the left end:
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
function buildMessage() {
var builder = new epson.ePOSBuilder();
builder.addTextPosition(120);
}
//-->
</script>
80
Return value
Exception
Object type
ePOS Builder
Object type
Error

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70-iTm-l90-i

Table of Contents