Addtextdouble - Epson TM-T88V User Manual

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

Advertisement

addTextDouble

Adds the double-sized text setting to the command buffer.
Syntax
public void addTextDouble(int dw, int dh)
throws EposException
Parameter
 dw :
Specifies the double-sized width.
 dh :
Specifies the double-sized height.
When Builder.true or 1 is set for both the dw and dh parameters, double width and height
characters are printed.
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 size as double width and height:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addTextDouble(Builder.TRUE, Builder.TRUE);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
50
Set value
Builder.TRUE
Builder.FALSE (default)
Builder.PARAM_UNSPECIFIE
D
Set value
Builder.TRUE
Builder.FALSE (default)
Builder.PARAM_UNSPECIFIE
D
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
Description
Specifies the double-sized width.
Cancels the double-sized width
Retains the current setting.
Description
Specifies the double-sized height
Cancels the double-sized height
Retains the current setting.
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70Tm-p60Tm-u220

Table of Contents