Enabling services

Configuration files Mobile POS Client
  • ..\parameter\server\services.properties
  • pos-service\..\parameter\mpos\report.properties
  • pos-service\..\parameter\mpos\hal.properties

Pricing Service

  • ..\parameter\server\system.properties

Self-Scanning Service

  • ..\parameter\server\services.properties

Enabling the Pricing Service

The Pricing Service is disabled by default.

Enable the Pricing Service in the file system.properties :
psi-sap.enabled=true

Enabling the Self-Scanning Service

The Self-Scanning Service is disabled by default.

Enable the Self-Scanning Service in the file services.properties :
SelfScanningServiceConfig.enabled=true

Enabling the Mobile POS Service

The Mobile POS Service is disabled by default.

To enable the Mobile POS Service, proceed as follows:

  1. Enable the Mobile POS Service in the file services.properties :
    MobilePOSServiceConfig.enabled=true
  2. Enter the complete path to the report templates in the file report.properties .

    If using Linux, an entry looks as follows:

    ReportTemplateProviderConfig.templateDirectory=/usr/local/gkretail/pos-service/config/standard/parameter/mpos/reports

If using Windows, an entry looks as follows:

ReportTemplateProviderConfig.templateDirectory=d\:/gkretail/pos-service/config/standard/parameter/mpos/reports     

Printer Service for the Mobile POS Service

The network print service for Mobile POS Clients is set in the configuration file mpos\hal.properties . The prerequisite for this is that Mobile POS Service is enabled.

In the current version, only the printer EpsonT88VDT can be configured as the network printer.

To configure a print service for the Mobile POS Service, proceed as follows:

  1. Enable the printer in the configuration file hal.properties and configure the printer IP address in the network:
    PrinterConfigs.EpsonT88VDT.address=http://<IP-ADRESSE DES DRUCKERS>/cgi-bin/epos/service.cgi?devid=local_printer&timeout=10000
    PrinterConfigs.EpsonT88VDT.statusPollingInterval=2000
    PrinterConfigs.EpsonT88VDT.connectionTimeout=15000
    PrinterConfigs.EpsonT88VDT.useNVRamLogos=false
    PrinterConfigs.EpsonT88VDT.nvRamLogos.logo_bmp.key1=32
    PrinterConfigs.EpsonT88VDT.nvRamLogos.logo_bmp.key2=32
    PrinterConfigs.EpsonT88VDT.transactionalPrintout=false
    PrinterConfigs.EpsonT88VDT.claimTimeout=2000
    PrinterConfigs.EpsonT88VDT.freezeEventsOnOpen=true
    PrinterConfigs.EpsonT88VDT.debug=false
    PrinterConfigs.EpsonT88VDT.checkStatusOnStartup=false
  2. Set the printer as the default printer:
    DeviceMappingEntryTypes.DefaultPrinter.id=DefaultPrinter
     DeviceMappingEntryTypes.DefaultPrinter.deviceCategory=PRINTER
    DeviceMappingEntryTypes.DefaultPrinter.mappedTo=EpsonT88VDT