ScanEnable
This command enables or disables the user’s ability to scan a barcode. This command applies only for a subset of Intermec and Motorola handheld devices. One example might be to disable the scanner just before displaying a message box so that additional scans do not accidently acknowledge the message box and the user is unaware there was an error causing future scans to fail as well.
The ScanEnable function also enables barcode scanning using the device's camera.
Group: Device Extensions
Syntax: Device.ScanEnable(bScanOn)
bScanOn (Boolean) when set to True enables the laser scanner
Example:
Device.ScanEnable(True)