JPOS Programming for Epson TM-T88III printers

Hello,

I am developing a POS Application demo for the Epson TM-T88III printers for serial port communication and trying to print text or bit map images in java.

I have configured all the system and the deployed well with all the necessary jar files and jpos.xml file configured well with JCL editor for the epson printer.

While opening the logical device configured same in jpos.xml file it showing the error as :

jpos.JposException: Could not create an instance.

at jp.co.epson.upos.pntr.CommonPrinterService.createCommInstance(Unknown Source)

at jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source)

at jpos.BaseJposControl.open(Unknown Source)

at com.epicomm.pos.gui.POSReceiptPrinterPanel.openPrinter(POSReceiptPrinterPanel.java:382)

I am guessing some solutions on this but i am not sure on it :

1. There may be some configuration problem with jpos.xml file ?

2. The jpos.properties file (from jcl.jar) needs to be updated and deploy new updated jcl.jar ?

3. Any other jar files required for to create instance ?

4. Some system related problem ...?

While the printer is printing some text on serial port from the Epson Specific Tools.

Plese give me your views, comments, solutions on it.

Thanks in Advance,

Sachin Kulkarni

Software Engineer,

EpiComm Technologies.

[1399 byte] By [Sachin.Kulkarnia] at [2007-10-2 21:19:57]
# 1
Hi,Did you solve your problem? I have the same one.Leo
vannuccia at 2007-7-14 0:29:22 > top of Java-index,Java Essentials,Java Programming...
# 2
Hi I am using Tm-H6000III and getting same error.did you have any luch?Please share.Thanks
lchalasa at 2007-7-14 0:29:22 > top of Java-index,Java Essentials,Java Programming...
# 3

Hi,

I had the same problem but now it works fine. I'm not yet completely sure how I did it but here are the steps I took (as far as I remember):

- Uninstalling JavaPOS ADK 1.9.4

- After finding an Epson-related Windows service I realized that I had installed the Epson Advanced Printer Driver, so I uninstalled that, too (I guessed that its service might interfere with the jpos service)

- Reinstalling JavaPOS ADK 1.9.4. This time I carefully chose the JDK it should use (in my case j2dk1.4.2_11)

- Setting up the printer with SetupPOS

- Running CheckHealth.bat (at first it didn't work because the transmission speeds were set to different values)

- I'm developing with Eclipse so I copied some of the examples to my workspace and ran them (I had to choose the same JDK again). The simple stuff worked instantly, for the bitmaps to come out I needed to install Java Advanced Imaging (jai-1_1_2_01-lib-windows-i586.exe) and copy its JARs and DLLs to my JDK's and JRE's lib\ext directory.

Now I still have to figure out if the whole thing will work with a newer JDK, say Java5, because my Swing application looks terrible in J2SE.

Hope this helps,

Alex

kunea at 2007-7-14 0:29:22 > top of Java-index,Java Essentials,Java Programming...