addPageEnd
Adds the end of page mode to the command buffer. The page mode process ends.
Use this API function with
Syntax
public void addPageEnd() throws EposException
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_MEMORY
ERR_FAILURE
Example
To print the characters "ABCDE" in page mode:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addPageBegin();
builder.addText("ABCDE");
builder.addPageEnd();
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
addPageBegin
(p.70).
Could not allocate memory.
An unspecified error occurred.
Chapter 4 API Reference
Description
4
71