GetScannerEnable

Retrieves the scanner enable status.

Syntax

BSTR GetScannerEnable ()

Parameters

None.

Return Value

A BSTR value indicating the result of the operation. This string contains a four-digit status code returned by the Data Collection Web API, followed by the scanner enable status (0 for off and 1 for on).

The following status codes can be returned by this function:

0000: Success.

0001: General failure.

0006: Connection to reader not opened.

For example, in this result string:

0000;1

0000 is the status code returned by the Data Collection Web API and 1 indicates that the scanner is enabled.

More Information

Data Collection Web API Reference