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);