EasyManua.ls Logo

Citizen CL-E321

Citizen CL-E321
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
18
Return value
Returns CLS_SUCCESS (0) on success, an error code otherwise. See below for the error codes.
"2.1 Return value" describes all error codes.
Error code
Description
CLS_E_CONNECTED (1001)
The printer is already connected.
CLS_E_NOTCONNECT (1003)
Failed to connec to the printer.
(1) The printer is not connected.
(2) The printer is not turned on.
(3) The port handle could not be obtained.
CLS_E_CONNECT_NOTFOUND (1004)
Failed to confirm if the printer is a supported model.
(1) The printer model is not supported.
CLS_E_NOCONTEXT (1006)
No context is specified.
CLS_E_BT_DISABLE (1007)
The Bluetooth device setting is invalid.
CLS_E_BT_NODEVICE (1008)
The Bluetooth device is not found.
Example
printer.connect(LabelConst.CLS_PORT_WiFi, "192.168.129.130");
printer.connect(LabelConst.CLS_PORT_Bluetooth, "");
UsbDevice usbDevice = null;
printer.connect(LabelConst.CLS_PORT_USB, usbDevice);

Table of Contents

Other manuals for Citizen CL-E321

Related product manuals