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