28
CITIZEN UWP POS Print SDK - Programming Manual
2.3.
Library interfaces
The following are the interfaces of this SDK.
2.3.1. Return value
Methods to be described later return the value in the list below.
Return value
Description
CMP_SUCCESS (0)
The operation is success.
CMP_E_CONNECTED (1001)
The printer is already connected.
CMP_E_DISCONNECT (1002)
The printer is not connected.
CMP_E_NOTCONNECT (1003)
Failed connection to the printer.
CMP_E_CONNECT_NOTFOUND (1004)
Failed to check the support model after connecting to the device.
CMP_E_CONNECT_OFFLINE (1005)
Failed to check the printer status after connecting to the device.
CMP_E_ILLEGAL (1101)
Unsupported operation with the Device, or an invalid parameter value was
used.
CMP_E_OFFLINE (1102)
The printer is off-line.
CMP_E_NOEXIST (1103)
The file name does not exist.
CMP_E_FAILURE (1104)
The Service cannot perform the requested procedure.
CMP_E_TIMEOUT (1105)
The Service timed out waiting for a response from the printer.
CMP_EPTR_COVER_OPEN (1201)
The cover of the printer opens.
CMP_EPTR_REC_EMPTY (1202)
The printer is out of paper.
CMP_EPTR_BADFORMAT (1203)
The specified file is in an unsupported format.
CMP_EPTR_TOOBIG (1204)
The specified bitmap is either too big.