Addtextposition - Epson TM-T88V User Manual

Epos-print sdk for android
Hide thumbs Also See for TM-T88V:
Table of Contents

Advertisement

addTextPosition

Adds the horizontal print start position of text to the command buffer.
Syntax
public void addTextPosition(int x) throws EposException
Parameter
 x :
Specifies the horizontal print start position (in dots). 
Specifies an integer from 0 to 65535.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_PARAM
ERR_MEMORY
ERR_FAILURE
Example
To set the print position at 120 dots from the left end:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addTextPosition(120);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
54
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70Tm-p60Tm-u220

Table of Contents