111
CITIZEN UWP POS Print SDK - Programming Manual
4.3.9. StatusUpdate event
Syntax
void StatusUpdateEventHandler(int status)
Parameter
The meaning and the setting range of the parameters are as follows.
Value
[IN/OUT]
Meaning
Setting range
Status
[IN]
Status information
CSC_SUE_POWER_ONLINE(2001):
Device is ready
CSC_SUE_POWER_OFF(2002):
Connection fault or not connected
to the printer
Description
This event notifies update status of the device.
The event handler receives an int type argument indicating the status as information on the status
change of the device.
Example
// Status event definition.
void OnStatusUpdateEvent(int status)
{
Debug.WriteLine("Status update call back: " + status);
}
// Add event handler.
scanner.StatusUpdat=
new StatusUpdateEventHandler(OnStatusUpdateEvent);