Configuring the MICR
| Configuration files |
|
To configure the MICR device, proceed as follows:
- Enable the MICR device in the configuration file hal.properties:
DeviceEntryTypes.MicChequeReader.id=MICR1 DeviceEntryTypes.MicChequeReader.descriptionKey=device.entry.virtual.micchequereader DeviceEntryTypes.MicChequeReader.description=Mic cheque reader DeviceEntryTypes.MicChequeReader.deviceCategory=MIC_CHEQUE_READER DeviceEntryTypes.MicChequeReader.enabled=true DeviceEntryTypes.MicChequeReader.active=true DeviceEntryTypes.MicChequeReader.className=com.gk_software.pos.hal.device.mic_cheque_reader.MicChequeReader - Set the MICR device as the default MICR.
DeviceMappingEntryTypes.DefaultMicChequeReader.id=DefaultMicChequeReader DeviceMappingEntryTypes.DefaultMicChequeReader.deviceCategory=MIC_CHEQUE_READER DeviceMappingEntryTypes.DefaultMicChequeReader.mappedTo=MICR1
Note:
A corresponding entry must exist in the file jpos.xml. The logicalName corresponds to the id
of the MICR entry resulting from the file hal.properties.
To print on a check, set the configuration in the file checkPaymentConfigs.properties as follows:
CheckPaymentConfigs.Default.useMICR=true
CheckPaymentConfigs.Default.printCheck=trueWhich information is printed on the check depends on the values set in the configuration file check_payment.xml.