Embedrawdesigncommand Method - Citizen CL-S700 Programming Manual

Android label print sdk
Hide thumbs Also See for CL-S700:
Table of Contents

Advertisement

2.3.21 embedRawDesignCommand method

Syntax
int embedRawDesignCommand (byte[] data)
Parameters
Parameter
data
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
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);
[IN/OUT] Description
[IN]
Design command
CITIZEN Android Label Print SDK — Programming Manual
Setting range
Data of binary.
85
"2.1 Return
value" for the error

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents