To print an image 256 dots wide and 256 dots high in page mode:
try {
Bitmap imageData = null;
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
///Process///
builder.addImage(imageData, 0, 0, 256, 256, Builder.PARAM_DEFAULT);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
try {
Bitmap imageData = null;
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
///Process///
builder.addPageBegin();
builder.addPagePosition(0, 255);
builder.addImage(imageData, 0, 0, 256, 256, Builder.PARAM_DEFAULT);
builder.addPageEnd();
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}