100
CITIZEN UWP POS Print SDK - Programming Manual
2019/12/24 13:26:33
-------------------------------------------------------
2019/12/24 13:26:33.706 8028 008 METHOD result DisplayTextAsync() -> Success(0)
*
When this SDK works with logging, it performs uncomfortably because a log file will be updated
at every method and accessing properties
.
*
Because of the following reasons or else, log data will not be stored without any notification
.
- A folder where is not under the local folder is specified.
- A folder or file without permission is specified.
- Write-protected log file is already existing.
- Another program (such as a text editor) is using (locking) the log file.
- There is not enough space to store log data in the device.
3.4.2. List of Constants Predefined
No Type
Name
Data
type
Value
Description
1
Result/Error
CDP_SUCCESS
int
0 Successfully completed
CDP_E_CONNECTED
int
1001 Already connected
CDP_E_DISCONNECT
int
1002 Not connected
CDP_E_NOTCONNECT
int
1003 Failed to connect
CDP_E_CONNECT_OFFLINE
int
1005 Failed printer status
CDP_E_ILLEGAL
int
1101 Unsupported or invalid parameter
CDP_E_OFFLINE
int
1102 Off-line
CDP_E_FAILURE
int
1104 Process failure
2
Interface to
connect
CDP_PORT_WiFi
int
0 Network
CMP_PORT_Bluetooth
int
1 Bluetooth
3
Area to clear
CDP_AREA_ALL
int
0
Entire area
CDP_AREA_CURSORLINE
int
1
Cursor line
4
Display mode
CDP_OVERWRITE
int
1 Overwrite mode
CDP_VERTICALSCROLL
int
2 Vertical scroll mode
CDP_HORIZONTALSCROLL
int
3 Horizontal scroll mode
5
Cursor type
CDP_TYPE_NONE
int
0 Hide cursor
CDP_TYPE_UNDERLINE
int
1 Display cursor