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
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 "2.1 Return value" 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);

Table of Contents

Other manuals for Citizen CL-S521

Related product manuals