addTextSmooth
Adds the smoothing setting to the command buffer.
Syntax
public void addTextSmooth(int smooth)
throws EposException
Parameter
smooth :
Specifies whether to enable smoothing.
Builder.TRUE
Builder.FALSE (default)
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_PARAM
ERR_MEMORY
ERR_FAILURE
Example
To enable smoothing:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addTextSmooth(Builder.TRUE);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
Set value
Specifies smoothing.
Cancels smoothing
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
Chapter 4 API Reference
Description
Description
4
49