Drawmaxicode Method - Citizen CL-S700 Programming Manual

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

Advertisement

2.3.8 drawMaxiCode method

Syntax
int drawMaxiCode (String[] data, int rotation, int x, int y)
Parameters
Parameter
data
rotation
x
y
Description
Draws the UPS MaxiCode barcode with specifying options such as rotation and coordinates.
The following information are required in the data parameter in order as below:
1) 5-digit - Zip code
2) 4-digit -+4 Zip code
3) 3-digit – Country Code
4) 3-digit - Class of Service
5) Up to 84 digits other information
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See
codes.
Example
String[] data = new String[] {"90501", "6282", "840", "001", "1Z00004951"};
design.drawMaxiCode(data, LabelConst.CLS_RT_NORMAL, 100, 0);
[IN/OUT] Description
[IN]
String data
[IN]
Direction of rotation
[IN]
X-coordinate
[IN]
Y -coordinate
CITIZEN Android Label Print SDK — Programming Manual
Setting range
ASCII code character string array
CLS_RT_NORMAL: No rotation
CLS_RT_RIGHT90: Rotate CW 90
CLS_RT_ROTATE180: Rotate CW 180
CLS_RT_LEFT90: Rotate CCW 90
0000-9999
* The origin is at bottom-left.(0, 0)
71
"2.1 Return
value" for the error

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents