Addcommand - Epson TM-T88V User Manual

Epos-print sdk for android
Hide thumbs Also See for TM-T88V:
Table of Contents

Advertisement

addCommand

Adds commands to the command buffer. Sends ESC/POS commands.
ESC/POS commands are not made public. For details, contact the dealer.
Syntax
public void addCommand(byte[] data) throws EposException
Parameter
 data :
Specifies ESC/POS command as a character string.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_PARAM
ERR_MEMORY
ERR_FAILURE
Example
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
byte[] data = null;
///Process///
builder.addCommand(data);
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
86
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70Tm-p60Tm-u220

Table of Contents