![Citizen CL-E300 Programming Manual Download Page 59](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002059.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
59
2.3.3 drawTextDLFont method
Syntax
int drawTextDLFont (String data, int encoding,
String fontID, int rotation, int hexp, int vexp, int point, int x, int y)
Parameters
Parameter
[IN/OUT] Description
Setting range
data
[IN]
String data
*
Unsupported characters will be
replaced with blank text.
encoding
[IN]
Character encoding
See "
."
fontID
[IN]
Font ID stored in the printer
Numeric characters
- Bitmap font
Alphanumeric characters
- TrueType font
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
hexp
[IN]
Horizontal magnification
1 - 24
vexp
[IN]
Vertical magnification
1 - 24
point
[IN]
Font size
001 - 999
x
[IN]
X-coordinate
0000 - 9999
* The origin is at bottom-left.(0, 0)
y
[IN]
Y
-coordinate
Description
Draws characters by using a downloaded font with specifying options such as rotation, magnification,
size and coordinates.
In case of bitmap font, the driver shows two IDs. Use the smaller number of ID.
Set 800 in fontID