![Citizen CL-E300 Скачать руководство пользователя страница 85](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002085.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
85
2.3.21 embedRawDesignCommand method
Syntax
int embedRawDesignCommand (byte[] data)
Parameters
Parameter
[IN/OUT] Description
Setting range
data
[IN]
Design command
Data of binary.
Description
Embeds raw printer commands to the label design. This allows adding raw label format commands
individually.
The SendData method in the LabelPrinter class requires complete label commands (both system level
commands and label format commands).
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See "
" for the error
codes.
Example
To add a box command,
1X1100002000100b0300025001000100:
byte[] hexdata = new byte[] {
0x31, 0x58, 0x31, 0x31, 0x30, 0x30, 0x30, 0x30, 0x32, 0x30,
0x30, 0x30, 0x31, 0x30, 0x30, 0x62, 0x30, 0x33, 0x30, 0x30,
0x30, 0x32, 0x35, 0x30, 0x30, 0x31, 0x30, 0x30, 0x30, 0x31,
0x30, 0x30, 0x0D, 0x0A };
design.embedRawDesignCommand(hexdata);