Configuring the Scanner

Configuration files
  • ..\parameter\client\hal.properties
  • ..\parameter\client\jpos.xml

To configure scanner, proceed as follows:

  1. Enable the scanner in the configuration file hal.properties:
    DeviceEntryTypes.Honeywell_COM.id=Honeywell_COM
    DeviceEntryTypes.Honeywell_COM.deviceCategory=SCANNER
    DeviceEntryTypes.Honeywell_COM.enabled=true
    DeviceEntryTypes.Honeywell_COM.active=true
     DeviceEntryTypes.Honeywell_COM.className=com.gk_software.pos.hal.device.scanner.JPosScanner
  2. Configure the port in the file jpos.xml, if necessary:
    <JposEntry logicalName="Honeywell_COM">
    ...
    <prop name="portName" type="String" value="COM7"/>
    ...
    </JposEntry>
Note:

A corresponding entry must exist in the file jpos.xml. The logicalName corresponds to the id of the scanner entry resulting from the file hal.properties.