EasyManua.ls Logo

Epson TM T88V - Page 69

Epson TM T88V
122 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
69
Chapter 4 API Reference
4
size : Specifies the 2D-Code maximum size.
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Example
Set value Description
Integer from 0 to 65535 2D-Code maximum size
Builder.PARAM_UNSPECIFIED Retains the current setting.
QR Code and MaxiCode are ignored.
Error status Description
ERR_PARAM Invalid parameter was passed.
ERR_MEMORY Could not allocate memory.
ERR_FAILURE An unspecified error occurred.
To print 2D-Code:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addSymbol("ABCDE", Builder.SYMBOL_PDF417_STANDARD,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED);
builder.addSymbol("ABCDE", Builder.SYMBOL_QRCODE_MODEL_2,
Builder.LEVEL_Q, Builder.PARAM_UNSPECIFIED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED);
builder.addSymbol("908063840\\x1d850\\x1d001\\x1d\\x04",
Builder.SYMBOL_MAXICODE_MODE_2, Builder.PARAM_UNSPECIFIED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED,
Builder.PARAM_UNSPECIFIED);
builder.addSymbol("0201234567890", Builder.SYMBOL_GS1_DATABAR_STACKED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED);
builder.addSymbol("0201234567890",
Builder.SYMBOL_GS1_DATABAR_STACKED_OMNIDIRECTIONAL,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED);
builder.addSymbol("(01)02012345678903",
Builder.SYMBOL_GS1_DATABAR_EXPANDED_STACKED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED,
Builder.PARAM_UNSPECIFIED, Builder.PARAM_UNSPECIFIED);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}

Table of Contents

Other manuals for Epson TM T88V

Related product manuals