56
addFeedLine
Adds paper feeding in lines to the command buffer.
Syntax
public void addFeedLine(int line) throws EposException
Parameter
unit : Specifies the paper feed space (in lines). Specifies an integer from 0 to 255.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Example
Error status Description
ERR_PARAM Invalid parameter was passed.
ERR_MEMORY Could not allocate memory.
ERR_FAILURE An unspecified error occurred.
To feed paper by 3 lines:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addFeedLine(3);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}