I have a PoS device which is created by me. Now I want to connect my device to PoS computer. For that as I have to write my own jPOS service.
I searched for a sample or tutorial for days, but I couldn't find any.
How can I achieve this?
Add this jar file into your project and create a new class to implement the service. For example:public class MyLineDisplay implements LineDisplay114 and implement the functions you will use.
Export the service to be a jar file for developing JavaPOS application or you can just use Postest/Postest2 to test device service.
Create a jpos.xml file to write down the information of your device service for device control to connect to the device service. Postest/Postest2 also include jpos.xml and you can refer to it.
public class MyLineDisplay implements LineDisplay114
and implement the functions you will use.