EasyManua.ls Logo

Citizen CL-S521

Citizen CL-S521
95 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...
CITIZEN Android Label Print SDK Programming Manual
72
2.3.9 drawPDF417 method
Syntax
int drawPDF417 (String data, int encoding, int rotation, int exp, int ECLevel, int x, int y)
Parameters
Parameter
[IN/OUT]
Description
Setting range
data
[IN]
String data
* The characters available with the
specified encoding.
encoding
[IN]
Character encoding
See "3.3.Predefined Constants."
rotation
[IN]
Direction of rotation
CLS_RT_NORMAL: No rotation
CLS_RT_RIGHT90: Rotate CW 90
CLS_RT_ROTATE180: Rotate CW 180
CLS_RT_LEFT90: Rotate CCW 90
exp
[IN]
Magnification
1-5
ECLevel
[IN]
Error correction level
CLS_PDF417_EC_LEVEL_0 Level 0
CLS_PDF417_EC_LEVEL_1 Level 1
CLS_PDF417_EC_LEVEL_2 Level 2
CLS_PDF417_EC_LEVEL_3 Level 3
CLS_PDF417_EC_LEVEL_4 Level 4
CLS_PDF417_EC_LEVEL_5 Level 5
CLS_PDF417_EC_LEVEL_6 Level 6
CLS_PDF417_EC_LEVEL_7 Level 7
CLS_PDF417_EC_LEVEL_8 Level 8
x
[IN]
X-coordinate
0000-9999
* The origin is at bottom-left.(0, 0)
y
[IN]
Y-coordinate
Description
Draws the PDF417 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 "2.1 Return value" for the error
codes.
Example
design.drawPDF417("0123456789",
LabelConst.CLS_ENC_CDPG_US_ASCII,
LabelConst.CLS_RT_NORMAL, 3,
LabelConst.CLS_PDF417_EC_LEVEL_0, 0, 0);

Table of Contents

Other manuals for Citizen CL-S521

Related product manuals