EasyManua.ls Logo

BIXOLON SLP-DL413 - 2 Constants; Result Codes

BIXOLON SLP-DL413
64 pages
Print Icon
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...
Label Printer SDK for iOS
Rev. 1.04
- 9 -
2. Constants
Constants used in the provided SDK are defined in the “LabelPrinterSDK_Defines.h” file.
2-1 Result Codes
Results Codes are the values returned from various methods, which indicate error
conditions of the corresponding method.
typedef enum{
_SDK_RESULT_SUCCESS = 0x0000,
_SDK_RESULT_FAIL = 0xF000,
_SDK_RESULT_FAIL_NOT_SUPPORT_FUNCTION,
_SDK_RESULT_FAIL_NO_OPEN ,
_SDK_RESULT_FAIL_OPEN_ALREADY ,
_SDK_RESULT_FAIL_NO_CONNECT ,
_SDK_RESULT_FAIL_CONNECT_ALREADY ,
_SDK_RESULT_FAIL_WRITE_ERROR ,
_SDK_RESULT_FAIL_READ_ERROR ,
_SDK_RESULT_FAIL_INVALID_PARAMETER ,
}__SDK_RESULT_CODES_;
Description of each constant is as follows.
Code
Value
Description
_SDK_RESULT_SUCCESS
0X0000
Success
_SDK_RESULT_FAIL
0XF000
Fail
_SDK_RESULT_FAIL_NOT_SUPPORT_FUNCTION
0XF001
Not supported
_SDK_RESULT_FAIL_NO_OPEN
0XF002
SDK is not open
_SDK_RESULT_FAIL_OPEN_ALREADY
0XF003
SDK is already open
_SDK_RESULT_FAIL_NO_CONNECT
0XF004
Printer is not connected
_SDK_RESULT_FAIL_CONNECT_ALREADY
0XF005
Printer is already
connected
_SDK_RESULT_FAIL_WRITE_ERROR
0XF006
Failed to send data
_SDK_RESULT_FAIL_READ_ERROR
0XF007
Failed to receive data
_SDK_RESULT_FAIL_INVALID_PARAMETER
0XF008
Invalid parameter

Table of Contents

Related product manuals