addTextLineSpace
Adds the line feed space setting to the command buffer.
Syntax
public void addTextLineSpace(int linespc)
throws EposException
Parameter
linespc :
Specifies the line feed space (in dots). Specifies an integer from 0 to 255.
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 line feed space to 30 dots:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addTextLineSpace(30);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
44
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
Description