During the installation there was a step to make a XML file (jpos.xml), We just selected the "use existing file" and also we could not found that XML file (jpos.xml) file in the installation folders. We didn't understand how important that file for connecting POS printer to our program, and also our program does not have any errors.
Hi! I'm working with Epson TM-T90 but I think that the procedure is the same.
You installed Epson javaPOS ADK.
Then, have you run [yourpath]/SetupPOS/SetupPOS.exe? This software build "jpos.xml" for you (you must click "save" for store jpos.xml file).
Copy this file in your project.
That file specify which class implement your PosPrinterService class.
In my case:
When you exec printer.open("printername"), jpos read jpos.xml and search "printername" entry. When it found the entry, it use factoryClass and serviceClass for implement PosPrinter class.
My software find the printer and read some information from it, but when i try to print something i get the error "device is uninitialized" .
If you resolve your problem (and maybe also my problem), please alert here .