Configuring the Drawer
| Configuration files |
|
To configure a drawer, proceed as follows:
- Enable the drawer in the configuration file hal.properties:
DeviceEntryTypes.WN_CD1_PORT.id=WN_CD1_PORT DeviceEntryTypes.WN_CD1_PORT.deviceCategory=CASH_DRAWER DeviceEntryTypes.WN_CD1_PORT.enabled=true DeviceEntryTypes.WN_CD1_PORT.active=true DeviceEntryTypes.WN_CD1_PORT.className=com.gk_software.pos.hal.device.cash_drawer.JPosCashDrawer - Set the drawer as the default drawer:
DeviceMappingEntryTypes.DefaultCashDrawer.id=DefaultCashDrawer DeviceMappingEntryTypes.DefaultCashDrawer.deviceCategory=CASH_DRAWER DeviceMappingEntryTypes.DefaultCashDrawer.mappedTo=WN_CD1_PORT
Note:
A corresponding entry must exist in the file jpos.xml. The logicalName corresponds to the id
of the drawer entry resulting from the file hal.properties.