Drawtextdlfont Method - Citizen CL-S700 Programming Manual

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

Advertisement

2.3.3 drawTextDLFont method

Syntax
int drawTextDLFont (String data, int encoding,
Parameters
Parameter
data
encoding
fontID
rotation
hexp
vexp
point
x
y
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
String fontID, int rotation, int hexp, int vexp, int point, int x, int y)
[IN/OUT] Description
[IN]
String data
[IN]
Character encoding
[IN]
Font ID stored in the printer
[IN]
Direction of rotation
[IN]
Horizontal magnification
[IN]
Vertical magnification
[IN]
Font size
[IN]
X-coordinate
[IN]
Y -coordinate
CITIZEN Android Label Print SDK — Programming Manual
Setting range
* Unsupported characters will be
replaced with blank text.
See
"3.3.Predefined
Numeric characters
- Bitmap font
Alphanumeric characters
- TrueType font
CLS_RT_NORMAL: No rotation
CLS_RT_RIGHT90: Rotate CW 90
CLS_RT_ROTATE180: Rotate CW 180
CLS_RT_LEFT90: Rotate CCW 90
1 - 24
1 - 24
001 - 999
0000 - 9999
* The origin is at bottom-left.(0, 0)
59
Constants."

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents