EasyManua.ls Logo

Epson TM T88V - Addtextsize

Epson TM T88V
122 pages
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...
51
Chapter 4 API Reference
4
addTextSize
Adds the text scale setting to the command buffer.
Syntax
public void addTextSize(int width, int height)
throws EposException
Parameter
width : Specifies the horizontal scale of text.
height : Specifies the vertical scale of text.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Example
Set value Description
Integer from 1 to 8 Horizontal scale (default : 1)
Builder.PARAM_UNSPECIFIE
D
Retains the current setting.
Set value Description
Integer from 1 to 8 Vertical scale (default : 1)
Builder.PARAM_UNSPECIFIED Retains the current setting.
Error status Description
ERR_PARAM Invalid parameter was passed.
ERR_MEMORY Could not allocate memory.
ERR_FAILURE An unspecified error occurred.
To set a horizontal scale of x 4 and a vertical scale of x 4:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addTextSize(4, 4);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}

Table of Contents

Other manuals for Epson TM T88V

Related product manuals