Epson JavaPOS ADK - Version 1.13
Support for version 1.13 has been included in GK/Retail. Separate installation of Epson JavaPOS is required anyway because internal services are installed with it.
Installation
After executing the installation file, confirm the first windows to appear. Then, enter the Java version being used
Generally, you can confirm the path proposed.
Then, select the user-defined installation. Under Choose folder location, go to Folder Location for JavaPOS Service and modify the path to the JavaPOS directory.
For further information on the installation process, refer to the file InstallManual.pdf located in the directory mentioned above.
Configuration in GK/Retail
An adjustment to the paths configured during JavaPOS installation is not necessary.
Device Drivers
Device drivers for Epson hardware must be created with the SetupPOS tool because an additional configuration file pcs.properties is written to c:\ProgramData\EPSON\portcommunicationservice when saving the driver file.
The tool is called from the Start menu via or by entering the following on the command line: c:\Program Files (x86)\Epson\JavaPOS\SetupPOS\SetupPOS.exe
Use the button Add... to create new devices.
Device configuration is set up in the subsequent windows.
Once all required devices have been configured, create an XML file that includes all drivers. Then, copy the drivers to the template file jpos.xml.
<JposEntries>
<!-Saved by JavaPOS jpos.config/loader (JCL) version 2.2.0 on 28.02.12 14:39->
<JposEntry logicalName="EPSON_TM_T88IV_WLAN">
<creation factoryClass="jp.co.epson.uposcommon.util.EpsonJposServiceInstanceFactory" serviceClass="jp.co.epson.upos.core.v1_13_0001.pntr.T88IVService"/>
<vendor name="SEIKO EPSON" url="http://www.epson.com"/>
<jpos category="POSPrinter" version="1.13"/>
<product description="EPSON TM-T88IV Printer Device Service" name="EPSON Services for JavaPOS(TM) Standard" url="http://www.epson.com"/>
<!-Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 )->
<prop name="Halftone" type="String" value="0"/>
<prop name="PhysicalPrinterName" type="String" value="TM-T88IV"/>
<prop name="NVRAMControlLevel" type="String" value="1"/>
<prop name="LogicalPortName" type="String" value="ESDPRT001"/>
<prop name="Stamp" type="String" value="0"/>
<prop name="OutputCompleteType" type="String" value="2"/>
<prop name="StatusThreadInterval" type="String" value="500"/>
<prop name="OutputTimeout" type="String" value="2000"/>
<prop name="PortType" type="String" value="5"/>
<prop name="OutputBufferSize" type="String" value="32768"/>
<prop name="UsedNVRAM" type="String" value="0"/>
<prop name="FirmRecordLog" type="String" value="1"/>
<prop name="UdpRetryIntervalTime" type="String" value="50"/>
<prop name="ReceiveTimeout" type="String" value="1000"/>
<prop name="SlpReverseEject" type="String" value="0"/>
<prop name="PortName" type="String" value="192.168.100.52"/>
<prop name="OfflineRetryIntervalTime" type="String" value="100"/>
<prop name="Upos.USB_Serial" type="String" value="false"/>
<prop name="DefaultSlpClampTime" type="String" value="0"/>
<prop name="epson.trace.file" type="String" value="trace.log"/>
<prop name="AsyncProcessingSize" type="String" value="2"/>
<prop name="RecCharactersPerLine" type="String" value="42"/>
<prop name="KanjiTwoWaysPrint" type="String" value="0"/>
<prop name="PulseStep" type="String" value="100"/>
<prop name="PortInterfaceName" type="String" value="Wireless"/>
<prop name="U375Compatible" type="String" value="0"/>
<prop name="preCutterFunction" type="String" value="0"/>
<prop name="epson.tracing" type="String" value="false"/>
<prop name="epson.trace.max.size" type="String" value="1000"/>
<prop name="RecPaperSize" type="String" value="80"/>
<prop name="DeviceDesc" type="String" value="EPSON TM-T88IV POSPrinter"/>
<prop name="PageModeExt" type="String" value="0"/>
<prop name="RecLineSpacing" type="String" value="30"/>
<prop name="SupportStatistics" type="String" value="1"/>
<prop name="OutputErrorOption" type="String" value="0"/>
<prop name="FirmProgressRange" type="String" value="10"/>
<prop name="UdpReceiveTimeout" type="String" value="1000"/>
<prop name="SupportFirmware" type="String" value="0"/>
<prop name="DeviceID" type="String" value="32"/>
<prop name="InputTimeout" type="String" value="1000"/>
<prop name="AutoPowerOff" type="String" value="0"/>
<prop name="SlpMoreColumns" type="String" value="0"/>
<prop name="RecPaperType" type="String" value="0"/>
<prop name="MemorySwitch" type="String" value="0"/>
<prop name="ReadThreadInterval" type="String" value="-1"/>
<prop name="QueuingOfflineTimeout" type="String" value="1000"/>
<prop name="TwoColor" type="String" value="0"/>
<prop name="InitializeThreadTime" type="String" value="1000"/>
<prop name="TwoByteCharacter" type="String" value="0"/>
<prop name="UdpTransmitTimeout" type="String" value="1000"/>
<prop name="FirmLogFileSize" type="String" value="1000"/>
<prop name="Peeler" type="String" value="0"/>
<prop name="DefaultCodePage" type="String" value="997"/>
<prop name="ConfigurationFile" type="String" value="epson/xml/Setting/TM-T88IVSetting.xml"/>
<prop name="DeviceType" type="String" value="1"/>
<prop name="Custom1Color" type="String" value="0xFF0000"/>
<prop name="preEndorseFunction" type="String" value="0"/>
<prop name="Upos.Spec_c" type="String" value="false"/>
<prop name="UdpRetryCount" type="String" value="2"/>
<prop name="LogicalPortInterfaceName" type="String" value="EPuras"/>
<prop name="FirmNotifyAllProgressEvents" type="String" value="0"/>
<prop name="InitializeResponseTimeout" type="String" value="5000"/>
<prop name="ReceiveRetryTime" type="String" value="25"/>
<prop name="UsedInterCharacterSet" type="String" value="0"/>
<prop name="RecMoreColumns" type="String" value="0"/>
<prop name="PrinterTransmitTimeout" type="String" value="30000"/>
<prop name="TcpPort" type="String" value="9100"/>
<prop name="WriteThreadInterval" type="String" value="-1"/>
<prop name="UdpPort" type="String" value="3289"/>
<prop name="preORCBFunction" type="String" value="0"/>
<prop name="RecNearEndSensor" type="String" value="1"/>
<prop name="LogObject" type="String" value=""/>
<prop name="Cutter" type="String" value="1"/>
<prop name="PhysicalDevice" type="String" value="TM-T88IV"/>
<prop name="FirmLogFileName" type="String" value="Firmware.log"/>
<prop name="UsedPeeler" type="String" value="0"/>
<prop name="InputBufferSize" type="String" value="4096"/>
<prop name="TransmitTimeout" type="String" value="7000"/>
<prop name="OfflineCount" type="String" value="1"/>
<prop name="EPurasSupport" type="String" value="TRUE"/>
<prop name="TransmitRetryTime" type="String" value="100"/>
<prop name="DirectIOEventTimeout" type="String" value="7000"/>
</JposEntry>Finally, the assignment to the POS Client device configuration must be made. The configuration is set in the file hal.properties :
Test tools
CheckHealth
The test tool can be called via Windows Start menu or by calling CheckHealth.bat in the directory C:\Programs\Epson\JavaPOS\CheckHealth\.
The file jpos.xml, which includes the device drivers, must exist in the defined directory.
POSTest – The JavaPOS Device Test v1.10.0
POSTest is a universal tool for testing JavaPOS devices.
In order to use the tool, it is recommended to copy the complete folder POSTest to drive C:\ of the system being used for device testing. In addition, copy the file jpos.xml with the required drivers to C:\POSTest\jpos.xml.
To start the tool, depending on the hardware variant, e.g. use
- IBM_EPSON1116_POSTest
POSTest is described in the chapter .