Drawaztec Method - Citizen CL-S700 Programming Manual

Android label print sdk
Hide thumbs Also See for CL-S700:
Table of Contents

Advertisement

2.3.12 drawAztec method

Syntax
int drawAztec (String data, int encoding, int rotation, int exp, int ECLevel, int x, int y)
Parameters
Parameter [IN/OUT] Description
data
[IN]
encoding
[IN]
rotation
[IN]
exp
[IN]
ECLevel
[IN]
x
[IN]
y
[IN]
Description
Draws the Aztec barcode with specifying options such as character encoding, rotation, magnification,
EC level and coordinates.
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See
codes.
Example
design.drawAztec("0123456789",
LabelConst.CLS_ENC_CDPG_US_ASCII,
LabelConst.CLS_RT_NORMAL, 10,
LabelConst.CLS_AXTEC_EC_LEVEL_000, 0, 0);
String data
Character encoding
Direction of rotation
Magnification
Error correction level
X-coordinate
Y -coordinate
75
CITIZEN Android Label Print SDK — Programming Manual
Setting range
* The characters available with the specified
encoding.
See #9 in
"3.3.Predefined
CLS_RT_NORMAL: No rotation
CLS_RT_RIGHT90: Rotate CW 90
CLS_RT_ROTATE180: Rotate CW 180
CLS_RT_LEFT90: Rotate CCW 90
1-15
CLS_AXTEC_EC_LEVEL_000:
Level 0 ( Error correction ratio 23%)
0000-9999
* The origin is at bottom-left.(0, 0)
"2.1 Return
Constants."
value" for the error

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents