EasyManua.ls Logo

Citizen CL-S521

Citizen CL-S521
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
Loading...
CITIZEN Android Label Print SDK Programming Manual
58
Description
Draws characters by using a printer device font with specifying options such as rotation, magnification,
size and coordinates.
Available font sizes depend on typeface.
Kanji: 16, 24, 32, 48 *dots
Smooth font: 4, 5, 6, 8, 10, 12, 14, 18, 24, 30, 36, 48
Other: Fixed sizes depend on typeface.
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See "2.1 Return value" for the error
codes.
Example
// Locale:OTHER
design.drawTextPtrFont("drawTextPtrFont",
LabelConst.CLS_LOCALE_OTHER, LabelConst.CLS_PRT_FNT_TRIUMVIRATE,
LabelConst.CLS_RT_NORMAL, 1, 1, LabelConst.CLS_PRT_FNT_SIZE_10,
100, 100);
// Locale:JP
design.drawTextPtrFont("テキスト印刷(プリンタフォント)",
LabelConst.CLS_LOCALE_JP, LabelConst.CLS_PRT_FNT_KANJI,
LabelConst.CLS_RT_NORMAL, 1, 1,
LabelConst.CLS_PRT_FNT_KANJI_SIZE_16, 100, 300);
// Locale:CN
design.drawTextPtrFont("测试打印", LabelConst.CLS_LOCALE_CN,
LabelConst.CLS_PRT_FNT_KANJI, LabelConst.CLS_RT_NORMAL, 1, 1,
LabelConst.CLS_PRT_FNT_KANJI_SIZE_16, 100, 300);
// Locale:KR
design.drawTextPtrFont("테스트 인쇄", LabelConst.CLS_LOCALE_KR,
LabelConst.CLS_PRT_FNT_KANJI, LabelConst.CLS_RT_NORMAL, 1, 1,
LabelConst.CLS_PRT_FNT_KANJI_SIZE_16, 100, 300);

Table of Contents

Other manuals for Citizen CL-S521

Related product manuals