Hi Branden,
I did all the things as suggested by you but still I'm facing problem. As
you have resolved this completely, I'm sure you can help me a lot by putting
proper light on it. 

I've installed Epson ADK 1.9.4 on my system. My printer EPSON TM-T88IV is
printing fine with its test pages, even I'm able to print with it in any of
windows application like MS-Word but my POS is not initializing it at all. 

The JARs in /specialpurpose/pos/lib are as follows:
pos.jar, uposcommon.jar, epsonupos.jar, jpos19.jar, xercesImpl.jar,
xml-apis.jar and looks-2.0.2.jar

I've also kept the javax.comm.properties in the CheckHealth directory of
EPSON.

I'm using jdk1.5.0_09 and all respective jar files are available on
installation in my C:\Program Files\Java\jdk1.5.0_09\jre\lib\ext directory.

jpos.xml (generated with the help of SetupPOS utility of Epson:

         
        
        
        
        

        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
                
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
                
                
        
        
        
        
        
        
        
                
                



The errors and exceptions I'm getting are as as follows:

Epson CheckHealth Report
ErrorCode: 107
ErrorCodeExtended: 5008
Message:
The power supply of the device is off.
!! StackTrace !!
jpos.JposException: The power supply of the device is off.
                at
jp.co.epson.upos.pntr.init.AbstractPrinterInitialization.getRealtimeStatus(Unknown
source)
………………………………….
………………………………….


POS Startup Exception:
2008-06-16 01:22:18,859 (main) [ClassLoaderContainer.java:50 :INFO ]
CachedClassLoader created
2008-06-16 01:22:21,890 (main) [    ContainerLoader.java:74 :INFO ]
[Startup] Starting containers...
2008-06-16 01:22:22,140 (main) [       DeviceLoader.java:123:ERROR] 
---- exception report
----------------------------------------------------------
JPOS Exception
Exception: jpos.JposException
Message: Service does not exist in loaded JCL registry
---- stack trace
---------------------------------------------------------------
jpos.JposException: Service does not exist in loaded JCL registry
jpos.loader.simple.SimpleServiceManager.createConnection(Unknown Source)
jpos.loader.JposServiceLoader.findService(Unknown Source)
jpos.BaseJposControl.open(Unknown Source)
org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:46)
org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:119)
org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:52)
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
org.ofbiz.base.start.Start.startServer(Start.java:314)
org.ofbiz.base.start.Start.start(Start.java:318)
org.ofbiz.base.start.Start.main(Start.java:404)
--------------------------------------------------------------------------------

2008-06-16 01:22:22,156 (main) [JposDeviceContainer.java:54 :INFO ]
******************************************************
2008-06-16 01:22:22,156 (main) [JposDeviceContainer.java:55 :INFO ] Please
verify that your receipt printer is connected !
2008-06-16 01:22:22,156 (main) [JposDeviceContainer.java:56 :INFO ]
******************************************************
2008-06-16 01:22:22,187 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:93
:INFO ] Shutting down containers
2008-06-16 01:22:22,203 (OFBiz_Shutdown_Hook) [      
DeviceLoader.java:246:ERROR] 
---- exception report
----------------------------------------------------------
JPOS Exception
Exception: jpos.JposException
Message: Control not opened
---- stack trace
---------------------------------------------------------------

I think, I've given all information that you will need to look into, any
help in this concern will be highly appreciated.

Lots of thanks in advance,

Ajey Kumar





Branden Strickland wrote:
> 
> Yes, I was able to get the printer system working.
> 
> 
> First, I have to state that All Null devices are still "broke".  After
> running the EpsonADK.bin (1.8 1.9 .1.11, doesn't matter) it seems to
> modify
> something that doesn't allow the POS to find the Null devices.  I don't
> know
> why.  All the .java files and .jar and .class files are located where they
> were, and are available, and the "path"
> (org.ofbiz.pos.....{something}.class)
> seems just fine.  However, I suppose since I have hardware I don't really
> need them....so I digress! :P
> 
> I followed the link that
> Jacques put in the POS section that links to the jira forum that explains
> the 1.9 installation.  I followed that to the T (except I had to put the
> javax.comm.properties in the root directory IE either in Checkhealth (when
> checking the device before adding it to ofbiz...or to the ofbiz root... I
> believe adding this to the classpath will provide the same result.
> 
> To fix the cashdrawer.... (I suppose it was never broke, so I didn't "fix
> it".  I just...DUH added it to the Epson configuration through SetupPOS.)
> making sure to point it to the jpos.xml in pos/config/. (very important).
> I added the only cashdrawer that the program would let me.  You initialy
> tell it it's on the TTYS0 (if it's attached to the printer...(this will
> point to whatever input your printer is...because the signal must pass
> through the printer.)  Then it asks to select the printer it's attached
> too... Provides you the logical name to use in pos-containers.
> 
> The rest is cake walk!
> 
> Let me know if you have questions!
> 
> thanks!
> 
> 
> On Sat, Jun 14, 2008 at 6:45 AM, Ajey.bitin <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> Hi Branden,
>>
>> Did you get success in the implementation of EPSON TM-T88IV POS Printer
>> with
>> OFBiz? I couldn't see any of your updates since a long on this, please
>> let
>> me know if any good news is there.
>>
>> Thanks,
>>
>> Ajey Kumar
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > This is quite a late reply.
>> >
>> > I've been busy so I didn't respond, but I wanted to let you know that
>> > you're
>> > in the same boat.
>> >
>> > I get the exact same error, and I've been trying to work on it for the
>> > last
>> > month or so.....To no avail.
>> >
>> > If I figure something out, I'll post it here... If you do, could you do
>> > the
>> > same?
>> >
>> > Thanks!!
>> >
>> > On Wed, Apr 2, 2008 at 9:57 PM, Ajey.bitin <
>> > [EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> Hi,
>> >>
>> >>
>> >> I'm trying to implement EPSON TM-T88IV Thermal printer in POS. I
>> failed
>> >> to
>> >> configure that because every time the application is shutting down
>> with
>> >> the
>> >> exception given below. Even the application is not starting with EPSON
>> >> TM-T88III printer which is a tested one. The error stack trace given
>> >> below
>> >> occurred for EPSON TM-T88III printer.
>> >>
>> >> I've installed the Java Communication API, copied the EPSOn Jar files
>> in
>> >> the
>> >> lib directory of POS and modified the jpos.xml and pos-containers.xml
>> >> files
>> >> respectively. But everytime I'm getting this error.
>> >>
>> >> I've purchased one EPSON TM-T88IV printer to test and installed
>> >> Epson_JavaPOS_ADK_194.exe on its behalf. Every time services not found
>> >> error
>> >> is coming.
>> >>
>> >> Can anybody suggest me how I should proceed and what are the required
>> JAR
>> >> files (and from where I can get them) for the said Printer.
>> >>
>> >>
>> =======================================================================
>> >> 2008-04-03 05:55:54,687 (main) [ ComponentContainer.java:120:INFO ]
>> All
>> >> components loaded
>> >> 2008-04-03 05:55:54,718 (main) [ClassLoaderContainer.java:50 :INFO ]
>> >> CachedClassLoader created
>> >> 2008-04-03 05:55:54,828 (main) [    ContainerLoader.java:74 :INFO ]
>> >> [Startup] Starting containers...
>> >> jpos/res/jpos.properties file not found
>> >> jpos/res/jpos.properties file not found
>> >> jpos/res/jpos.properties file not found
>> >> 2008-04-03 05:55:55,109 (main) [       DeviceLoader.java:62 :ERROR]
>> >> ---- exception report
>> >> ----------------------------------------------------------
>> >> JPOS Exception
>> >> Exception: jpos.JposException
>> >> Message: Service does not exist in loaded JCL registry
>> >> ---- stack trace
>> >> ---------------------------------------------------------------
>> >> jpos.JposException: Service does not exist in loaded JCL registry
>> >> jpos.loader.simple.SimpleServiceManager.createConnection(Unknown
>> Source)
>> >> jpos.loader.JposServiceLoader.findService(Unknown Source)
>> >> jpos.BaseJposControl.open(Unknown Source)
>> >> org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44)
>> >> org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:60)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:50)
>> >>
>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
>> >> org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>> >> org.ofbiz.base.start.Start.startServer(Start.java:314)
>> >> org.ofbiz.base.start.Start.start(Start.java:318)
>> >> org.ofbiz.base.start.Start.main(Start.java:404)
>> >>
>> >>
>> --------------------------------------------------------------------------------
>> >>
>> >> 2008-04-03 05:55:55,109 (main) [JposDeviceContainer.java:52 :INFO ]
>> >> ****************************************************
>> >> **
>> >> 2008-04-03 05:55:55,109 (main) [JposDeviceContainer.java:53 :INFO ]
>> >> Please
>> >> verify that your receipt printer is connected
>> >>  !
>> >> 2008-04-03 05:55:55,140 (main) [JposDeviceContainer.java:54 :INFO ]
>> >> ****************************************************
>> >> **
>> >> org.ofbiz.base.start.StartupException: Cannot start()
>> >> org.ofbiz.pos.container.JposDeviceContainer (null)
>> >>        at
>> >>
>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82)
>> >>        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>> >>        at org.ofbiz.base.start.Start.startServer(Start.java:314)
>> >>        at org.ofbiz.base.start.Start.start(Start.java:318)
>> >>        at org.ofbiz.base.start.Start.main(Start.java:404)
>> >> org.ofbiz.base.container.ContainerException
>> >>        at
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:55)
>> >>        at
>> >>
>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
>> >>        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>> >>        at org.ofbiz.base.start.Start.startServer(Start.java:314)
>> >>        at org.ofbiz.base.start.Start.start(Start.java:318)
>> >>        at org.ofbiz.base.start.Start.main(Start.java:404)
>> >> org.ofbiz.base.util.GeneralException
>> >>        at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:63)
>> >>        at
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:50)
>> >>        at
>> >>
>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
>> >>        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>> >>        at org.ofbiz.base.start.Start.startServer(Start.java:314)
>> >>        at org.ofbiz.base.start.Start.start(Start.java:318)
>> >>        at org.ofbiz.base.start.Start.main(Start.java:404)
>> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook) [
>> >> ContainerLoader.java:93
>> >> :INFO ] Shutting down containers
>> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook) [
>> >> DeviceLoader.java:241:ERROR]
>> >> ---- exception report
>> >> ----------------------------------------------------------
>> >> JPOS Exception
>> >> Exception: jpos.JposException
>> >> Message: Control not opened
>> >> ---- stack trace
>> >> ---------------------------------------------------------------
>> >> jpos.JposException: Control not opened
>> >> jpos.BaseJposControl.release(Unknown Source)
>> >> org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:55)
>> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:208)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63)
>> >>
>> org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99)
>> >> org.ofbiz.base.start.Start.shutdownServer(Start.java:300)
>> >> org.ofbiz.base.start.Start.access$000(Start.java:43)
>> >> org.ofbiz.base.start.Start$1.run(Start.java:277)
>> >>
>> >>
>> --------------------------------------------------------------------------------
>> >>
>> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:66
>> >> :ERROR]
>> >> ---- exception report
>> >> ----------------------------------------------------------
>> >> Exception: org.ofbiz.base.util.GeneralException
>> >> Message: null
>> >> ---- stack trace
>> >> ---------------------------------------------------------------
>> >> org.ofbiz.base.util.GeneralException
>> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:242)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63)
>> >>
>> org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99)
>> >> org.ofbiz.base.start.Start.shutdownServer(Start.java:300)
>> >> org.ofbiz.base.start.Start.access$000(Start.java:43)
>> >> org.ofbiz.base.start.Start$1.run(Start.java:277)
>> >>
>> >>
>> --------------------------------------------------------------------------------
>> >>
>> >> 2008-04-03 05:55:55,296 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:68
>> >> :INFO ] JPOS Devices released and closed
>> >>
>> >>
>> ============================================================================
>> >>
>> >> Thanx,
>> >>
>> >> ajey.bitin
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p16459450.html
>> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17838099.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17882247.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to