// load the scanner
if (devices.get("Scanner") != null) {
String scannerDevice = ((ContainerConfig.Container.Property) devices.get("Scanner")).value;
if (UtilValidate.isNotEmpty(scannerDevice) && !"[NOT IMPLEMENTED]".equals(scannerDevice)) {
scanner = new Scanner(scannerDevice, -1);
try {
scanner.open();
} catch (jpos.JposException jpe) {
Debug.logError(jpe, "JPOS Exception", module);
throw new GeneralException(jpe.getOrigException());