EasyManuals Logo

Citizen CL-E321 Programming Manual

Citizen CL-E321
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
Page #61 background imageLoading...
Page #61 background image
CITIZEN Android Label Print SDK Programming Manual
61
2.3.4 drawTextLocalFont method
Syntax
1) int drawTextLocalFont (String data, Typeface fontType, int rotation, int hRatio, int vRatio,
int point, int style, int x, int y)
2) int drawTextLocalFont (String data, Typeface fontType, int rotation, int hRatio, int vRatio,
int point, int style, int x, int y, int resolution)
3) int drawTextLocalFont (String data, Typeface fontType, int rotation, int hRatio, int vRatio,
int point, int style, int x, int y, int resolution, int measurementUnit)
Parameters
Parameter
[IN/OUT]
Description
Setting range
data
[IN]
String data
fontType
[IN]
Font type
Font type
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
hRatio
[IN]
Horizontal ratio [%]
1 - 1000
vRatio
[IN]
Vertical ratio [%]
1 - 1000
point
[IN]
Font size
style
[IN]
Font style
CLS_FNT_DEFAULT None
CLS_FNT_BOLD Bold
CLS_FNT_REVERSE Reverse
CLS_FNT_UNDERLINE Underline
CLS_FNT_ITALIC Italic
CLS_FNT_STRIKEOUT Strikethrough
* Use "|" to specify multiple options.
x
[IN]
X-coordinate
0000 9999
* The origin is at bottom-left.(0, 0)
y
[IN]
Y-coordinate
resolution
[IN]
Resolution [dpi]
CLS_PRT_RES_203(203dpi)
CLS_PRT_RES_300(300dpi)
* 203 dpi by default.
measurementUnit
[IN]
Printer Metric / Inch
setting
CLS_UNIT_MILLI
CLS_UNIT_INCH
* CLS_UNIT_INCH by default.
Description
Draws characters by using a font installed in the computer, with specifying options such as rotation,
magnification, size and coordinates. What this method does internally is to generate a graphic image
based on the given parameters, to store the graphic image into the printer and to print the stored
graphic image. This doesn't check the file availability or validity. To print with the specified font
size, specify the resolution as same as the actual printer. When specifying image rotation, it is
necessary to specify the resolution and unit selection settings according to the printer for reference
position correction.
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See "2.1 Return value" for the error
codes.

Table of Contents

Other manuals for Citizen CL-E321

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Citizen CL-E321 and is the answer not in the manual?

Citizen CL-E321 Specifications

General IconGeneral
Print TechnologyThermal Transfer / Direct Thermal
Resolution203 dpi
Power Supply100-240V AC, 50/60 Hz
Max Print Width4.1 inches (104 mm)
Media SensorTransmissive and reflective sensor
InterfaceUSB, Serial (RS-232)
Media Width1.97 to 4.33 inches (50 to 110 mm)
Supported Barcode TypesCode 39, Code 128, ITF, Codabar, UPC-A, UPC-E, EAN-8, EAN-13, POSTNET
Supported Media TypesContinuous, Die-cut
Media Thickness0.0635 – 0.254 mm (2.5 - 10 mil)
Print SpeedUp to 8 inches per second

Related product manuals