2.3.8 drawMaxiCode method
Syntax
int drawMaxiCode (String[] data, int rotation, int x, int y)
Parameters
CLS_RT_NORMAL: No rotation
CLS_RT_RIGHT90: Rotate CW 90
CLS_RT_ROTATE180: Rotate CW 180
CLS_RT_LEFT90: Rotate CCW 90
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 "2.1 Return value" for the error
codes.
Example
String[] data = new String[] {"90501", "6282", "840", "001", "1Z00004951"};
design.drawMaxiCode(data, LabelConst.CLS_RT_NORMAL, 100, 0);