![Citizen CL-E300 Скачать руководство пользователя страница 66](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002066.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
66
2.3.7 drawBarCode method
Syntax
int drawBarCode (String data, int symbology,
int rotation, int thick, int narrow, int height, int x, int y,int showText)
Parameters
Parameter [IN/OUT] Description
Setting range
data
[IN]
String data
ASCII code character string.
symbology [IN]
Barcode type
CLS_BCS_CODE39
:
Code 3 of 9
CLS_BCS_UPCA
:
UPC-A
CLS_BCS_UPCE
:
UPC-E
CLS_BCS_INTERLEAVED25
:
Interleaved 2 of
5
CLS_BCS_CODE128
:
Code 128
CLS_BCS_EAN13
:
EAN-13(JAN-13)
CLS_BCS_EAN8
:
EAN-8(JAN-8)
CLS_BCS_HIBC
:
HIBC
CLS_BCS_CODABAR
:
CODABAR(NW-7)
CLS_BCS_INT25
:
Int 2 of 5
CLS_BCS_PLESSEY
:
Plessey
CLS_BCS_CASECODE
:
CASE CODE
CLS_BCS_UPC2DIG
:
UPC 2DIG ADD
CLS_BCS_UPC5DIG
:
UPC 5DIG ADD
CLS_BCS_CODE93
:
Code93
CLS_BCS_ITF14
:
ITF-14
CLS_BCS_ZIP
:
ZIP
CLS_BCS_ITF16
:
IFT-16
CLS_BCS_UCCEAN128
:
UCC/EAN-128
CLS_BCS_INDUSTRIAL25
:
Industrial 2 of 5
CLS_BCS_UCCEAN128KMART
:
UCC/EAN-128(for K-MART)
CLS_BCS_COOP25
:
COOP 2 of 5
CLS_BCS_UCCEAN128RANDOMWEIGHT
:
UCC/EAN-128 Random Weight
CLS_BCS_TELEPEN
:
Telepen
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
thick
[IN]
Thick bar width
1-24
narrow
[IN]
Narrow bar width
1-24
height
[IN]
Height of barcode
001-999
x
[IN]
X-coordinate
0000-9999
* The origin is at bottom-left.(0, 0)
y
[IN]
Y
-coordinate
showText
[IN]
Human readable text
CLS_BCS_TEXT_HIDE
:
Hide
CLS_BCS_TEXT_SHOW
:
Show