addSymbol
Adds 2D-Code printing to the command buffer.
Syntax
public void addSymbol
(String data, int type, int level, int width,
int height, int size)
throws EposException
Parameter
data :
Specifies 2D-Code data as a character string.
Standard PDF417
Truncated PDF417
QR Code Model 1
QR Code Model 2
2D-Code type
Chapter 4 API Reference
Description
Convert the character string to the string in UTF-
8, apply the escape sequence, and then
encode the string.
The data area can contain up to 928 code
words in a maximum of 90 rows, each of which
can contain up to 30 code words.
Convert the character string to the string in Shift-
JIS, apply the escape sequence, and then
encode the string based on the data type as
shown below.
Number:
0 to 9
Alphanumeric character:
0 to 9, A to Z, space, $, %, *, +, -, ., /, :
Kanji character: Shift-JIS value
8-bit, byte data:
0x00 to 0xff
4
65