addCut
Adds paper cut to the command buffer. Sets paper cut.
Not available in page mode.
Syntax
public void addCut(int type) throws EposException
Parameter
type :
Specifies the paper cut type.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_PARAM
ERR_MEMORY
ERR_FAILURE
Example
To perform feed cut operation:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addCut(Builder.CUT_FEED);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
82
Set value
Builder.CUT_NO_FEED
Builder.CUT_FEED
Builder.CUT_RESERVE
Builder.PARAM_DEFAULT
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
Description
Cut without feeding
(The paper is cut without being fed.)
Feed cut
(The paper is fed to the cut position and then is cut.)
Cut reservation
(Printing continues until the cut position is reached, at
which the paper is cut.)
Feed cut
(The paper is fed to the cut position and then is cut.)
Description
)