You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Ajey.bitin" <aj...@palindromesoftware.com> on 2008/04/03 03:52:41 UTC

Configuring EPSON TM-T88IV Thermal printer in POS

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.

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
Here is that error I'm getting now.

I notice there was one other fellow here with the same error, and I'm not
sure if it ever got solved.

---- exception report
----------------------------------------------------------
JPOS Exception
Exception: jpos.JposException
Message: The information is not described in XML.
---- stack trace
---------------------------------------------------------------
jpos.JposException: The information is not described in XML.
jp.co.epson.upos.pntr.CommonPrinterService.initializeServiceSetting(Unknown
Source)
jp.co.epson.upos.pntr.CommonPrinterService.open(Unknown Source)
jpos.BaseJposControl.open(Unknown Source)
org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:44)
org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:116)
org.ofbiz.pos.container.JposDeviceContainer.start(JposDeviceContainer.java:50)
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
org.ofbiz.base.start.Start.startServer(Start.java:310)
org.ofbiz.base.start.Start.start(Start.java:314)
org.ofbiz.base.start.Start.main(Start.java:397)
--------------------------------------------------------------------------------

2008-05-14 10:15:29,482 (main) [JposDeviceContainer.java:52 :INFO ]
******************************************************
2008-05-14 10:15:29,483 (main) [JposDeviceContainer.java:53 :INFO ] Please
verify that your receipt printer is connected !
2008-05-14 10:15:29,483 (main) [JposDeviceContainer.java:54 :INFO ]
******************************************************
2008-05-14 10:15:29,491 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:92
:INFO ] Shutting down containers
2008-05-14 10:15:29,494 (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:235)
org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:63)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:100)
org.ofbiz.base.start.Start.shutdownServer(Start.java:299)
org.ofbiz.base.start.Start.access$000(Start.java:43)
org.ofbiz.base.start.Start$2.run(Start.java:276)
--------------------------------------------------------------------------------


On Tue, May 13, 2008 at 11:44 PM, Branden Strickland <
openforbusinessman@gmail.com> wrote:

> Take a look at this page.  I've followed it to the T and I'm now getting a
> new error, which I'm praying is GOOD.  Just substitute 19 for 111 for most
> things.
>
>
> http://www.nabble.com/-jira--Created%3A-%28OFBIZ-1015%29-How-to-setup-the-Epson-JavaPOS-1.9.x--%21-td10779949.html
>
>
> On Tue, May 13, 2008 at 4:46 PM, Branden Strickland <
> openforbusinessman@gmail.com> wrote:
>
>> After doing some digging.. I feel like I'm a bit closer to some sort of
>> answer.
>>
>> I've read extensively that when you get the "service does not exist in JCL
>> registry" that basically for some reason or another, the root of the problem
>> is that the JCL.jar file doesn't know where jpos.xml is.  jpos.xml is where
>> all the services are listed. The way jpos.xml is found, through the
>> jpos.properties file.  This file is located in 3 yes that right, THREE
>> places.   Should it be?  I'm not sure.
>>
>> It's located in JCL.jar JPOS111.jar and
>> OFBIZ_HOME/specialpurpose/pos/config
>>
>> I've pointed all three of them to my
>> OFBIZ_HOME/specialpurpose/pos/config/jpos.xml.  It still hasn't taken, but
>> I"m sifting through some other things right now, hoping to shed some more
>> light.
>>
>> I've also confirmed that you don't need the .jars (as far as I can tell
>> currently!) in the OFBIZ_HOME/specialpurpos/pos/lib/.  I've moved them from
>> JAVA_HOME/jre/lib/ext to the .../pos/lib and my findings are that they are
>> read natively from the JAVA_HOME/jre/lib/ext directory and not the
>> .../pos/lib.   Who knows... Maybe that is my problem.
>>
>> I figured I would post this just in case it would help anybody else.
>>
>> I'll post more when I find a more concrete path to printer-heaven.
>>
>> On Wed, May 7, 2008 at 5:10 PM, Ajey.bitin <
>> ajey.kumar@palindromesoftware.com> wrote:
>>
>>>
>>> Yes Branden, when i was exploring and searching contents over forums for
>>> related stuffs, I saw your mails and responses too. I'm aware of those
>>> and
>>> also i tried to implement them and test them. Unfortunately they didn't
>>> work
>>> at all in my situation. After that I was just busy with the customization
>>> of
>>> POS screens and all, so i couldn't continue with it.
>>>
>>> I wish you all the success for your works and experiments towards it
>>> because
>>> if you'll get success, it'll be a great news for all of us who are
>>> waiting
>>> for a remedy.
>>>
>>> Regards,
>>>
>>> Ajey Kumar
>>>
>>>
>>>
>>> Branden Strickland wrote:
>>> >
>>> > Here are some responses to my earlier email that may help you?  Like I
>>> > said,
>>> > I'll be working on this today in just a few minutes, so hopefully we
>>> can
>>> > get
>>> > something working.
>>> >
>>> > DAN SHIELDS
>>> > "What is the contents of your $JAVA_HOME/jre/lib/ext directory?   It's
>>> > contents (after running the Epson installer) made evident some
>>> interesting
>>> > classpath paradoxes in the way jpos is intialized.  I have several
>>> > theories
>>> > about this that I am attempting to understand.  To test one theory, I
>>> > moved
>>> > the jpos.xml file so that it resides on the bootclasspath rather than
>>> in
>>> > specialpurpose/pos/config, to my surprise this FIXED the problem!"
>>> >
>>> > CHRISTOPHER L
>>> > "Now that you mention the $JAVA_HOME/jre/lib/ext directory...
>>> >
>>> > I haven't always had success when directions call for putting files in
>>> > that
>>> > directory.  In particular, the only way I was able to get my cash
>>> drawer
>>> > working in linux is to put the serial port configuration file
>>> > (javax.comm.properties) in the classpath.  According to the
>>> instructions,
>>> > that file should have been fine in $JAVA_HOME/jre/lib/ext.
>>> >
>>> > I haven't experienced the particular problem you mention though."
>>> >
>>> > JACQUES
>>> > "Did you try to use -Djava.ext.dirs ? Not sure it's still right but you
>>> > may
>>> > be interested by this
>>> http://www.yoda.arachsys.com/java/extensions.html"
>>> > "IIRW, with my Epson TM-T88III and ADK 1.8, I simply put
>>> >
>>> > epsonJposServiceCommon.jar and epsonJposService180.jar in
>>> > specialpurpose\pos\lib
>>> > and comm.jar in jdk1.5.0_11\jre\lib\ext
>>> > and it worked."
>>> >
>>> >
>>> >
>>> > Actually It was working since I suspect one of the commits related to
>>> > https://issues.apache.org/jira/browse/OFBIZ-1630 and related tasks to
>>> have
>>> > broken the POS in the trunk (maybe r646697 or r643923)
>>> >
>>> >
>>> >
>>> > On Wed, May 7, 2008 at 2:14 PM, Ajey.bitin <
>>> > ajey.kumar@palindromesoftware.com> wrote:
>>> >
>>> >>
>>> >> You are right Branden, when we install EPSON ADK, it modifies our
>>> class
>>> >> path
>>> >> drastically (don't know where) and it breaks the references with our
>>> >> applications org.ofbiz.pos.jpos.factory.OfbizJposServiceFactory path
>>> and
>>> >> that is why none of the jpos device (maintained internally by ofbiz)
>>> >> works
>>> >> worthwhile. I'm too afcing the same problem after installing the ADK
>>> for
>>> >> EPSON.
>>> >>
>>> >> Sure, we can share stuffs and that will be really great lets see, who
>>> is
>>> >> going to tell a good news first :)
>>> >>
>>> >> Regards,
>>> >>
>>> >> Ajey Kumar
>>> >>
>>> >>
>>> >>
>>> >> Branden Strickland wrote:
>>> >> >
>>> >> > FYI,
>>> >> >
>>> >> > I know some of the guys (I have mainly worked with Jacques) around
>>> here
>>> >> > that
>>> >> > work very closely with the POS.  They are typically (not to speak
>>> for
>>> >> > them!!) available for consulting work if you need to get them
>>> involved
>>> >> if
>>> >> > your back is "against the wall".  They're not cheap (which is why I
>>> >> can't
>>> >> > currently afford them :P )  but they know their stuff in and out,
>>> and
>>> >> I'm
>>> >> > sure they could get things working.
>>> >> >
>>> >> > I'm going to be working on this problem more today when I get out of
>>> >> the
>>> >> > "full time" job.
>>> >> >
>>> >> > Hopefully we can help each other out!
>>> >> >
>>> >> > I did notice that NO MATTER how I go about installing the components
>>> >> here
>>> >> > is
>>> >> > the results.
>>> >> >
>>> >> > This is still currently using NULL PRINTER.. So I'm not even really
>>> >> > "calling" the Epson printer yet with my pos-component.xml file.
>>> >> >
>>> >> > Install JAVA COMM api.  Programs starts fine.
>>> >> > Install RXTXcomm.jar Program starts fine.
>>> >> > Install JAI (java advanced imaging): Everything works fine.
>>> >> > Install EPSON ADK:  Program STOPS working, even if I'm still calling
>>> >> the
>>> >> > NULL PRINTER.
>>> >> >
>>> >> > I'm very interested to dig through this with my JAVA guy today.  I
>>> >> think
>>> >> > EPSON ADK is modifying something that causes OFBIZ to stop working
>>> by
>>> >> > modifying the JAVA environment.  I'm not sure how yet.. But I hope I
>>> >> can
>>> >> > find out soon!
>>> >> >
>>> >> > Thanks for the reply!
>>> >> >
>>> >> >
>>> >> > On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin <
>>> >> > ajey.kumar@palindromesoftware.com> wrote:
>>> >> >
>>> >> >>
>>> >> >> Hi Branden,
>>> >> >>
>>> >> >> At first thanx for your reply otherwise I was assuming that my
>>> problem
>>> >> >> will
>>> >> >> not get attention of even a single user. Anyways, definitely I'll
>>> post
>>> >> a
>>> >> >> message when my problem will get over. Right now I'm engaged in
>>> >> >> establishing
>>> >> >> database synchronization among POS terminals, PSS and MCS. But the
>>> >> EPSON
>>> >> >> printer is still a panic for me which I'll have to look for
>>> seriously
>>> >> but
>>> >> >> I'm not getting enough time for it.
>>> >> >>
>>> >> >> Hope you will let me know when you'll get some success.
>>> >> >>
>>> >> >> Thanx and my best wishes too.
>>> >> >>
>>> >> >> Regards,
>>> >> >>
>>> >> >> 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 <
>>> >> >> > ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.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-tp16459450p17111227.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-tp16459450p17114862.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
Take a look at this page.  I've followed it to the T and I'm now getting a
new error, which I'm praying is GOOD.  Just substitute 19 for 111 for most
things.

http://www.nabble.com/-jira--Created%3A-%28OFBIZ-1015%29-How-to-setup-the-Epson-JavaPOS-1.9.x--%21-td10779949.html

On Tue, May 13, 2008 at 4:46 PM, Branden Strickland <
openforbusinessman@gmail.com> wrote:

> After doing some digging.. I feel like I'm a bit closer to some sort of
> answer.
>
> I've read extensively that when you get the "service does not exist in JCL
> registry" that basically for some reason or another, the root of the problem
> is that the JCL.jar file doesn't know where jpos.xml is.  jpos.xml is where
> all the services are listed. The way jpos.xml is found, through the
> jpos.properties file.  This file is located in 3 yes that right, THREE
> places.   Should it be?  I'm not sure.
>
> It's located in JCL.jar JPOS111.jar and
> OFBIZ_HOME/specialpurpose/pos/config
>
> I've pointed all three of them to my
> OFBIZ_HOME/specialpurpose/pos/config/jpos.xml.  It still hasn't taken, but
> I"m sifting through some other things right now, hoping to shed some more
> light.
>
> I've also confirmed that you don't need the .jars (as far as I can tell
> currently!) in the OFBIZ_HOME/specialpurpos/pos/lib/.  I've moved them from
> JAVA_HOME/jre/lib/ext to the .../pos/lib and my findings are that they are
> read natively from the JAVA_HOME/jre/lib/ext directory and not the
> .../pos/lib.   Who knows... Maybe that is my problem.
>
> I figured I would post this just in case it would help anybody else.
>
> I'll post more when I find a more concrete path to printer-heaven.
>
> On Wed, May 7, 2008 at 5:10 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
>
>>
>> Yes Branden, when i was exploring and searching contents over forums for
>> related stuffs, I saw your mails and responses too. I'm aware of those and
>> also i tried to implement them and test them. Unfortunately they didn't
>> work
>> at all in my situation. After that I was just busy with the customization
>> of
>> POS screens and all, so i couldn't continue with it.
>>
>> I wish you all the success for your works and experiments towards it
>> because
>> if you'll get success, it'll be a great news for all of us who are waiting
>> for a remedy.
>>
>> Regards,
>>
>> Ajey Kumar
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > Here are some responses to my earlier email that may help you?  Like I
>> > said,
>> > I'll be working on this today in just a few minutes, so hopefully we can
>> > get
>> > something working.
>> >
>> > DAN SHIELDS
>> > "What is the contents of your $JAVA_HOME/jre/lib/ext directory?   It's
>> > contents (after running the Epson installer) made evident some
>> interesting
>> > classpath paradoxes in the way jpos is intialized.  I have several
>> > theories
>> > about this that I am attempting to understand.  To test one theory, I
>> > moved
>> > the jpos.xml file so that it resides on the bootclasspath rather than in
>> > specialpurpose/pos/config, to my surprise this FIXED the problem!"
>> >
>> > CHRISTOPHER L
>> > "Now that you mention the $JAVA_HOME/jre/lib/ext directory...
>> >
>> > I haven't always had success when directions call for putting files in
>> > that
>> > directory.  In particular, the only way I was able to get my cash drawer
>> > working in linux is to put the serial port configuration file
>> > (javax.comm.properties) in the classpath.  According to the
>> instructions,
>> > that file should have been fine in $JAVA_HOME/jre/lib/ext.
>> >
>> > I haven't experienced the particular problem you mention though."
>> >
>> > JACQUES
>> > "Did you try to use -Djava.ext.dirs ? Not sure it's still right but you
>> > may
>> > be interested by this http://www.yoda.arachsys.com/java/extensions.html
>> "
>> > "IIRW, with my Epson TM-T88III and ADK 1.8, I simply put
>> >
>> > epsonJposServiceCommon.jar and epsonJposService180.jar in
>> > specialpurpose\pos\lib
>> > and comm.jar in jdk1.5.0_11\jre\lib\ext
>> > and it worked."
>> >
>> >
>> >
>> > Actually It was working since I suspect one of the commits related to
>> > https://issues.apache.org/jira/browse/OFBIZ-1630 and related tasks to
>> have
>> > broken the POS in the trunk (maybe r646697 or r643923)
>> >
>> >
>> >
>> > On Wed, May 7, 2008 at 2:14 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> You are right Branden, when we install EPSON ADK, it modifies our class
>> >> path
>> >> drastically (don't know where) and it breaks the references with our
>> >> applications org.ofbiz.pos.jpos.factory.OfbizJposServiceFactory path
>> and
>> >> that is why none of the jpos device (maintained internally by ofbiz)
>> >> works
>> >> worthwhile. I'm too afcing the same problem after installing the ADK
>> for
>> >> EPSON.
>> >>
>> >> Sure, we can share stuffs and that will be really great lets see, who
>> is
>> >> going to tell a good news first :)
>> >>
>> >> Regards,
>> >>
>> >> Ajey Kumar
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > FYI,
>> >> >
>> >> > I know some of the guys (I have mainly worked with Jacques) around
>> here
>> >> > that
>> >> > work very closely with the POS.  They are typically (not to speak for
>> >> > them!!) available for consulting work if you need to get them
>> involved
>> >> if
>> >> > your back is "against the wall".  They're not cheap (which is why I
>> >> can't
>> >> > currently afford them :P )  but they know their stuff in and out, and
>> >> I'm
>> >> > sure they could get things working.
>> >> >
>> >> > I'm going to be working on this problem more today when I get out of
>> >> the
>> >> > "full time" job.
>> >> >
>> >> > Hopefully we can help each other out!
>> >> >
>> >> > I did notice that NO MATTER how I go about installing the components
>> >> here
>> >> > is
>> >> > the results.
>> >> >
>> >> > This is still currently using NULL PRINTER.. So I'm not even really
>> >> > "calling" the Epson printer yet with my pos-component.xml file.
>> >> >
>> >> > Install JAVA COMM api.  Programs starts fine.
>> >> > Install RXTXcomm.jar Program starts fine.
>> >> > Install JAI (java advanced imaging): Everything works fine.
>> >> > Install EPSON ADK:  Program STOPS working, even if I'm still calling
>> >> the
>> >> > NULL PRINTER.
>> >> >
>> >> > I'm very interested to dig through this with my JAVA guy today.  I
>> >> think
>> >> > EPSON ADK is modifying something that causes OFBIZ to stop working by
>> >> > modifying the JAVA environment.  I'm not sure how yet.. But I hope I
>> >> can
>> >> > find out soon!
>> >> >
>> >> > Thanks for the reply!
>> >> >
>> >> >
>> >> > On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> Hi Branden,
>> >> >>
>> >> >> At first thanx for your reply otherwise I was assuming that my
>> problem
>> >> >> will
>> >> >> not get attention of even a single user. Anyways, definitely I'll
>> post
>> >> a
>> >> >> message when my problem will get over. Right now I'm engaged in
>> >> >> establishing
>> >> >> database synchronization among POS terminals, PSS and MCS. But the
>> >> EPSON
>> >> >> printer is still a panic for me which I'll have to look for
>> seriously
>> >> but
>> >> >> I'm not getting enough time for it.
>> >> >>
>> >> >> Hope you will let me know when you'll get some success.
>> >> >>
>> >> >> Thanx and my best wishes too.
>> >> >>
>> >> >> Regards,
>> >> >>
>> >> >> 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 <
>> >> >> > ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.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-tp16459450p17111227.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-tp16459450p17114862.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
After doing some digging.. I feel like I'm a bit closer to some sort of
answer.

I've read extensively that when you get the "service does not exist in JCL
registry" that basically for some reason or another, the root of the problem
is that the JCL.jar file doesn't know where jpos.xml is.  jpos.xml is where
all the services are listed. The way jpos.xml is found, through the
jpos.properties file.  This file is located in 3 yes that right, THREE
places.   Should it be?  I'm not sure.

It's located in JCL.jar JPOS111.jar and OFBIZ_HOME/specialpurpose/pos/config

I've pointed all three of them to my
OFBIZ_HOME/specialpurpose/pos/config/jpos.xml.  It still hasn't taken, but
I"m sifting through some other things right now, hoping to shed some more
light.

I've also confirmed that you don't need the .jars (as far as I can tell
currently!) in the OFBIZ_HOME/specialpurpos/pos/lib/.  I've moved them from
JAVA_HOME/jre/lib/ext to the .../pos/lib and my findings are that they are
read natively from the JAVA_HOME/jre/lib/ext directory and not the
.../pos/lib.   Who knows... Maybe that is my problem.

I figured I would post this just in case it would help anybody else.

I'll post more when I find a more concrete path to printer-heaven.

On Wed, May 7, 2008 at 5:10 PM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> Yes Branden, when i was exploring and searching contents over forums for
> related stuffs, I saw your mails and responses too. I'm aware of those and
> also i tried to implement them and test them. Unfortunately they didn't
> work
> at all in my situation. After that I was just busy with the customization
> of
> POS screens and all, so i couldn't continue with it.
>
> I wish you all the success for your works and experiments towards it
> because
> if you'll get success, it'll be a great news for all of us who are waiting
> for a remedy.
>
> Regards,
>
> Ajey Kumar
>
>
>
> Branden Strickland wrote:
> >
> > Here are some responses to my earlier email that may help you?  Like I
> > said,
> > I'll be working on this today in just a few minutes, so hopefully we can
> > get
> > something working.
> >
> > DAN SHIELDS
> > "What is the contents of your $JAVA_HOME/jre/lib/ext directory?   It's
> > contents (after running the Epson installer) made evident some
> interesting
> > classpath paradoxes in the way jpos is intialized.  I have several
> > theories
> > about this that I am attempting to understand.  To test one theory, I
> > moved
> > the jpos.xml file so that it resides on the bootclasspath rather than in
> > specialpurpose/pos/config, to my surprise this FIXED the problem!"
> >
> > CHRISTOPHER L
> > "Now that you mention the $JAVA_HOME/jre/lib/ext directory...
> >
> > I haven't always had success when directions call for putting files in
> > that
> > directory.  In particular, the only way I was able to get my cash drawer
> > working in linux is to put the serial port configuration file
> > (javax.comm.properties) in the classpath.  According to the
> instructions,
> > that file should have been fine in $JAVA_HOME/jre/lib/ext.
> >
> > I haven't experienced the particular problem you mention though."
> >
> > JACQUES
> > "Did you try to use -Djava.ext.dirs ? Not sure it's still right but you
> > may
> > be interested by this http://www.yoda.arachsys.com/java/extensions.html"
> > "IIRW, with my Epson TM-T88III and ADK 1.8, I simply put
> >
> > epsonJposServiceCommon.jar and epsonJposService180.jar in
> > specialpurpose\pos\lib
> > and comm.jar in jdk1.5.0_11\jre\lib\ext
> > and it worked."
> >
> >
> >
> > Actually It was working since I suspect one of the commits related to
> > https://issues.apache.org/jira/browse/OFBIZ-1630 and related tasks to
> have
> > broken the POS in the trunk (maybe r646697 or r643923)
> >
> >
> >
> > On Wed, May 7, 2008 at 2:14 PM, Ajey.bitin <
> > ajey.kumar@palindromesoftware.com> wrote:
> >
> >>
> >> You are right Branden, when we install EPSON ADK, it modifies our class
> >> path
> >> drastically (don't know where) and it breaks the references with our
> >> applications org.ofbiz.pos.jpos.factory.OfbizJposServiceFactory path
> and
> >> that is why none of the jpos device (maintained internally by ofbiz)
> >> works
> >> worthwhile. I'm too afcing the same problem after installing the ADK
> for
> >> EPSON.
> >>
> >> Sure, we can share stuffs and that will be really great lets see, who
> is
> >> going to tell a good news first :)
> >>
> >> Regards,
> >>
> >> Ajey Kumar
> >>
> >>
> >>
> >> Branden Strickland wrote:
> >> >
> >> > FYI,
> >> >
> >> > I know some of the guys (I have mainly worked with Jacques) around
> here
> >> > that
> >> > work very closely with the POS.  They are typically (not to speak for
> >> > them!!) available for consulting work if you need to get them
> involved
> >> if
> >> > your back is "against the wall".  They're not cheap (which is why I
> >> can't
> >> > currently afford them :P )  but they know their stuff in and out, and
> >> I'm
> >> > sure they could get things working.
> >> >
> >> > I'm going to be working on this problem more today when I get out of
> >> the
> >> > "full time" job.
> >> >
> >> > Hopefully we can help each other out!
> >> >
> >> > I did notice that NO MATTER how I go about installing the components
> >> here
> >> > is
> >> > the results.
> >> >
> >> > This is still currently using NULL PRINTER.. So I'm not even really
> >> > "calling" the Epson printer yet with my pos-component.xml file.
> >> >
> >> > Install JAVA COMM api.  Programs starts fine.
> >> > Install RXTXcomm.jar Program starts fine.
> >> > Install JAI (java advanced imaging): Everything works fine.
> >> > Install EPSON ADK:  Program STOPS working, even if I'm still calling
> >> the
> >> > NULL PRINTER.
> >> >
> >> > I'm very interested to dig through this with my JAVA guy today.  I
> >> think
> >> > EPSON ADK is modifying something that causes OFBIZ to stop working by
> >> > modifying the JAVA environment.  I'm not sure how yet.. But I hope I
> >> can
> >> > find out soon!
> >> >
> >> > Thanks for the reply!
> >> >
> >> >
> >> > On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin <
> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >
> >> >>
> >> >> Hi Branden,
> >> >>
> >> >> At first thanx for your reply otherwise I was assuming that my
> problem
> >> >> will
> >> >> not get attention of even a single user. Anyways, definitely I'll
> post
> >> a
> >> >> message when my problem will get over. Right now I'm engaged in
> >> >> establishing
> >> >> database synchronization among POS terminals, PSS and MCS. But the
> >> EPSON
> >> >> printer is still a panic for me which I'll have to look for
> seriously
> >> but
> >> >> I'm not getting enough time for it.
> >> >>
> >> >> Hope you will let me know when you'll get some success.
> >> >>
> >> >> Thanx and my best wishes too.
> >> >>
> >> >> Regards,
> >> >>
> >> >> 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 <
> >> >> > ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.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-tp16459450p17111227.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-tp16459450p17114862.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Yes Branden, when i was exploring and searching contents over forums for
related stuffs, I saw your mails and responses too. I'm aware of those and
also i tried to implement them and test them. Unfortunately they didn't work
at all in my situation. After that I was just busy with the customization of
POS screens and all, so i couldn't continue with it. 

I wish you all the success for your works and experiments towards it because
if you'll get success, it'll be a great news for all of us who are waiting
for a remedy.

Regards,

Ajey Kumar



Branden Strickland wrote:
> 
> Here are some responses to my earlier email that may help you?  Like I
> said,
> I'll be working on this today in just a few minutes, so hopefully we can
> get
> something working.
> 
> DAN SHIELDS
> "What is the contents of your $JAVA_HOME/jre/lib/ext directory?   It's
> contents (after running the Epson installer) made evident some interesting
> classpath paradoxes in the way jpos is intialized.  I have several
> theories
> about this that I am attempting to understand.  To test one theory, I
> moved
> the jpos.xml file so that it resides on the bootclasspath rather than in
> specialpurpose/pos/config, to my surprise this FIXED the problem!"
> 
> CHRISTOPHER L
> "Now that you mention the $JAVA_HOME/jre/lib/ext directory...
> 
> I haven't always had success when directions call for putting files in
> that
> directory.  In particular, the only way I was able to get my cash drawer
> working in linux is to put the serial port configuration file
> (javax.comm.properties) in the classpath.  According to the instructions,
> that file should have been fine in $JAVA_HOME/jre/lib/ext.
> 
> I haven't experienced the particular problem you mention though."
> 
> JACQUES
> "Did you try to use -Djava.ext.dirs ? Not sure it's still right but you
> may
> be interested by this http://www.yoda.arachsys.com/java/extensions.html"
> "IIRW, with my Epson TM-T88III and ADK 1.8, I simply put
> 
> epsonJposServiceCommon.jar and epsonJposService180.jar in
> specialpurpose\pos\lib
> and comm.jar in jdk1.5.0_11\jre\lib\ext
> and it worked."
> 
> 
> 
> Actually It was working since I suspect one of the commits related to
> https://issues.apache.org/jira/browse/OFBIZ-1630 and related tasks to have
> broken the POS in the trunk (maybe r646697 or r643923)
> 
> 
> 
> On Wed, May 7, 2008 at 2:14 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> You are right Branden, when we install EPSON ADK, it modifies our class
>> path
>> drastically (don't know where) and it breaks the references with our
>> applications org.ofbiz.pos.jpos.factory.OfbizJposServiceFactory path and
>> that is why none of the jpos device (maintained internally by ofbiz)
>> works
>> worthwhile. I'm too afcing the same problem after installing the ADK for
>> EPSON.
>>
>> Sure, we can share stuffs and that will be really great lets see, who is
>> going to tell a good news first :)
>>
>> Regards,
>>
>> Ajey Kumar
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > FYI,
>> >
>> > I know some of the guys (I have mainly worked with Jacques) around here
>> > that
>> > work very closely with the POS.  They are typically (not to speak for
>> > them!!) available for consulting work if you need to get them involved
>> if
>> > your back is "against the wall".  They're not cheap (which is why I
>> can't
>> > currently afford them :P )  but they know their stuff in and out, and
>> I'm
>> > sure they could get things working.
>> >
>> > I'm going to be working on this problem more today when I get out of
>> the
>> > "full time" job.
>> >
>> > Hopefully we can help each other out!
>> >
>> > I did notice that NO MATTER how I go about installing the components
>> here
>> > is
>> > the results.
>> >
>> > This is still currently using NULL PRINTER.. So I'm not even really
>> > "calling" the Epson printer yet with my pos-component.xml file.
>> >
>> > Install JAVA COMM api.  Programs starts fine.
>> > Install RXTXcomm.jar Program starts fine.
>> > Install JAI (java advanced imaging): Everything works fine.
>> > Install EPSON ADK:  Program STOPS working, even if I'm still calling
>> the
>> > NULL PRINTER.
>> >
>> > I'm very interested to dig through this with my JAVA guy today.  I
>> think
>> > EPSON ADK is modifying something that causes OFBIZ to stop working by
>> > modifying the JAVA environment.  I'm not sure how yet.. But I hope I
>> can
>> > find out soon!
>> >
>> > Thanks for the reply!
>> >
>> >
>> > On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> Hi Branden,
>> >>
>> >> At first thanx for your reply otherwise I was assuming that my problem
>> >> will
>> >> not get attention of even a single user. Anyways, definitely I'll post
>> a
>> >> message when my problem will get over. Right now I'm engaged in
>> >> establishing
>> >> database synchronization among POS terminals, PSS and MCS. But the
>> EPSON
>> >> printer is still a panic for me which I'll have to look for seriously
>> but
>> >> I'm not getting enough time for it.
>> >>
>> >> Hope you will let me know when you'll get some success.
>> >>
>> >> Thanx and my best wishes too.
>> >>
>> >> Regards,
>> >>
>> >> 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 <
>> >> > ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.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-tp16459450p17111227.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-tp16459450p17114862.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
Here are some responses to my earlier email that may help you?  Like I said,
I'll be working on this today in just a few minutes, so hopefully we can get
something working.

DAN SHIELDS
"What is the contents of your $JAVA_HOME/jre/lib/ext directory?   It's
contents (after running the Epson installer) made evident some interesting
classpath paradoxes in the way jpos is intialized.  I have several theories
about this that I am attempting to understand.  To test one theory, I moved
the jpos.xml file so that it resides on the bootclasspath rather than in
specialpurpose/pos/config, to my surprise this FIXED the problem!"

CHRISTOPHER L
"Now that you mention the $JAVA_HOME/jre/lib/ext directory...

I haven't always had success when directions call for putting files in that
directory.  In particular, the only way I was able to get my cash drawer
working in linux is to put the serial port configuration file
(javax.comm.properties) in the classpath.  According to the instructions,
that file should have been fine in $JAVA_HOME/jre/lib/ext.

I haven't experienced the particular problem you mention though."

JACQUES
"Did you try to use -Djava.ext.dirs ? Not sure it's still right but you may
be interested by this http://www.yoda.arachsys.com/java/extensions.html"
"IIRW, with my Epson TM-T88III and ADK 1.8, I simply put

epsonJposServiceCommon.jar and epsonJposService180.jar in
specialpurpose\pos\lib
and comm.jar in jdk1.5.0_11\jre\lib\ext
and it worked."



Actually It was working since I suspect one of the commits related to
https://issues.apache.org/jira/browse/OFBIZ-1630 and related tasks to have
broken the POS in the trunk (maybe r646697 or r643923)



On Wed, May 7, 2008 at 2:14 PM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> You are right Branden, when we install EPSON ADK, it modifies our class
> path
> drastically (don't know where) and it breaks the references with our
> applications org.ofbiz.pos.jpos.factory.OfbizJposServiceFactory path and
> that is why none of the jpos device (maintained internally by ofbiz) works
> worthwhile. I'm too afcing the same problem after installing the ADK for
> EPSON.
>
> Sure, we can share stuffs and that will be really great lets see, who is
> going to tell a good news first :)
>
> Regards,
>
> Ajey Kumar
>
>
>
> Branden Strickland wrote:
> >
> > FYI,
> >
> > I know some of the guys (I have mainly worked with Jacques) around here
> > that
> > work very closely with the POS.  They are typically (not to speak for
> > them!!) available for consulting work if you need to get them involved
> if
> > your back is "against the wall".  They're not cheap (which is why I
> can't
> > currently afford them :P )  but they know their stuff in and out, and
> I'm
> > sure they could get things working.
> >
> > I'm going to be working on this problem more today when I get out of the
> > "full time" job.
> >
> > Hopefully we can help each other out!
> >
> > I did notice that NO MATTER how I go about installing the components
> here
> > is
> > the results.
> >
> > This is still currently using NULL PRINTER.. So I'm not even really
> > "calling" the Epson printer yet with my pos-component.xml file.
> >
> > Install JAVA COMM api.  Programs starts fine.
> > Install RXTXcomm.jar Program starts fine.
> > Install JAI (java advanced imaging): Everything works fine.
> > Install EPSON ADK:  Program STOPS working, even if I'm still calling the
> > NULL PRINTER.
> >
> > I'm very interested to dig through this with my JAVA guy today.  I think
> > EPSON ADK is modifying something that causes OFBIZ to stop working by
> > modifying the JAVA environment.  I'm not sure how yet.. But I hope I can
> > find out soon!
> >
> > Thanks for the reply!
> >
> >
> > On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin <
> > ajey.kumar@palindromesoftware.com> wrote:
> >
> >>
> >> Hi Branden,
> >>
> >> At first thanx for your reply otherwise I was assuming that my problem
> >> will
> >> not get attention of even a single user. Anyways, definitely I'll post
> a
> >> message when my problem will get over. Right now I'm engaged in
> >> establishing
> >> database synchronization among POS terminals, PSS and MCS. But the
> EPSON
> >> printer is still a panic for me which I'll have to look for seriously
> but
> >> I'm not getting enough time for it.
> >>
> >> Hope you will let me know when you'll get some success.
> >>
> >> Thanx and my best wishes too.
> >>
> >> Regards,
> >>
> >> 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 <
> >> > ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.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-tp16459450p17111227.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
You are right Branden, when we install EPSON ADK, it modifies our class path
drastically (don't know where) and it breaks the references with our
applications org.ofbiz.pos.jpos.factory.OfbizJposServiceFactory path and
that is why none of the jpos device (maintained internally by ofbiz) works
worthwhile. I'm too afcing the same problem after installing the ADK for
EPSON.

Sure, we can share stuffs and that will be really great lets see, who is
going to tell a good news first :)

Regards,

Ajey Kumar



Branden Strickland wrote:
> 
> FYI,
> 
> I know some of the guys (I have mainly worked with Jacques) around here
> that
> work very closely with the POS.  They are typically (not to speak for
> them!!) available for consulting work if you need to get them involved if
> your back is "against the wall".  They're not cheap (which is why I can't
> currently afford them :P )  but they know their stuff in and out, and I'm
> sure they could get things working.
> 
> I'm going to be working on this problem more today when I get out of the
> "full time" job.
> 
> Hopefully we can help each other out!
> 
> I did notice that NO MATTER how I go about installing the components here
> is
> the results.
> 
> This is still currently using NULL PRINTER.. So I'm not even really
> "calling" the Epson printer yet with my pos-component.xml file.
> 
> Install JAVA COMM api.  Programs starts fine.
> Install RXTXcomm.jar Program starts fine.
> Install JAI (java advanced imaging): Everything works fine.
> Install EPSON ADK:  Program STOPS working, even if I'm still calling the
> NULL PRINTER.
> 
> I'm very interested to dig through this with my JAVA guy today.  I think
> EPSON ADK is modifying something that causes OFBIZ to stop working by
> modifying the JAVA environment.  I'm not sure how yet.. But I hope I can
> find out soon!
> 
> Thanks for the reply!
> 
> 
> On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> Hi Branden,
>>
>> At first thanx for your reply otherwise I was assuming that my problem
>> will
>> not get attention of even a single user. Anyways, definitely I'll post a
>> message when my problem will get over. Right now I'm engaged in
>> establishing
>> database synchronization among POS terminals, PSS and MCS. But the EPSON
>> printer is still a panic for me which I'll have to look for seriously but
>> I'm not getting enough time for it.
>>
>> Hope you will let me know when you'll get some success.
>>
>> Thanx and my best wishes too.
>>
>> Regards,
>>
>> 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 <
>> > ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.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-tp16459450p17111227.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
FYI,

I know some of the guys (I have mainly worked with Jacques) around here that
work very closely with the POS.  They are typically (not to speak for
them!!) available for consulting work if you need to get them involved if
your back is "against the wall".  They're not cheap (which is why I can't
currently afford them :P )  but they know their stuff in and out, and I'm
sure they could get things working.

I'm going to be working on this problem more today when I get out of the
"full time" job.

Hopefully we can help each other out!

I did notice that NO MATTER how I go about installing the components here is
the results.

This is still currently using NULL PRINTER.. So I'm not even really
"calling" the Epson printer yet with my pos-component.xml file.

Install JAVA COMM api.  Programs starts fine.
Install RXTXcomm.jar Program starts fine.
Install JAI (java advanced imaging): Everything works fine.
Install EPSON ADK:  Program STOPS working, even if I'm still calling the
NULL PRINTER.

I'm very interested to dig through this with my JAVA guy today.  I think
EPSON ADK is modifying something that causes OFBIZ to stop working by
modifying the JAVA environment.  I'm not sure how yet.. But I hope I can
find out soon!

Thanks for the reply!


On Wed, May 7, 2008 at 12:07 PM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> Hi Branden,
>
> At first thanx for your reply otherwise I was assuming that my problem
> will
> not get attention of even a single user. Anyways, definitely I'll post a
> message when my problem will get over. Right now I'm engaged in
> establishing
> database synchronization among POS terminals, PSS and MCS. But the EPSON
> printer is still a panic for me which I'll have to look for seriously but
> I'm not getting enough time for it.
>
> Hope you will let me know when you'll get some success.
>
> Thanx and my best wishes too.
>
> Regards,
>
> 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 <
> > ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Hi Branden,

At first thanx for your reply otherwise I was assuming that my problem will
not get attention of even a single user. Anyways, definitely I'll post a
message when my problem will get over. Right now I'm engaged in establishing
database synchronization among POS terminals, PSS and MCS. But the EPSON
printer is still a panic for me which I'll have to look for seriously but
I'm not getting enough time for it.

Hope you will let me know when you'll get some success.

Thanx and my best wishes too.

Regards,

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 <
> ajey.kumar@palindromesoftware.com> 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-tp16459450p17108049.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Branden, 

I think, the only issue that is concerned now, is success of CheckHealth
utility with my printer. I'm wondered why my printer is throwing these two
messages (1. Message: The power supply of the device is off. and 2. Message:
The exclusive access right had not been acquired.) when i try to load it
from my application. 

I checked, now serial port is working fine (I checked with BlackBox). I
tried to observe the exact process where it is failing, I got the place,
inside open() of GenericDevice.java, it is failing when it is calling
control.claim(timeout) method. Printer is successfully being opened but it
is failing on the next step of claiming which is used for exclusive devices.

Will you please suggest me what i should do in such situation, I'm sure you
must have faced these hurdles.

With your help and support now i'm feeling myself optimistic for my printer.

Regards,

Ajey Kumar




Branden Strickland wrote:
> 
> are you sure your serial port is plugged in correctly and is enabled in
> the
> BIOS?
> 
> We need to get that blackbox running before we do anything else.  There is
> a
> reason it's telling you it can't find the serial port.
> 
> 
> 
> On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> Branden, i tried to work with BlackBox, its showing the message "No
>> Serial
>> Port found" when I used this "java BlackBox" command.
>>
>> Also I placed the javax.comm.properties file to
>> specialpurpose\pos\config,
>> framework\base\config and framework\base\lib
>>
>> But the result is same, I'm not able to get my printer working. Suggest
>> me
>> the needful.
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > well the javax.comm.properties must be moved (or copied) to what ever
>> root
>> > directory (or added to the path I'm told?!?! but I'm not sure) you're
>> > running stuff from.  Temporarily I have my javax.comm.properties in my
>> > /ofbizROOT.  I was getting that "not described in XML" erorr and moving
>> > the
>> > file to the root OFBIZ directory fixed it.
>> >
>> > Have you tried getting the blackbox Java App to work?
>> >
>> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> I installed fresh java comm api and placed the files on following
>> >> location:
>> >>
>> >> comm.jar is placed in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib/ext
>> >>
>> >> win32com.dll is placed in:
>> >>
>> >>    %JAVA_HOME%/bin
>> >>    %JAVA_HOME%/jre/bin
>> >>    %windir%System32
>> >>
>> >> javax.comm.properties in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib
>> >>
>> >> After that I also placed latest RXTX jars and DLL in my JDK folder
>> like
>> >> this:
>> >>
>> >> RXTXcomm.jar in \jre\lib\ext (under java)
>> >> rxtxSerial.dll in \jre\bin
>> >>
>> >> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>> >>
>> >> But again I'm getting the same exception when I'm trying to use
>> >> CheckHealth:
>> >>
>> >> 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) ………………………………….
>> >>
>> >>
>> >> But the exception is now changed when I'm trying to run my OFBiz
>> >> application, its showing this:
>> >>
>> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
>> >> CachedClassLoader created
>> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>> >> [Startup] Starting containers...
>> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>> >> ---- exception report
>> >> ----------------------------------------------------------
>> >> JPOS Exception
>> >> Exception: jpos.JposException
>> >> Message: The information is not described in XML.
>> >> ---- stack trace
>> >> ---------------------------------------------------------------
>> >> jpos.JposException: The information is not described in XML.
>> >>
>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>> >> Source)
>> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>> >> Please
>> >> verify that your receipt printer is connected !
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>> >> ContainerLoader.java:93
>> >> :INFO ] Shutting down containers
>> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>> >> DeviceLoader.java:246: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:72)
>> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:68
>> >> :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:247)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:70
>> >> :INFO ] JPOS Devices released and closed
>> >>
>> >> I'm using all this on a PC having Windows XP and service pack 2. Am I
>> in
>> >> moving in the right way? I read that you also got this exception
>> >> "jpos.JposException: The information is not described in XML", now
>> what
>> I
>> >> can do to move further ith the integration?
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
>> >> > There should be an uninstall folder in there, with a script to get
>> it
>> >> off
>> >> > of
>> >> > your box.
>> >> >
>> >> > 2) On the clean install**
>> >> > Run the installation
>> >> > Install everything (which I think is included in the "typical"
>> >> package...
>> >> > You can select custom and check just to be safe.
>> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
>> select
>> >> it
>> >> > by
>> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>> >> > The installation will finish.
>> >> > if you have a manually copy and pasted entry in your jpos.xml for
>> the
>> >> > TM-T88IV, now is a good time to remove that entry.
>> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>> >> command
>> >> > When SetupPOS starts, you should notice that it only recognizes one
>> >> device
>> >> > in the jpos.xml (thats because the rest are just generic and non
>> Epson)
>> >> > Add a device, select the POS printer you need (TM-T88IV) and save
>> the
>> >> > file.
>> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
>> file
>> >> > over
>> >> > to the directory.
>> >> > *****A small important note here. I've been told time and time again
>> >> that
>> >> > if
>> >> > I'm planning on using RXTX that you need to modify that file to use
>> it.
>> >>  I
>> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
>> changed
>> >> the
>> >> > way that their COMM.java works, but I left the file as is, using the
>> >> > default
>> >> > driver and it worked.**** Take this for what you will though, I've
>> >> heard
>> >> > mixed results.
>> >> > Run the script, load your printer (it should look for your jpos.xml)
>> >> and
>> >> > hit
>> >> > test.  You should get a small slip (please make sure your printer is
>> >> on!
>> >> > :P
>> >> > ) printed to tell you it worked.
>> >> >
>> >> > If it doesn't.... Before posting any errors, I would step back once
>> >> more
>> >> > and
>> >> > try to get the blackbox application that comes with RXTX (or was it
>> the
>> >> > javacomm API???) to work. just search for BlackBox, you'll find it.
>>  If
>> >> > you
>> >> > get it to work, that will prove that the serial interface is working
>> >> and
>> >> > it
>> >> > will continually print garble to the printer if it's working.
>> >> >
>> >> > Let me know if you can get this far... and we'll continue!
>> >> >
>> >> > Thanks
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> Sorry to say but really I forgot to select the jpos.xml file from
>> my
>> >> >> ofbiz
>> >> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
>> >> >> interface.
>> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>> >> because
>> >> >> it
>> >> >> is not giving me any option for uninstall. I think you are right
>> >> because
>> >> >> my
>> >> >> printer is not working even with CheckHealth utility.
>> >> >>
>> >> >> If selecting jpos.xml from pos while the process if installation
>> >> modifies
>> >> >> the appropriate jar file, then it should really work on a fresh
>> >> >> installation. I'll now try to configure the same application on a
>> >> >> different
>> >> >> PC along with Printer and ADK 1.9.4, will you please put some light
>> on
>> >> >> the
>> >> >> correct path I should follow while this fresh configuration, I
>> don't
>> >> >> wanna
>> >> >> fail this time.
>> >> >>
>> >> >> I'm so happy that now a torchbearer is with me.
>> >> >>
>> >> >> Thanks Branden, thanx for all this.
>> >> >>
>> >> >> Ajey Kumar
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Branden Strickland wrote:
>> >> >> >
>> >> >> > when you install JAVA ADK are you selecting the jpos.xml file in
>> >> >> > /pos/config/jpos.xml to modify?
>> >> >> >
>> >> >> > Before getting the printer to work in ofbiz, you need to get the
>> >> >> > Checkhealth
>> >> >> > script working.  You must specify at install the JPOS.xml file so
>> >> that
>> >> >> the
>> >> >> > software can use it to edit the configuration, as well as modify
>> the
>> >> >> > correct
>> >> >> > jar that contains the JCL information.
>> >> >> >
>> >> >> > Are you using serial?
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> 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 <
>> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17981213.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
I concur with ease of use when dealing with the serial version.

On Wed, Jun 18, 2008 at 11:57 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> As much as I recall (you know we always prefer to only remember good
> things), it was a breeze with a serial TM-T88III
>
> Jacques
>
> From: "Ajey.bitin" <aj...@palindromesoftware.com>
>
>
>> Ohhh,
>>
>> Is this the only way left for me that I'll have to go for serial interface
>> card for my printer? It is really ridiculous that EPSON is manufacturing
>> printer with parallel cable but having factory settings to serial,
>> something
>> really difficult to understand, also the ADK is coming only for serial..so
>> we've no way !!
>>
>> What do you say, will this card work for us? (I think it is working in
>> your
>> case !!) Also configuration of this card is again a marathon or a cake
>> walk?
>>
>> Now I'm scared of this EPSON totally.. :)
>>
>> Thanks Branden
>>
>>
>>
>>
>> Branden Strickland wrote:
>>
>>>
>>> HAH!
>>>
>>> Yeah thats it.  As of now, Epson ADK doesn't support parrallel.  Your DIP
>>> switches are probably factory defaulted to Serial, and the communication
>>> wires and protocols are day and night.  I would go to somewhere cheap,
>>> purchase
>>> this<
>>> http://www.posguys.com/receipt-printer_12/Epson-TM-T88IV_694/C823361_5381/
>>> >.
>>> It's the serial interface card for the tm-t88iv.  You can just slide the
>>> old
>>> Parallel one out, (thats what I had to do, because mine came with it as
>>> well!) and put the new serial one in.
>>>
>>> I'm not suggesting going to posguys.  Where ever you want to buy it from
>>> is
>>> obviously up to you, but you need to get that particular part, because
>>> using
>>> hardware converters is NOT going to work....I've tried ;)
>>>
>>> Hope this gets you running in the right direction.
>>>
>>> On Wed, Jun 18, 2008 at 9:11 AM, Ajey.bitin <
>>> ajey.kumar@palindromesoftware.com> wrote:
>>>
>>>
>>>> Branden,
>>>>
>>>> I forgot to let you know one thing, I think my problem is that I'm using
>>>> LPT1. I got my EPSON TM-T88IV printer with parallel cable but SetupPOS
>>>> doesn't have a port type option for parallel. How I can configure the
>>>> printer with SetupPOS in this case?
>>>>
>>>> Is this the reason why I'm getting my printer status as always off? Can
>>>> a
>>>> right DB9 - DB25 cable and using serial COM1 instead will solve this
>>>> issue?
>>>>
>>>> Thanks and regards,
>>>>
>>>> Ajey Kumar
>>>>
>>>>
>>>>
>>>>
>>>> Branden Strickland wrote:
>>>> >
>>>> > are you sure your serial port is plugged in correctly and is enabled
>>>> in
>>>> > the
>>>> > BIOS?
>>>> >
>>>> > We need to get that blackbox running before we do anything else.
>>>>  There
>>>> is
>>>> > a
>>>> > reason it's telling you it can't find the serial port.
>>>> >
>>>> >
>>>> >
>>>> > On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
>>>> > ajey.kumar@palindromesoftware.com> wrote:
>>>> >
>>>> >>
>>>> >> Branden, i tried to work with BlackBox, its showing the message "No
>>>> >> Serial
>>>> >> Port found" when I used this "java BlackBox" command.
>>>> >>
>>>> >> Also I placed the javax.comm.properties file to
>>>> >> specialpurpose\pos\config,
>>>> >> framework\base\config and framework\base\lib
>>>> >>
>>>> >> But the result is same, I'm not able to get my printer working.
>>>> Suggest
>>>> >> me
>>>> >> the needful.
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >> Branden Strickland wrote:
>>>> >> >
>>>> >> > well the javax.comm.properties must be moved (or copied) to what
>>>> ever
>>>> >> root
>>>> >> > directory (or added to the path I'm told?!?! but I'm not sure)
>>>> you're
>>>> >> > running stuff from.  Temporarily I have my javax.comm.properties in
>>>> my
>>>> >> > /ofbizROOT.  I was getting that "not described in XML" erorr and
>>>> moving
>>>> >> > the
>>>> >> > file to the root OFBIZ directory fixed it.
>>>> >> >
>>>> >> > Have you tried getting the blackbox Java App to work?
>>>> >> >
>>>> >> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>>>> >> > ajey.kumar@palindromesoftware.com> wrote:
>>>> >> >
>>>> >> >>
>>>> >> >> I installed fresh java comm api and placed the files on following
>>>> >> >> location:
>>>> >> >>
>>>> >> >> comm.jar is placed in:
>>>> >> >>
>>>> >> >>    %JAVA_HOME%/lib
>>>> >> >>    %JAVA_HOME%/jre/lib/ext
>>>> >> >>
>>>> >> >> win32com.dll is placed in:
>>>> >> >>
>>>> >> >>    %JAVA_HOME%/bin
>>>> >> >>    %JAVA_HOME%/jre/bin
>>>> >> >>    %windir%System32
>>>> >> >>
>>>> >> >> javax.comm.properties in:
>>>> >> >>
>>>> >> >>    %JAVA_HOME%/lib
>>>> >> >>    %JAVA_HOME%/jre/lib
>>>> >> >>
>>>> >> >> After that I also placed latest RXTX jars and DLL in my JDK folder
>>>> >> like
>>>> >> >> this:
>>>> >> >>
>>>> >> >> RXTXcomm.jar in \jre\lib\ext (under java)
>>>> >> >> rxtxSerial.dll in \jre\bin
>>>> >> >>
>>>> >> >> I've also placed javax.comm.properties in setupPOS directory of
>>>> EPSON.
>>>> >> >>
>>>> >> >> But again I'm getting the same exception when I'm trying to use
>>>> >> >> CheckHealth:
>>>> >> >>
>>>> >> >> 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) ………………………………….
>>>> >> >>
>>>> >> >>
>>>> >> >> But the exception is now changed when I'm trying to run my OFBiz
>>>> >> >> application, its showing this:
>>>> >> >>
>>>> >> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO
>>>> ]
>>>> >> >> CachedClassLoader created
>>>> >> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO
>>>> ]
>>>> >> >> [Startup] Starting containers...
>>>> >> >> 2008-06-18 00:41:01,890 (main) [
>>>> DeviceLoader.java:123:ERROR]
>>>> >> >> ---- exception report
>>>> >> >> ----------------------------------------------------------
>>>> >> >> JPOS Exception
>>>> >> >> Exception: jpos.JposException
>>>> >> >> Message: The information is not described in XML.
>>>> >> >> ---- stack trace
>>>> >> >> ---------------------------------------------------------------
>>>> >> >> jpos.JposException: The information is not described in XML.
>>>> >> >>
>>>> >>
>>>>
>>>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>>>> >> >> Source)
>>>> >> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO
>>>> ]
>>>> >> >> ******************************************************
>>>> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO
>>>> ]
>>>> >> >> Please
>>>> >> >> verify that your receipt printer is connected !
>>>> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO
>>>> ]
>>>> >> >> ******************************************************
>>>> >> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>>>> >> >> ContainerLoader.java:93
>>>> >> >> :INFO ] Shutting down containers
>>>> >> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>>>> >> >> DeviceLoader.java:246: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:72)
>>>> >> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>>>> >> >>
>>>> >> >>
>>>> >>
>>>>
>>>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>>>> >> >>
>>>> >>
>>>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>>>> >> >> [JposDeviceContainer.java:68
>>>> >> >> :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:247)
>>>> >> >>
>>>> >> >>
>>>> >>
>>>>
>>>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>>>> >> >>
>>>> >>
>>>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>>>> >> >> [JposDeviceContainer.java:70
>>>> >> >> :INFO ] JPOS Devices released and closed
>>>> >> >>
>>>> >> >> I'm using all this on a PC having Windows XP and service pack 2.
>>>> Am
>>>> I
>>>> >> in
>>>> >> >> moving in the right way? I read that you also got this exception
>>>> >> >> "jpos.JposException: The information is not described in XML", now
>>>> >> what
>>>> >> I
>>>> >> >> can do to move further ith the integration?
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >> Branden Strickland wrote:
>>>> >> >> >
>>>> >> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
>>>> >> >> > There should be an uninstall folder in there, with a script to
>>>> get
>>>> >> it
>>>> >> >> off
>>>> >> >> > of
>>>> >> >> > your box.
>>>> >> >> >
>>>> >> >> > 2) On the clean install**
>>>> >> >> > Run the installation
>>>> >> >> > Install everything (which I think is included in the "typical"
>>>> >> >> package...
>>>> >> >> > You can select custom and check just to be safe.
>>>> >> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
>>>> >> select
>>>> >> >> it
>>>> >> >> > by
>>>> >> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>>>> >> >> > The installation will finish.
>>>> >> >> > if you have a manually copy and pasted entry in your jpos.xml
>>>> for
>>>> >> the
>>>> >> >> > TM-T88IV, now is a good time to remove that entry.
>>>> >> >> > enter the /opt/EpsonADK/SetupPOS directory and run the
>>>> ./SetupPOS
>>>> >> >> command
>>>> >> >> > When SetupPOS starts, you should notice that it only recognizes
>>>> one
>>>> >> >> device
>>>> >> >> > in the jpos.xml (thats because the rest are just generic and non
>>>> >> Epson)
>>>> >> >> > Add a device, select the POS printer you need (TM-T88IV) and
>>>> save
>>>> >> the
>>>> >> >> > file.
>>>> >> >> > enter the Healthcheck directory.  Copy your
>>>> javax.comm.properties
>>>> >> file
>>>> >> >> > over
>>>> >> >> > to the directory.
>>>> >> >> > *****A small important note here. I've been told time and time
>>>> again
>>>> >> >> that
>>>> >> >> > if
>>>> >> >> > I'm planning on using RXTX that you need to modify that file to
>>>> use
>>>> >> it.
>>>> >> >>  I
>>>> >> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
>>>> >> changed
>>>> >> >> the
>>>> >> >> > way that their COMM.java works, but I left the file as is, using
>>>> the
>>>> >> >> > default
>>>> >> >> > driver and it worked.**** Take this for what you will though,
>>>> I've
>>>> >> >> heard
>>>> >> >> > mixed results.
>>>> >> >> > Run the script, load your printer (it should look for your
>>>> jpos.xml)
>>>> >> >> and
>>>> >> >> > hit
>>>> >> >> > test.  You should get a small slip (please make sure your
>>>> printer
>>>> is
>>>> >> >> on!
>>>> >> >> > :P
>>>> >> >> > ) printed to tell you it worked.
>>>> >> >> >
>>>> >> >> > If it doesn't.... Before posting any errors, I would step back
>>>> once
>>>> >> >> more
>>>> >> >> > and
>>>> >> >> > try to get the blackbox application that comes with RXTX (or was
>>>> it
>>>> >> the
>>>> >> >> > javacomm API???) to work. just search for BlackBox, you'll find
>>>> it.
>>>> >>  If
>>>> >> >> > you
>>>> >> >> > get it to work, that will prove that the serial interface is
>>>> working
>>>> >> >> and
>>>> >> >> > it
>>>> >> >> > will continually print garble to the printer if it's working.
>>>> >> >> >
>>>> >> >> > Let me know if you can get this far... and we'll continue!
>>>> >> >> >
>>>> >> >> > Thanks
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>>>> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>>>> >> >> >
>>>> >> >> >>
>>>> >> >> >> Sorry to say but really I forgot to select the jpos.xml file
>>>> from
>>>> >> my
>>>> >> >> >> ofbiz
>>>> >> >> >> application. I'm using EPSON TM-T88IV thermal printer in a
>>>> serial
>>>> >> >> >> interface.
>>>> >> >> >> Even now on my system, I'm not able to uninstall EPSON ADK
>>>> 1.9.4
>>>> >> >> because
>>>> >> >> >> it
>>>> >> >> >> is not giving me any option for uninstall. I think you are
>>>> right
>>>> >> >> because
>>>> >> >> >> my
>>>> >> >> >> printer is not working even with CheckHealth utility.
>>>> >> >> >>
>>>> >> >> >> If selecting jpos.xml from pos while the process if
>>>> installation
>>>> >> >> modifies
>>>> >> >> >> the appropriate jar file, then it should really work on a fresh
>>>> >> >> >> installation. I'll now try to configure the same application on
>>>> a
>>>> >> >> >> different
>>>> >> >> >> PC along with Printer and ADK 1.9.4, will you please put some
>>>> light
>>>> >> on
>>>> >> >> >> the
>>>> >> >> >> correct path I should follow while this fresh configuration, I
>>>> >> don't
>>>> >> >> >> wanna
>>>> >> >> >> fail this time.
>>>> >> >> >>
>>>> >> >> >> I'm so happy that now a torchbearer is with me.
>>>> >> >> >>
>>>> >> >> >> Thanks Branden, thanx for all this.
>>>> >> >> >>
>>>> >> >> >> Ajey Kumar
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >> Branden Strickland wrote:
>>>> >> >> >> >
>>>> >> >> >> > when you install JAVA ADK are you selecting the jpos.xml file
>>>> in
>>>> >> >> >> > /pos/config/jpos.xml to modify?
>>>> >> >> >> >
>>>> >> >> >> > Before getting the printer to work in ofbiz, you need to get
>>>> the
>>>> >> >> >> > Checkhealth
>>>> >> >> >> > script working.  You must specify at install the JPOS.xml
>>>> file
>>>> so
>>>> >> >> that
>>>> >> >> >> the
>>>> >> >> >> > software can use it to edit the configuration, as well as
>>>> modify
>>>> >> the
>>>> >> >> >> > correct
>>>> >> >> >> > jar that contains the JCL information.
>>>> >> >> >> >
>>>> >> >> >> > Are you using serial?
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>>>> >> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>>>> >> >> >> >
>>>> >> >> >> >>
>>>> >> >> >> >> 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 <
>>>> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>>>> >> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>>>> >> >> >> >>
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >>
>>>> >> >> >> --
>>>> >> >> >> View this message in context:
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>>
>>>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17982342.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-tp16459450p17984070.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Jacques Le Roux <ja...@les7arts.com>.
As much as I recall (you know we always prefer to only remember good things), it was a breeze with a serial TM-T88III

Jacques

From: "Ajey.bitin" <aj...@palindromesoftware.com>
>
> Ohhh,
>
> Is this the only way left for me that I'll have to go for serial interface
> card for my printer? It is really ridiculous that EPSON is manufacturing
> printer with parallel cable but having factory settings to serial, something
> really difficult to understand, also the ADK is coming only for serial..so
> we've no way !!
>
> What do you say, will this card work for us? (I think it is working in your
> case !!) Also configuration of this card is again a marathon or a cake walk?
>
> Now I'm scared of this EPSON totally.. :)
>
> Thanks Branden
>
>
>
>
> Branden Strickland wrote:
>>
>> HAH!
>>
>> Yeah thats it.  As of now, Epson ADK doesn't support parrallel.  Your DIP
>> switches are probably factory defaulted to Serial, and the communication
>> wires and protocols are day and night.  I would go to somewhere cheap,
>> purchase
>> this<http://www.posguys.com/receipt-printer_12/Epson-TM-T88IV_694/C823361_5381/>.
>> It's the serial interface card for the tm-t88iv.  You can just slide the
>> old
>> Parallel one out, (thats what I had to do, because mine came with it as
>> well!) and put the new serial one in.
>>
>> I'm not suggesting going to posguys.  Where ever you want to buy it from
>> is
>> obviously up to you, but you need to get that particular part, because
>> using
>> hardware converters is NOT going to work....I've tried ;)
>>
>> Hope this gets you running in the right direction.
>>
>> On Wed, Jun 18, 2008 at 9:11 AM, Ajey.bitin <
>> ajey.kumar@palindromesoftware.com> wrote:
>>
>>>
>>> Branden,
>>>
>>> I forgot to let you know one thing, I think my problem is that I'm using
>>> LPT1. I got my EPSON TM-T88IV printer with parallel cable but SetupPOS
>>> doesn't have a port type option for parallel. How I can configure the
>>> printer with SetupPOS in this case?
>>>
>>> Is this the reason why I'm getting my printer status as always off? Can a
>>> right DB9 - DB25 cable and using serial COM1 instead will solve this
>>> issue?
>>>
>>> Thanks and regards,
>>>
>>> Ajey Kumar
>>>
>>>
>>>
>>>
>>> Branden Strickland wrote:
>>> >
>>> > are you sure your serial port is plugged in correctly and is enabled in
>>> > the
>>> > BIOS?
>>> >
>>> > We need to get that blackbox running before we do anything else.  There
>>> is
>>> > a
>>> > reason it's telling you it can't find the serial port.
>>> >
>>> >
>>> >
>>> > On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
>>> > ajey.kumar@palindromesoftware.com> wrote:
>>> >
>>> >>
>>> >> Branden, i tried to work with BlackBox, its showing the message "No
>>> >> Serial
>>> >> Port found" when I used this "java BlackBox" command.
>>> >>
>>> >> Also I placed the javax.comm.properties file to
>>> >> specialpurpose\pos\config,
>>> >> framework\base\config and framework\base\lib
>>> >>
>>> >> But the result is same, I'm not able to get my printer working.
>>> Suggest
>>> >> me
>>> >> the needful.
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> Branden Strickland wrote:
>>> >> >
>>> >> > well the javax.comm.properties must be moved (or copied) to what
>>> ever
>>> >> root
>>> >> > directory (or added to the path I'm told?!?! but I'm not sure)
>>> you're
>>> >> > running stuff from.  Temporarily I have my javax.comm.properties in
>>> my
>>> >> > /ofbizROOT.  I was getting that "not described in XML" erorr and
>>> moving
>>> >> > the
>>> >> > file to the root OFBIZ directory fixed it.
>>> >> >
>>> >> > Have you tried getting the blackbox Java App to work?
>>> >> >
>>> >> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>>> >> > ajey.kumar@palindromesoftware.com> wrote:
>>> >> >
>>> >> >>
>>> >> >> I installed fresh java comm api and placed the files on following
>>> >> >> location:
>>> >> >>
>>> >> >> comm.jar is placed in:
>>> >> >>
>>> >> >>    %JAVA_HOME%/lib
>>> >> >>    %JAVA_HOME%/jre/lib/ext
>>> >> >>
>>> >> >> win32com.dll is placed in:
>>> >> >>
>>> >> >>    %JAVA_HOME%/bin
>>> >> >>    %JAVA_HOME%/jre/bin
>>> >> >>    %windir%System32
>>> >> >>
>>> >> >> javax.comm.properties in:
>>> >> >>
>>> >> >>    %JAVA_HOME%/lib
>>> >> >>    %JAVA_HOME%/jre/lib
>>> >> >>
>>> >> >> After that I also placed latest RXTX jars and DLL in my JDK folder
>>> >> like
>>> >> >> this:
>>> >> >>
>>> >> >> RXTXcomm.jar in \jre\lib\ext (under java)
>>> >> >> rxtxSerial.dll in \jre\bin
>>> >> >>
>>> >> >> I've also placed javax.comm.properties in setupPOS directory of
>>> EPSON.
>>> >> >>
>>> >> >> But again I'm getting the same exception when I'm trying to use
>>> >> >> CheckHealth:
>>> >> >>
>>> >> >> 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) ………………………………….
>>> >> >>
>>> >> >>
>>> >> >> But the exception is now changed when I'm trying to run my OFBiz
>>> >> >> application, its showing this:
>>> >> >>
>>> >> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO
>>> ]
>>> >> >> CachedClassLoader created
>>> >> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>>> >> >> [Startup] Starting containers...
>>> >> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>>> >> >> ---- exception report
>>> >> >> ----------------------------------------------------------
>>> >> >> JPOS Exception
>>> >> >> Exception: jpos.JposException
>>> >> >> Message: The information is not described in XML.
>>> >> >> ---- stack trace
>>> >> >> ---------------------------------------------------------------
>>> >> >> jpos.JposException: The information is not described in XML.
>>> >> >>
>>> >>
>>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>>> >> >> Source)
>>> >> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>>> >> >> ******************************************************
>>> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>>> >> >> Please
>>> >> >> verify that your receipt printer is connected !
>>> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>>> >> >> ******************************************************
>>> >> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>>> >> >> ContainerLoader.java:93
>>> >> >> :INFO ] Shutting down containers
>>> >> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>>> >> >> DeviceLoader.java:246: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:72)
>>> >> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>>> >> >>
>>> >> >>
>>> >>
>>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>>> >> >>
>>> >>
>>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>>> >> >> [JposDeviceContainer.java:68
>>> >> >> :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:247)
>>> >> >>
>>> >> >>
>>> >>
>>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>>> >> >>
>>> >>
>>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>>> >> >> [JposDeviceContainer.java:70
>>> >> >> :INFO ] JPOS Devices released and closed
>>> >> >>
>>> >> >> I'm using all this on a PC having Windows XP and service pack 2. Am
>>> I
>>> >> in
>>> >> >> moving in the right way? I read that you also got this exception
>>> >> >> "jpos.JposException: The information is not described in XML", now
>>> >> what
>>> >> I
>>> >> >> can do to move further ith the integration?
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> Branden Strickland wrote:
>>> >> >> >
>>> >> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
>>> >> >> > There should be an uninstall folder in there, with a script to
>>> get
>>> >> it
>>> >> >> off
>>> >> >> > of
>>> >> >> > your box.
>>> >> >> >
>>> >> >> > 2) On the clean install**
>>> >> >> > Run the installation
>>> >> >> > Install everything (which I think is included in the "typical"
>>> >> >> package...
>>> >> >> > You can select custom and check just to be safe.
>>> >> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
>>> >> select
>>> >> >> it
>>> >> >> > by
>>> >> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>>> >> >> > The installation will finish.
>>> >> >> > if you have a manually copy and pasted entry in your jpos.xml for
>>> >> the
>>> >> >> > TM-T88IV, now is a good time to remove that entry.
>>> >> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>>> >> >> command
>>> >> >> > When SetupPOS starts, you should notice that it only recognizes
>>> one
>>> >> >> device
>>> >> >> > in the jpos.xml (thats because the rest are just generic and non
>>> >> Epson)
>>> >> >> > Add a device, select the POS printer you need (TM-T88IV) and save
>>> >> the
>>> >> >> > file.
>>> >> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
>>> >> file
>>> >> >> > over
>>> >> >> > to the directory.
>>> >> >> > *****A small important note here. I've been told time and time
>>> again
>>> >> >> that
>>> >> >> > if
>>> >> >> > I'm planning on using RXTX that you need to modify that file to
>>> use
>>> >> it.
>>> >> >>  I
>>> >> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
>>> >> changed
>>> >> >> the
>>> >> >> > way that their COMM.java works, but I left the file as is, using
>>> the
>>> >> >> > default
>>> >> >> > driver and it worked.**** Take this for what you will though,
>>> I've
>>> >> >> heard
>>> >> >> > mixed results.
>>> >> >> > Run the script, load your printer (it should look for your
>>> jpos.xml)
>>> >> >> and
>>> >> >> > hit
>>> >> >> > test.  You should get a small slip (please make sure your printer
>>> is
>>> >> >> on!
>>> >> >> > :P
>>> >> >> > ) printed to tell you it worked.
>>> >> >> >
>>> >> >> > If it doesn't.... Before posting any errors, I would step back
>>> once
>>> >> >> more
>>> >> >> > and
>>> >> >> > try to get the blackbox application that comes with RXTX (or was
>>> it
>>> >> the
>>> >> >> > javacomm API???) to work. just search for BlackBox, you'll find
>>> it.
>>> >>  If
>>> >> >> > you
>>> >> >> > get it to work, that will prove that the serial interface is
>>> working
>>> >> >> and
>>> >> >> > it
>>> >> >> > will continually print garble to the printer if it's working.
>>> >> >> >
>>> >> >> > Let me know if you can get this far... and we'll continue!
>>> >> >> >
>>> >> >> > Thanks
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>>> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>>> >> >> >
>>> >> >> >>
>>> >> >> >> Sorry to say but really I forgot to select the jpos.xml file
>>> from
>>> >> my
>>> >> >> >> ofbiz
>>> >> >> >> application. I'm using EPSON TM-T88IV thermal printer in a
>>> serial
>>> >> >> >> interface.
>>> >> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>>> >> >> because
>>> >> >> >> it
>>> >> >> >> is not giving me any option for uninstall. I think you are right
>>> >> >> because
>>> >> >> >> my
>>> >> >> >> printer is not working even with CheckHealth utility.
>>> >> >> >>
>>> >> >> >> If selecting jpos.xml from pos while the process if installation
>>> >> >> modifies
>>> >> >> >> the appropriate jar file, then it should really work on a fresh
>>> >> >> >> installation. I'll now try to configure the same application on
>>> a
>>> >> >> >> different
>>> >> >> >> PC along with Printer and ADK 1.9.4, will you please put some
>>> light
>>> >> on
>>> >> >> >> the
>>> >> >> >> correct path I should follow while this fresh configuration, I
>>> >> don't
>>> >> >> >> wanna
>>> >> >> >> fail this time.
>>> >> >> >>
>>> >> >> >> I'm so happy that now a torchbearer is with me.
>>> >> >> >>
>>> >> >> >> Thanks Branden, thanx for all this.
>>> >> >> >>
>>> >> >> >> Ajey Kumar
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> Branden Strickland wrote:
>>> >> >> >> >
>>> >> >> >> > when you install JAVA ADK are you selecting the jpos.xml file
>>> in
>>> >> >> >> > /pos/config/jpos.xml to modify?
>>> >> >> >> >
>>> >> >> >> > Before getting the printer to work in ofbiz, you need to get
>>> the
>>> >> >> >> > Checkhealth
>>> >> >> >> > script working.  You must specify at install the JPOS.xml file
>>> so
>>> >> >> that
>>> >> >> >> the
>>> >> >> >> > software can use it to edit the configuration, as well as
>>> modify
>>> >> the
>>> >> >> >> > correct
>>> >> >> >> > jar that contains the JCL information.
>>> >> >> >> >
>>> >> >> >> > Are you using serial?
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>>> >> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>>> >> >> >> >
>>> >> >> >> >>
>>> >> >> >> >> 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 <
>>> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>>> >> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>>> >> >> >> >>
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >>
>>> >> >> >> --
>>> >> >> >> View this message in context:
>>> >> >> >>
>>> >> >>
>>> >>
>>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17982342.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-tp16459450p17984070.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Ohhh,

Is this the only way left for me that I'll have to go for serial interface
card for my printer? It is really ridiculous that EPSON is manufacturing
printer with parallel cable but having factory settings to serial, something
really difficult to understand, also the ADK is coming only for serial..so
we've no way !!

What do you say, will this card work for us? (I think it is working in your
case !!) Also configuration of this card is again a marathon or a cake walk?

Now I'm scared of this EPSON totally.. :)

Thanks Branden




Branden Strickland wrote:
> 
> HAH!
> 
> Yeah thats it.  As of now, Epson ADK doesn't support parrallel.  Your DIP
> switches are probably factory defaulted to Serial, and the communication
> wires and protocols are day and night.  I would go to somewhere cheap,
> purchase
> this<http://www.posguys.com/receipt-printer_12/Epson-TM-T88IV_694/C823361_5381/>.
> It's the serial interface card for the tm-t88iv.  You can just slide the
> old
> Parallel one out, (thats what I had to do, because mine came with it as
> well!) and put the new serial one in.
> 
> I'm not suggesting going to posguys.  Where ever you want to buy it from
> is
> obviously up to you, but you need to get that particular part, because
> using
> hardware converters is NOT going to work....I've tried ;)
> 
> Hope this gets you running in the right direction.
> 
> On Wed, Jun 18, 2008 at 9:11 AM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> Branden,
>>
>> I forgot to let you know one thing, I think my problem is that I'm using
>> LPT1. I got my EPSON TM-T88IV printer with parallel cable but SetupPOS
>> doesn't have a port type option for parallel. How I can configure the
>> printer with SetupPOS in this case?
>>
>> Is this the reason why I'm getting my printer status as always off? Can a
>> right DB9 - DB25 cable and using serial COM1 instead will solve this
>> issue?
>>
>> Thanks and regards,
>>
>> Ajey Kumar
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > are you sure your serial port is plugged in correctly and is enabled in
>> > the
>> > BIOS?
>> >
>> > We need to get that blackbox running before we do anything else.  There
>> is
>> > a
>> > reason it's telling you it can't find the serial port.
>> >
>> >
>> >
>> > On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> Branden, i tried to work with BlackBox, its showing the message "No
>> >> Serial
>> >> Port found" when I used this "java BlackBox" command.
>> >>
>> >> Also I placed the javax.comm.properties file to
>> >> specialpurpose\pos\config,
>> >> framework\base\config and framework\base\lib
>> >>
>> >> But the result is same, I'm not able to get my printer working.
>> Suggest
>> >> me
>> >> the needful.
>> >>
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > well the javax.comm.properties must be moved (or copied) to what
>> ever
>> >> root
>> >> > directory (or added to the path I'm told?!?! but I'm not sure)
>> you're
>> >> > running stuff from.  Temporarily I have my javax.comm.properties in
>> my
>> >> > /ofbizROOT.  I was getting that "not described in XML" erorr and
>> moving
>> >> > the
>> >> > file to the root OFBIZ directory fixed it.
>> >> >
>> >> > Have you tried getting the blackbox Java App to work?
>> >> >
>> >> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> I installed fresh java comm api and placed the files on following
>> >> >> location:
>> >> >>
>> >> >> comm.jar is placed in:
>> >> >>
>> >> >>    %JAVA_HOME%/lib
>> >> >>    %JAVA_HOME%/jre/lib/ext
>> >> >>
>> >> >> win32com.dll is placed in:
>> >> >>
>> >> >>    %JAVA_HOME%/bin
>> >> >>    %JAVA_HOME%/jre/bin
>> >> >>    %windir%System32
>> >> >>
>> >> >> javax.comm.properties in:
>> >> >>
>> >> >>    %JAVA_HOME%/lib
>> >> >>    %JAVA_HOME%/jre/lib
>> >> >>
>> >> >> After that I also placed latest RXTX jars and DLL in my JDK folder
>> >> like
>> >> >> this:
>> >> >>
>> >> >> RXTXcomm.jar in \jre\lib\ext (under java)
>> >> >> rxtxSerial.dll in \jre\bin
>> >> >>
>> >> >> I've also placed javax.comm.properties in setupPOS directory of
>> EPSON.
>> >> >>
>> >> >> But again I'm getting the same exception when I'm trying to use
>> >> >> CheckHealth:
>> >> >>
>> >> >> 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) ………………………………….
>> >> >>
>> >> >>
>> >> >> But the exception is now changed when I'm trying to run my OFBiz
>> >> >> application, its showing this:
>> >> >>
>> >> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO
>> ]
>> >> >> CachedClassLoader created
>> >> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>> >> >> [Startup] Starting containers...
>> >> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>> >> >> ---- exception report
>> >> >> ----------------------------------------------------------
>> >> >> JPOS Exception
>> >> >> Exception: jpos.JposException
>> >> >> Message: The information is not described in XML.
>> >> >> ---- stack trace
>> >> >> ---------------------------------------------------------------
>> >> >> jpos.JposException: The information is not described in XML.
>> >> >>
>> >>
>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>> >> >> Source)
>> >> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>> >> >> ******************************************************
>> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>> >> >> Please
>> >> >> verify that your receipt printer is connected !
>> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>> >> >> ******************************************************
>> >> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>> >> >> ContainerLoader.java:93
>> >> >> :INFO ] Shutting down containers
>> >> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>> >> >> DeviceLoader.java:246: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:72)
>> >> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>> >> >>
>> >> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >> >>
>> >>
>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>> >> >> [JposDeviceContainer.java:68
>> >> >> :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:247)
>> >> >>
>> >> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >> >>
>> >>
>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>> >> >> [JposDeviceContainer.java:70
>> >> >> :INFO ] JPOS Devices released and closed
>> >> >>
>> >> >> I'm using all this on a PC having Windows XP and service pack 2. Am
>> I
>> >> in
>> >> >> moving in the right way? I read that you also got this exception
>> >> >> "jpos.JposException: The information is not described in XML", now
>> >> what
>> >> I
>> >> >> can do to move further ith the integration?
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Branden Strickland wrote:
>> >> >> >
>> >> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
>> >> >> > There should be an uninstall folder in there, with a script to
>> get
>> >> it
>> >> >> off
>> >> >> > of
>> >> >> > your box.
>> >> >> >
>> >> >> > 2) On the clean install**
>> >> >> > Run the installation
>> >> >> > Install everything (which I think is included in the "typical"
>> >> >> package...
>> >> >> > You can select custom and check just to be safe.
>> >> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
>> >> select
>> >> >> it
>> >> >> > by
>> >> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>> >> >> > The installation will finish.
>> >> >> > if you have a manually copy and pasted entry in your jpos.xml for
>> >> the
>> >> >> > TM-T88IV, now is a good time to remove that entry.
>> >> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>> >> >> command
>> >> >> > When SetupPOS starts, you should notice that it only recognizes
>> one
>> >> >> device
>> >> >> > in the jpos.xml (thats because the rest are just generic and non
>> >> Epson)
>> >> >> > Add a device, select the POS printer you need (TM-T88IV) and save
>> >> the
>> >> >> > file.
>> >> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
>> >> file
>> >> >> > over
>> >> >> > to the directory.
>> >> >> > *****A small important note here. I've been told time and time
>> again
>> >> >> that
>> >> >> > if
>> >> >> > I'm planning on using RXTX that you need to modify that file to
>> use
>> >> it.
>> >> >>  I
>> >> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
>> >> changed
>> >> >> the
>> >> >> > way that their COMM.java works, but I left the file as is, using
>> the
>> >> >> > default
>> >> >> > driver and it worked.**** Take this for what you will though,
>> I've
>> >> >> heard
>> >> >> > mixed results.
>> >> >> > Run the script, load your printer (it should look for your
>> jpos.xml)
>> >> >> and
>> >> >> > hit
>> >> >> > test.  You should get a small slip (please make sure your printer
>> is
>> >> >> on!
>> >> >> > :P
>> >> >> > ) printed to tell you it worked.
>> >> >> >
>> >> >> > If it doesn't.... Before posting any errors, I would step back
>> once
>> >> >> more
>> >> >> > and
>> >> >> > try to get the blackbox application that comes with RXTX (or was
>> it
>> >> the
>> >> >> > javacomm API???) to work. just search for BlackBox, you'll find
>> it.
>> >>  If
>> >> >> > you
>> >> >> > get it to work, that will prove that the serial interface is
>> working
>> >> >> and
>> >> >> > it
>> >> >> > will continually print garble to the printer if it's working.
>> >> >> >
>> >> >> > Let me know if you can get this far... and we'll continue!
>> >> >> >
>> >> >> > Thanks
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> Sorry to say but really I forgot to select the jpos.xml file
>> from
>> >> my
>> >> >> >> ofbiz
>> >> >> >> application. I'm using EPSON TM-T88IV thermal printer in a
>> serial
>> >> >> >> interface.
>> >> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>> >> >> because
>> >> >> >> it
>> >> >> >> is not giving me any option for uninstall. I think you are right
>> >> >> because
>> >> >> >> my
>> >> >> >> printer is not working even with CheckHealth utility.
>> >> >> >>
>> >> >> >> If selecting jpos.xml from pos while the process if installation
>> >> >> modifies
>> >> >> >> the appropriate jar file, then it should really work on a fresh
>> >> >> >> installation. I'll now try to configure the same application on
>> a
>> >> >> >> different
>> >> >> >> PC along with Printer and ADK 1.9.4, will you please put some
>> light
>> >> on
>> >> >> >> the
>> >> >> >> correct path I should follow while this fresh configuration, I
>> >> don't
>> >> >> >> wanna
>> >> >> >> fail this time.
>> >> >> >>
>> >> >> >> I'm so happy that now a torchbearer is with me.
>> >> >> >>
>> >> >> >> Thanks Branden, thanx for all this.
>> >> >> >>
>> >> >> >> Ajey Kumar
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> Branden Strickland wrote:
>> >> >> >> >
>> >> >> >> > when you install JAVA ADK are you selecting the jpos.xml file
>> in
>> >> >> >> > /pos/config/jpos.xml to modify?
>> >> >> >> >
>> >> >> >> > Before getting the printer to work in ofbiz, you need to get
>> the
>> >> >> >> > Checkhealth
>> >> >> >> > script working.  You must specify at install the JPOS.xml file
>> so
>> >> >> that
>> >> >> >> the
>> >> >> >> > software can use it to edit the configuration, as well as
>> modify
>> >> the
>> >> >> >> > correct
>> >> >> >> > jar that contains the JCL information.
>> >> >> >> >
>> >> >> >> > Are you using serial?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> >> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >> >> >
>> >> >> >> >>
>> >> >> >> >> 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 <
>> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17982342.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-tp16459450p17984070.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes serial is the way...

Jacques

From: "Branden Strickland" <op...@gmail.com>
HAH!

Yeah thats it.  As of now, Epson ADK doesn't support parrallel.  Your DIP
switches are probably factory defaulted to Serial, and the communication
wires and protocols are day and night.  I would go to somewhere cheap,
purchase this<http://www.posguys.com/receipt-printer_12/Epson-TM-T88IV_694/C823361_5381/>.
It's the serial interface card for the tm-t88iv.  You can just slide the old
Parallel one out, (thats what I had to do, because mine came with it as
well!) and put the new serial one in.

I'm not suggesting going to posguys.  Where ever you want to buy it from is
obviously up to you, but you need to get that particular part, because using
hardware converters is NOT going to work....I've tried ;)

Hope this gets you running in the right direction.

On Wed, Jun 18, 2008 at 9:11 AM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> Branden,
>
> I forgot to let you know one thing, I think my problem is that I'm using
> LPT1. I got my EPSON TM-T88IV printer with parallel cable but SetupPOS
> doesn't have a port type option for parallel. How I can configure the
> printer with SetupPOS in this case?
>
> Is this the reason why I'm getting my printer status as always off? Can a
> right DB9 - DB25 cable and using serial COM1 instead will solve this issue?
>
> Thanks and regards,
>
> Ajey Kumar
>
>
>
>
> Branden Strickland wrote:
> >
> > are you sure your serial port is plugged in correctly and is enabled in
> > the
> > BIOS?
> >
> > We need to get that blackbox running before we do anything else.  There
> is
> > a
> > reason it's telling you it can't find the serial port.
> >
> >
> >
> > On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
> > ajey.kumar@palindromesoftware.com> wrote:
> >
> >>
> >> Branden, i tried to work with BlackBox, its showing the message "No
> >> Serial
> >> Port found" when I used this "java BlackBox" command.
> >>
> >> Also I placed the javax.comm.properties file to
> >> specialpurpose\pos\config,
> >> framework\base\config and framework\base\lib
> >>
> >> But the result is same, I'm not able to get my printer working. Suggest
> >> me
> >> the needful.
> >>
> >>
> >>
> >>
> >> Branden Strickland wrote:
> >> >
> >> > well the javax.comm.properties must be moved (or copied) to what ever
> >> root
> >> > directory (or added to the path I'm told?!?! but I'm not sure) you're
> >> > running stuff from.  Temporarily I have my javax.comm.properties in my
> >> > /ofbizROOT.  I was getting that "not described in XML" erorr and
> moving
> >> > the
> >> > file to the root OFBIZ directory fixed it.
> >> >
> >> > Have you tried getting the blackbox Java App to work?
> >> >
> >> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >
> >> >>
> >> >> I installed fresh java comm api and placed the files on following
> >> >> location:
> >> >>
> >> >> comm.jar is placed in:
> >> >>
> >> >>    %JAVA_HOME%/lib
> >> >>    %JAVA_HOME%/jre/lib/ext
> >> >>
> >> >> win32com.dll is placed in:
> >> >>
> >> >>    %JAVA_HOME%/bin
> >> >>    %JAVA_HOME%/jre/bin
> >> >>    %windir%System32
> >> >>
> >> >> javax.comm.properties in:
> >> >>
> >> >>    %JAVA_HOME%/lib
> >> >>    %JAVA_HOME%/jre/lib
> >> >>
> >> >> After that I also placed latest RXTX jars and DLL in my JDK folder
> >> like
> >> >> this:
> >> >>
> >> >> RXTXcomm.jar in \jre\lib\ext (under java)
> >> >> rxtxSerial.dll in \jre\bin
> >> >>
> >> >> I've also placed javax.comm.properties in setupPOS directory of
> EPSON.
> >> >>
> >> >> But again I'm getting the same exception when I'm trying to use
> >> >> CheckHealth:
> >> >>
> >> >> 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) ………………………………….
> >> >>
> >> >>
> >> >> But the exception is now changed when I'm trying to run my OFBiz
> >> >> application, its showing this:
> >> >>
> >> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
> >> >> CachedClassLoader created
> >> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
> >> >> [Startup] Starting containers...
> >> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
> >> >> ---- exception report
> >> >> ----------------------------------------------------------
> >> >> JPOS Exception
> >> >> Exception: jpos.JposException
> >> >> Message: The information is not described in XML.
> >> >> ---- stack trace
> >> >> ---------------------------------------------------------------
> >> >> jpos.JposException: The information is not described in XML.
> >> >>
> >>
> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
> >> >> Source)
> >> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
> >> >> ******************************************************
> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
> >> >> Please
> >> >> verify that your receipt printer is connected !
> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
> >> >> ******************************************************
> >> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
> >> >> ContainerLoader.java:93
> >> >> :INFO ] Shutting down containers
> >> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
> >> >> DeviceLoader.java:246: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:72)
> >> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
> >> >>
> >> >>
> >>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> >> >>
> >> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
> >> >> [JposDeviceContainer.java:68
> >> >> :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:247)
> >> >>
> >> >>
> >>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> >> >>
> >> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
> >> >> [JposDeviceContainer.java:70
> >> >> :INFO ] JPOS Devices released and closed
> >> >>
> >> >> I'm using all this on a PC having Windows XP and service pack 2. Am I
> >> in
> >> >> moving in the right way? I read that you also got this exception
> >> >> "jpos.JposException: The information is not described in XML", now
> >> what
> >> I
> >> >> can do to move further ith the integration?
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Branden Strickland wrote:
> >> >> >
> >> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
> >> >> > There should be an uninstall folder in there, with a script to get
> >> it
> >> >> off
> >> >> > of
> >> >> > your box.
> >> >> >
> >> >> > 2) On the clean install**
> >> >> > Run the installation
> >> >> > Install everything (which I think is included in the "typical"
> >> >> package...
> >> >> > You can select custom and check just to be safe.
> >> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
> >> select
> >> >> it
> >> >> > by
> >> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
> >> >> > The installation will finish.
> >> >> > if you have a manually copy and pasted entry in your jpos.xml for
> >> the
> >> >> > TM-T88IV, now is a good time to remove that entry.
> >> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
> >> >> command
> >> >> > When SetupPOS starts, you should notice that it only recognizes one
> >> >> device
> >> >> > in the jpos.xml (thats because the rest are just generic and non
> >> Epson)
> >> >> > Add a device, select the POS printer you need (TM-T88IV) and save
> >> the
> >> >> > file.
> >> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
> >> file
> >> >> > over
> >> >> > to the directory.
> >> >> > *****A small important note here. I've been told time and time
> again
> >> >> that
> >> >> > if
> >> >> > I'm planning on using RXTX that you need to modify that file to use
> >> it.
> >> >>  I
> >> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
> >> changed
> >> >> the
> >> >> > way that their COMM.java works, but I left the file as is, using
> the
> >> >> > default
> >> >> > driver and it worked.**** Take this for what you will though, I've
> >> >> heard
> >> >> > mixed results.
> >> >> > Run the script, load your printer (it should look for your
> jpos.xml)
> >> >> and
> >> >> > hit
> >> >> > test.  You should get a small slip (please make sure your printer
> is
> >> >> on!
> >> >> > :P
> >> >> > ) printed to tell you it worked.
> >> >> >
> >> >> > If it doesn't.... Before posting any errors, I would step back once
> >> >> more
> >> >> > and
> >> >> > try to get the blackbox application that comes with RXTX (or was it
> >> the
> >> >> > javacomm API???) to work. just search for BlackBox, you'll find it.
> >>  If
> >> >> > you
> >> >> > get it to work, that will prove that the serial interface is
> working
> >> >> and
> >> >> > it
> >> >> > will continually print garble to the printer if it's working.
> >> >> >
> >> >> > Let me know if you can get this far... and we'll continue!
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >> >
> >> >> >
> >> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
> >> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >> >
> >> >> >>
> >> >> >> Sorry to say but really I forgot to select the jpos.xml file from
> >> my
> >> >> >> ofbiz
> >> >> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
> >> >> >> interface.
> >> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
> >> >> because
> >> >> >> it
> >> >> >> is not giving me any option for uninstall. I think you are right
> >> >> because
> >> >> >> my
> >> >> >> printer is not working even with CheckHealth utility.
> >> >> >>
> >> >> >> If selecting jpos.xml from pos while the process if installation
> >> >> modifies
> >> >> >> the appropriate jar file, then it should really work on a fresh
> >> >> >> installation. I'll now try to configure the same application on a
> >> >> >> different
> >> >> >> PC along with Printer and ADK 1.9.4, will you please put some
> light
> >> on
> >> >> >> the
> >> >> >> correct path I should follow while this fresh configuration, I
> >> don't
> >> >> >> wanna
> >> >> >> fail this time.
> >> >> >>
> >> >> >> I'm so happy that now a torchbearer is with me.
> >> >> >>
> >> >> >> Thanks Branden, thanx for all this.
> >> >> >>
> >> >> >> Ajey Kumar
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> Branden Strickland wrote:
> >> >> >> >
> >> >> >> > when you install JAVA ADK are you selecting the jpos.xml file in
> >> >> >> > /pos/config/jpos.xml to modify?
> >> >> >> >
> >> >> >> > Before getting the printer to work in ofbiz, you need to get the
> >> >> >> > Checkhealth
> >> >> >> > script working.  You must specify at install the JPOS.xml file
> so
> >> >> that
> >> >> >> the
> >> >> >> > software can use it to edit the configuration, as well as modify
> >> the
> >> >> >> > correct
> >> >> >> > jar that contains the JCL information.
> >> >> >> >
> >> >> >> > Are you using serial?
> >> >> >> >
> >> >> >> >
> >> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
> >> >> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >> >> >
> >> >> >> >>
> >> >> >> >> 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 <
> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
> >> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17982342.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
HAH!

Yeah thats it.  As of now, Epson ADK doesn't support parrallel.  Your DIP
switches are probably factory defaulted to Serial, and the communication
wires and protocols are day and night.  I would go to somewhere cheap,
purchase this<http://www.posguys.com/receipt-printer_12/Epson-TM-T88IV_694/C823361_5381/>.
It's the serial interface card for the tm-t88iv.  You can just slide the old
Parallel one out, (thats what I had to do, because mine came with it as
well!) and put the new serial one in.

I'm not suggesting going to posguys.  Where ever you want to buy it from is
obviously up to you, but you need to get that particular part, because using
hardware converters is NOT going to work....I've tried ;)

Hope this gets you running in the right direction.

On Wed, Jun 18, 2008 at 9:11 AM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> Branden,
>
> I forgot to let you know one thing, I think my problem is that I'm using
> LPT1. I got my EPSON TM-T88IV printer with parallel cable but SetupPOS
> doesn't have a port type option for parallel. How I can configure the
> printer with SetupPOS in this case?
>
> Is this the reason why I'm getting my printer status as always off? Can a
> right DB9 - DB25 cable and using serial COM1 instead will solve this issue?
>
> Thanks and regards,
>
> Ajey Kumar
>
>
>
>
> Branden Strickland wrote:
> >
> > are you sure your serial port is plugged in correctly and is enabled in
> > the
> > BIOS?
> >
> > We need to get that blackbox running before we do anything else.  There
> is
> > a
> > reason it's telling you it can't find the serial port.
> >
> >
> >
> > On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
> > ajey.kumar@palindromesoftware.com> wrote:
> >
> >>
> >> Branden, i tried to work with BlackBox, its showing the message "No
> >> Serial
> >> Port found" when I used this "java BlackBox" command.
> >>
> >> Also I placed the javax.comm.properties file to
> >> specialpurpose\pos\config,
> >> framework\base\config and framework\base\lib
> >>
> >> But the result is same, I'm not able to get my printer working. Suggest
> >> me
> >> the needful.
> >>
> >>
> >>
> >>
> >> Branden Strickland wrote:
> >> >
> >> > well the javax.comm.properties must be moved (or copied) to what ever
> >> root
> >> > directory (or added to the path I'm told?!?! but I'm not sure) you're
> >> > running stuff from.  Temporarily I have my javax.comm.properties in my
> >> > /ofbizROOT.  I was getting that "not described in XML" erorr and
> moving
> >> > the
> >> > file to the root OFBIZ directory fixed it.
> >> >
> >> > Have you tried getting the blackbox Java App to work?
> >> >
> >> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >
> >> >>
> >> >> I installed fresh java comm api and placed the files on following
> >> >> location:
> >> >>
> >> >> comm.jar is placed in:
> >> >>
> >> >>    %JAVA_HOME%/lib
> >> >>    %JAVA_HOME%/jre/lib/ext
> >> >>
> >> >> win32com.dll is placed in:
> >> >>
> >> >>    %JAVA_HOME%/bin
> >> >>    %JAVA_HOME%/jre/bin
> >> >>    %windir%System32
> >> >>
> >> >> javax.comm.properties in:
> >> >>
> >> >>    %JAVA_HOME%/lib
> >> >>    %JAVA_HOME%/jre/lib
> >> >>
> >> >> After that I also placed latest RXTX jars and DLL in my JDK folder
> >> like
> >> >> this:
> >> >>
> >> >> RXTXcomm.jar in \jre\lib\ext (under java)
> >> >> rxtxSerial.dll in \jre\bin
> >> >>
> >> >> I've also placed javax.comm.properties in setupPOS directory of
> EPSON.
> >> >>
> >> >> But again I'm getting the same exception when I'm trying to use
> >> >> CheckHealth:
> >> >>
> >> >> 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) ………………………………….
> >> >>
> >> >>
> >> >> But the exception is now changed when I'm trying to run my OFBiz
> >> >> application, its showing this:
> >> >>
> >> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
> >> >> CachedClassLoader created
> >> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
> >> >> [Startup] Starting containers...
> >> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
> >> >> ---- exception report
> >> >> ----------------------------------------------------------
> >> >> JPOS Exception
> >> >> Exception: jpos.JposException
> >> >> Message: The information is not described in XML.
> >> >> ---- stack trace
> >> >> ---------------------------------------------------------------
> >> >> jpos.JposException: The information is not described in XML.
> >> >>
> >>
> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
> >> >> Source)
> >> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
> >> >> ******************************************************
> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
> >> >> Please
> >> >> verify that your receipt printer is connected !
> >> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
> >> >> ******************************************************
> >> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
> >> >> ContainerLoader.java:93
> >> >> :INFO ] Shutting down containers
> >> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
> >> >> DeviceLoader.java:246: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:72)
> >> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
> >> >>
> >> >>
> >>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> >> >>
> >> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
> >> >> [JposDeviceContainer.java:68
> >> >> :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:247)
> >> >>
> >> >>
> >>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> >> >>
> >> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
> >> >> [JposDeviceContainer.java:70
> >> >> :INFO ] JPOS Devices released and closed
> >> >>
> >> >> I'm using all this on a PC having Windows XP and service pack 2. Am I
> >> in
> >> >> moving in the right way? I read that you also got this exception
> >> >> "jpos.JposException: The information is not described in XML", now
> >> what
> >> I
> >> >> can do to move further ith the integration?
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Branden Strickland wrote:
> >> >> >
> >> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
> >> >> > There should be an uninstall folder in there, with a script to get
> >> it
> >> >> off
> >> >> > of
> >> >> > your box.
> >> >> >
> >> >> > 2) On the clean install**
> >> >> > Run the installation
> >> >> > Install everything (which I think is included in the "typical"
> >> >> package...
> >> >> > You can select custom and check just to be safe.
> >> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
> >> select
> >> >> it
> >> >> > by
> >> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
> >> >> > The installation will finish.
> >> >> > if you have a manually copy and pasted entry in your jpos.xml for
> >> the
> >> >> > TM-T88IV, now is a good time to remove that entry.
> >> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
> >> >> command
> >> >> > When SetupPOS starts, you should notice that it only recognizes one
> >> >> device
> >> >> > in the jpos.xml (thats because the rest are just generic and non
> >> Epson)
> >> >> > Add a device, select the POS printer you need (TM-T88IV) and save
> >> the
> >> >> > file.
> >> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
> >> file
> >> >> > over
> >> >> > to the directory.
> >> >> > *****A small important note here. I've been told time and time
> again
> >> >> that
> >> >> > if
> >> >> > I'm planning on using RXTX that you need to modify that file to use
> >> it.
> >> >>  I
> >> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
> >> changed
> >> >> the
> >> >> > way that their COMM.java works, but I left the file as is, using
> the
> >> >> > default
> >> >> > driver and it worked.**** Take this for what you will though, I've
> >> >> heard
> >> >> > mixed results.
> >> >> > Run the script, load your printer (it should look for your
> jpos.xml)
> >> >> and
> >> >> > hit
> >> >> > test.  You should get a small slip (please make sure your printer
> is
> >> >> on!
> >> >> > :P
> >> >> > ) printed to tell you it worked.
> >> >> >
> >> >> > If it doesn't.... Before posting any errors, I would step back once
> >> >> more
> >> >> > and
> >> >> > try to get the blackbox application that comes with RXTX (or was it
> >> the
> >> >> > javacomm API???) to work. just search for BlackBox, you'll find it.
> >>  If
> >> >> > you
> >> >> > get it to work, that will prove that the serial interface is
> working
> >> >> and
> >> >> > it
> >> >> > will continually print garble to the printer if it's working.
> >> >> >
> >> >> > Let me know if you can get this far... and we'll continue!
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >> >
> >> >> >
> >> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
> >> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >> >
> >> >> >>
> >> >> >> Sorry to say but really I forgot to select the jpos.xml file from
> >> my
> >> >> >> ofbiz
> >> >> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
> >> >> >> interface.
> >> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
> >> >> because
> >> >> >> it
> >> >> >> is not giving me any option for uninstall. I think you are right
> >> >> because
> >> >> >> my
> >> >> >> printer is not working even with CheckHealth utility.
> >> >> >>
> >> >> >> If selecting jpos.xml from pos while the process if installation
> >> >> modifies
> >> >> >> the appropriate jar file, then it should really work on a fresh
> >> >> >> installation. I'll now try to configure the same application on a
> >> >> >> different
> >> >> >> PC along with Printer and ADK 1.9.4, will you please put some
> light
> >> on
> >> >> >> the
> >> >> >> correct path I should follow while this fresh configuration, I
> >> don't
> >> >> >> wanna
> >> >> >> fail this time.
> >> >> >>
> >> >> >> I'm so happy that now a torchbearer is with me.
> >> >> >>
> >> >> >> Thanks Branden, thanx for all this.
> >> >> >>
> >> >> >> Ajey Kumar
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> Branden Strickland wrote:
> >> >> >> >
> >> >> >> > when you install JAVA ADK are you selecting the jpos.xml file in
> >> >> >> > /pos/config/jpos.xml to modify?
> >> >> >> >
> >> >> >> > Before getting the printer to work in ofbiz, you need to get the
> >> >> >> > Checkhealth
> >> >> >> > script working.  You must specify at install the JPOS.xml file
> so
> >> >> that
> >> >> >> the
> >> >> >> > software can use it to edit the configuration, as well as modify
> >> the
> >> >> >> > correct
> >> >> >> > jar that contains the JCL information.
> >> >> >> >
> >> >> >> > Are you using serial?
> >> >> >> >
> >> >> >> >
> >> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
> >> >> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >> >> >
> >> >> >> >>
> >> >> >> >> 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 <
> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
> >> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17982342.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Branden, 

I forgot to let you know one thing, I think my problem is that I'm using
LPT1. I got my EPSON TM-T88IV printer with parallel cable but SetupPOS
doesn't have a port type option for parallel. How I can configure the
printer with SetupPOS in this case?

Is this the reason why I'm getting my printer status as always off? Can a
right DB9 - DB25 cable and using serial COM1 instead will solve this issue?

Thanks and regards,

Ajey Kumar




Branden Strickland wrote:
> 
> are you sure your serial port is plugged in correctly and is enabled in
> the
> BIOS?
> 
> We need to get that blackbox running before we do anything else.  There is
> a
> reason it's telling you it can't find the serial port.
> 
> 
> 
> On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> Branden, i tried to work with BlackBox, its showing the message "No
>> Serial
>> Port found" when I used this "java BlackBox" command.
>>
>> Also I placed the javax.comm.properties file to
>> specialpurpose\pos\config,
>> framework\base\config and framework\base\lib
>>
>> But the result is same, I'm not able to get my printer working. Suggest
>> me
>> the needful.
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > well the javax.comm.properties must be moved (or copied) to what ever
>> root
>> > directory (or added to the path I'm told?!?! but I'm not sure) you're
>> > running stuff from.  Temporarily I have my javax.comm.properties in my
>> > /ofbizROOT.  I was getting that "not described in XML" erorr and moving
>> > the
>> > file to the root OFBIZ directory fixed it.
>> >
>> > Have you tried getting the blackbox Java App to work?
>> >
>> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> I installed fresh java comm api and placed the files on following
>> >> location:
>> >>
>> >> comm.jar is placed in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib/ext
>> >>
>> >> win32com.dll is placed in:
>> >>
>> >>    %JAVA_HOME%/bin
>> >>    %JAVA_HOME%/jre/bin
>> >>    %windir%System32
>> >>
>> >> javax.comm.properties in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib
>> >>
>> >> After that I also placed latest RXTX jars and DLL in my JDK folder
>> like
>> >> this:
>> >>
>> >> RXTXcomm.jar in \jre\lib\ext (under java)
>> >> rxtxSerial.dll in \jre\bin
>> >>
>> >> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>> >>
>> >> But again I'm getting the same exception when I'm trying to use
>> >> CheckHealth:
>> >>
>> >> 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) ………………………………….
>> >>
>> >>
>> >> But the exception is now changed when I'm trying to run my OFBiz
>> >> application, its showing this:
>> >>
>> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
>> >> CachedClassLoader created
>> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>> >> [Startup] Starting containers...
>> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>> >> ---- exception report
>> >> ----------------------------------------------------------
>> >> JPOS Exception
>> >> Exception: jpos.JposException
>> >> Message: The information is not described in XML.
>> >> ---- stack trace
>> >> ---------------------------------------------------------------
>> >> jpos.JposException: The information is not described in XML.
>> >>
>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>> >> Source)
>> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>> >> Please
>> >> verify that your receipt printer is connected !
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>> >> ContainerLoader.java:93
>> >> :INFO ] Shutting down containers
>> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>> >> DeviceLoader.java:246: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:72)
>> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:68
>> >> :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:247)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:70
>> >> :INFO ] JPOS Devices released and closed
>> >>
>> >> I'm using all this on a PC having Windows XP and service pack 2. Am I
>> in
>> >> moving in the right way? I read that you also got this exception
>> >> "jpos.JposException: The information is not described in XML", now
>> what
>> I
>> >> can do to move further ith the integration?
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
>> >> > There should be an uninstall folder in there, with a script to get
>> it
>> >> off
>> >> > of
>> >> > your box.
>> >> >
>> >> > 2) On the clean install**
>> >> > Run the installation
>> >> > Install everything (which I think is included in the "typical"
>> >> package...
>> >> > You can select custom and check just to be safe.
>> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
>> select
>> >> it
>> >> > by
>> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>> >> > The installation will finish.
>> >> > if you have a manually copy and pasted entry in your jpos.xml for
>> the
>> >> > TM-T88IV, now is a good time to remove that entry.
>> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>> >> command
>> >> > When SetupPOS starts, you should notice that it only recognizes one
>> >> device
>> >> > in the jpos.xml (thats because the rest are just generic and non
>> Epson)
>> >> > Add a device, select the POS printer you need (TM-T88IV) and save
>> the
>> >> > file.
>> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
>> file
>> >> > over
>> >> > to the directory.
>> >> > *****A small important note here. I've been told time and time again
>> >> that
>> >> > if
>> >> > I'm planning on using RXTX that you need to modify that file to use
>> it.
>> >>  I
>> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
>> changed
>> >> the
>> >> > way that their COMM.java works, but I left the file as is, using the
>> >> > default
>> >> > driver and it worked.**** Take this for what you will though, I've
>> >> heard
>> >> > mixed results.
>> >> > Run the script, load your printer (it should look for your jpos.xml)
>> >> and
>> >> > hit
>> >> > test.  You should get a small slip (please make sure your printer is
>> >> on!
>> >> > :P
>> >> > ) printed to tell you it worked.
>> >> >
>> >> > If it doesn't.... Before posting any errors, I would step back once
>> >> more
>> >> > and
>> >> > try to get the blackbox application that comes with RXTX (or was it
>> the
>> >> > javacomm API???) to work. just search for BlackBox, you'll find it.
>>  If
>> >> > you
>> >> > get it to work, that will prove that the serial interface is working
>> >> and
>> >> > it
>> >> > will continually print garble to the printer if it's working.
>> >> >
>> >> > Let me know if you can get this far... and we'll continue!
>> >> >
>> >> > Thanks
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> Sorry to say but really I forgot to select the jpos.xml file from
>> my
>> >> >> ofbiz
>> >> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
>> >> >> interface.
>> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>> >> because
>> >> >> it
>> >> >> is not giving me any option for uninstall. I think you are right
>> >> because
>> >> >> my
>> >> >> printer is not working even with CheckHealth utility.
>> >> >>
>> >> >> If selecting jpos.xml from pos while the process if installation
>> >> modifies
>> >> >> the appropriate jar file, then it should really work on a fresh
>> >> >> installation. I'll now try to configure the same application on a
>> >> >> different
>> >> >> PC along with Printer and ADK 1.9.4, will you please put some light
>> on
>> >> >> the
>> >> >> correct path I should follow while this fresh configuration, I
>> don't
>> >> >> wanna
>> >> >> fail this time.
>> >> >>
>> >> >> I'm so happy that now a torchbearer is with me.
>> >> >>
>> >> >> Thanks Branden, thanx for all this.
>> >> >>
>> >> >> Ajey Kumar
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Branden Strickland wrote:
>> >> >> >
>> >> >> > when you install JAVA ADK are you selecting the jpos.xml file in
>> >> >> > /pos/config/jpos.xml to modify?
>> >> >> >
>> >> >> > Before getting the printer to work in ofbiz, you need to get the
>> >> >> > Checkhealth
>> >> >> > script working.  You must specify at install the JPOS.xml file so
>> >> that
>> >> >> the
>> >> >> > software can use it to edit the configuration, as well as modify
>> the
>> >> >> > correct
>> >> >> > jar that contains the JCL information.
>> >> >> >
>> >> >> > Are you using serial?
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> 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 <
>> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17982342.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


RE: Product Upload

Posted by Rajeev Gupta <ra...@hytechpro.com>.
Raj/Ashish
That was useful.
-----Original Message-----
From: Ashish Vijaywargiya [mailto:vijaywargiya.ashish@gmail.com] 
Sent: Wednesday, June 18, 2008 6:33 AM
To: user@ofbiz.apache.org
Subject: Re: Product Upload

No Problem Buddy :-).

--
Ashish

On Wed, Jun 18, 2008 at 5:47 AM, Raj Saini <ra...@gmail.com> wrote:

> Sorry, yes I mean CSV. Thanks Ashish.
>
> Raj
>
>
>
> Ashish Vijaywargiya wrote:
>
>> Rajeev,
>>
>>
>>
>>> Other option is use cvs.
>>>>
>>>>
>>>
>> I think it will be CSV. :-)
>> Here comes the link for Data File tool.
>>
http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools<http://docs.o
fbiz.org/display/%7Ejacopoc/OFBiz%27s+Data+File+Tools>
>>
>> If you would like to import your data from spreadsheet then following
JIRA
>> issue can be of help for you.
>> https://issues.apache.org/jira/browse/OFBIZ-1810
>>
>> I had put the code from above jira issue into the trunk in rev # 663627.
>> That code is only a sample code.You can customize that code according to
>> your need.
>>
>> --
>> Ashish
>>
>> On Wed, Jun 18, 2008 at 12:09 AM, Raj Saini <ra...@gmail.com> wrote:
>>
>>
>>
>>> Rajeev,
>>>
>>> It depends on which format your product database is available. Entity
>>> engine import is the best and it works like a charm. You will need to
>>> have
>>> your products in entity-engine format file. You can look at the demo
data
>>> in
>>> the e-commerce component how data is formatted in xml.
>>>
>>> Other option is use cvs. There is a datafile tool in webtools. I have
not
>>> played much with it but you can find more information on Nabble or
>>> Google.
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>> Rajeev Gupta wrote:
>>>
>>>
>>>
>>>> We have about 10000 products. What's the best way to add these many
>>>> products? Could some body guide about the tables that we need to look
>>>> up?
>>>>
>>>> Is there any product import tool?
>>>>
>>>>
>>>>
>>>> u
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>



Re: Product Upload

Posted by Ashish Vijaywargiya <vi...@gmail.com>.
No Problem Buddy :-).

--
Ashish

On Wed, Jun 18, 2008 at 5:47 AM, Raj Saini <ra...@gmail.com> wrote:

> Sorry, yes I mean CSV. Thanks Ashish.
>
> Raj
>
>
>
> Ashish Vijaywargiya wrote:
>
>> Rajeev,
>>
>>
>>
>>> Other option is use cvs.
>>>>
>>>>
>>>
>> I think it will be CSV. :-)
>> Here comes the link for Data File tool.
>> http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools<http://docs.ofbiz.org/display/%7Ejacopoc/OFBiz%27s+Data+File+Tools>
>>
>> If you would like to import your data from spreadsheet then following JIRA
>> issue can be of help for you.
>> https://issues.apache.org/jira/browse/OFBIZ-1810
>>
>> I had put the code from above jira issue into the trunk in rev # 663627.
>> That code is only a sample code.You can customize that code according to
>> your need.
>>
>> --
>> Ashish
>>
>> On Wed, Jun 18, 2008 at 12:09 AM, Raj Saini <ra...@gmail.com> wrote:
>>
>>
>>
>>> Rajeev,
>>>
>>> It depends on which format your product database is available. Entity
>>> engine import is the best and it works like a charm. You will need to
>>> have
>>> your products in entity-engine format file. You can look at the demo data
>>> in
>>> the e-commerce component how data is formatted in xml.
>>>
>>> Other option is use cvs. There is a datafile tool in webtools. I have not
>>> played much with it but you can find more information on Nabble or
>>> Google.
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>> Rajeev Gupta wrote:
>>>
>>>
>>>
>>>> We have about 10000 products. What's the best way to add these many
>>>> products? Could some body guide about the tables that we need to look
>>>> up?
>>>>
>>>> Is there any product import tool?
>>>>
>>>>
>>>>
>>>> u
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>

Re: Product Upload

Posted by Raj Saini <ra...@gmail.com>.
Sorry, yes I mean CSV. Thanks Ashish.

Raj


Ashish Vijaywargiya wrote:
> Rajeev,
>
>   
>>> Other option is use cvs.
>>>       
>
> I think it will be CSV. :-)
> Here comes the link for Data File tool.
> http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools
>
> If you would like to import your data from spreadsheet then following JIRA
> issue can be of help for you.
> https://issues.apache.org/jira/browse/OFBIZ-1810
>
> I had put the code from above jira issue into the trunk in rev # 663627.
> That code is only a sample code.You can customize that code according to
> your need.
>
> --
> Ashish
>
> On Wed, Jun 18, 2008 at 12:09 AM, Raj Saini <ra...@gmail.com> wrote:
>
>   
>> Rajeev,
>>
>> It depends on which format your product database is available. Entity
>> engine import is the best and it works like a charm. You will need to have
>> your products in entity-engine format file. You can look at the demo data in
>> the e-commerce component how data is formatted in xml.
>>
>> Other option is use cvs. There is a datafile tool in webtools. I have not
>> played much with it but you can find more information on Nabble or Google.
>>
>> Thanks,
>>
>> Raj
>>
>> Rajeev Gupta wrote:
>>
>>     
>>> We have about 10000 products. What's the best way to add these many
>>> products? Could some body guide about the tables that we need to look up?
>>>
>>> Is there any product import tool?
>>>
>>>
>>>
>>> u
>>>
>>>       
>>     
>
>   


Re: Product Upload

Posted by Ashish Vijaywargiya <vi...@gmail.com>.
Rajeev,

>> Other option is use cvs.

I think it will be CSV. :-)
Here comes the link for Data File tool.
http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools

If you would like to import your data from spreadsheet then following JIRA
issue can be of help for you.
https://issues.apache.org/jira/browse/OFBIZ-1810

I had put the code from above jira issue into the trunk in rev # 663627.
That code is only a sample code.You can customize that code according to
your need.

--
Ashish

On Wed, Jun 18, 2008 at 12:09 AM, Raj Saini <ra...@gmail.com> wrote:

> Rajeev,
>
> It depends on which format your product database is available. Entity
> engine import is the best and it works like a charm. You will need to have
> your products in entity-engine format file. You can look at the demo data in
> the e-commerce component how data is formatted in xml.
>
> Other option is use cvs. There is a datafile tool in webtools. I have not
> played much with it but you can find more information on Nabble or Google.
>
> Thanks,
>
> Raj
>
> Rajeev Gupta wrote:
>
>> We have about 10000 products. What's the best way to add these many
>> products? Could some body guide about the tables that we need to look up?
>>
>> Is there any product import tool?
>>
>>
>>
>> u
>>
>
>

Re: Product Upload

Posted by to...@gmail.com.
 Rajeev,

Here are tables that you need to look up for Products setting.

<ProdCatalog prodCatalogId="DemoCatalog" catalogName="Demo Catalog"
useQuickAdd="Y"/>

<ProductStoreCatalog productStoreId="10000" prodCatalogId="DemoCatalog"
fromDate="2001-05-13 12:00:00.0" sequenceNum="1"/>

<ProductCategory categoryName="Demo Browse Root" productCategoryId=
"DEMO_BRWS_ROOT" description="Demo Browse Root"
    productCategoryTypeId="CATALOG_CATEGORY"/>

<ProdCatalogCategory prodCatalogId="DemoCatalog" productCategoryId=
"DEMO_BRWS_ROOT" fromDate="2001-05-13 12:00:00.0" sequenceNum="1"
    prodCatalogCategoryTypeId="PCCT_BROWSE_ROOT"/>

<ProdCatalogCategory prodCatalogId="DemoCatalog" productCategoryId=
"PROMOTIONS" fromDate="2001-05-13 12:00:00.0"  sequenceNum="1"
 prodCatalogCategoryTypeId="PCCT_PROMOTIONS"/>

<ProductCategory productCategoryId="DEMO" categoryName="Demo Category"
description="Demo Main Category"
    primaryParentCategoryId="DEMO_BRWS_ROOT" productCategoryTypeId=
"CATALOG_CATEGORY"/>

<Product productId="Demo-101" productTypeId="DIGITAL_GOOD"
primaryProductCategoryId="DEMO_BRWS_ROOT" productName="Demo PC"
    internalName="Demo PC" description="Demo PC"  taxable="Y"
chargeShipping="N" autoCreateKeywords="Y" isVirtual="N" isVariant="N"
    createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin"
lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin="admin">
    <longDescription><![CDATA[ ]]></longDescription>
</Product>

<ProductPrice productId="Demo-101" productPricePurposeId="PURCHASE"
productPriceTypeId="DEFAULT_PRICE" currencyUomId="USD"
    productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" price="99"
createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin"
    lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin="admin"/>


<ProductPrice productId="Demo-101" productPricePurposeId="PURCHASE"
productPriceTypeId="LIST_PRICE" currencyUomId="USD" productStoreGroupId=
"_NA_"
    fromDate="2001-05-13 12:00:00.0" price="99" createdDate="2001-05-13
12:00:00.0" createdByUserLogin="admin" lastModifiedDate="2001-05-13
12:00:00.0"
    lastModifiedByUserLogin="admin"/>

<ProductCategoryMember productCategoryId="DEMO_BRWS_ROOT" productId=
"Demo-101" fromDate="2001-05-13 12:00:00.0"/>

I hope it will be useful for you.
On 6/18/08, Raj Saini <ra...@gmail.com> wrote:
>
> Rajeev,
>
> It depends on which format your product database is available. Entity
> engine import is the best and it works like a charm. You will need to have
> your products in entity-engine format file. You can look at the demo data in
> the e-commerce component how data is formatted in xml.
>
> Other option is use cvs. There is a datafile tool in webtools. I have not
> played much with it but you can find more information on Nabble or Google.
>
> Thanks,
>
> Raj
>
> Rajeev Gupta wrote:
>
>> We have about 10000 products. What's the best way to add these many
>> products? Could some body guide about the tables that we need to look up?
>>
>> Is there any product import tool?
>>
>>
>>
>> u
>>
>
>


-- 
Anil Soni
Software Engineer
Amicon Technologies Private Limited
6th Floor - Unique Tower, Behind Patel Patrol Pump,
Goregaon (W), Mumbai MH
Contact no.- +91-9892271357

Re: Product Upload

Posted by Raj Saini <ra...@gmail.com>.
Rajeev,

It depends on which format your product database is available. Entity 
engine import is the best and it works like a charm. You will need to 
have your products in entity-engine format file. You can look at the 
demo data in the e-commerce component how data is formatted in xml.

Other option is use cvs. There is a datafile tool in webtools. I have 
not played much with it but you can find more information on Nabble or 
Google.

Thanks,

Raj

Rajeev Gupta wrote:
> We have about 10000 products. What's the best way to add these many products? Could some body guide about the tables that we need to look up?
>
> Is there any product import tool?
>
>
>
> u


Re: Product Upload

Posted by BJ Freeman <bj...@free-man.net>.
you can look at the demoproducts.xml for how to import using xml and the
 entities to use.
if you have flat file you can import using
http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools
if you have an excel file you can write a import class.


Rajeev Gupta sent the following on 6/17/2008 3:33 PM:
> We have about 10000 products. What's the best way to add these many products? Could some body guide about the tables that we need to look up?
> 
> Is there any product import tool?
> 
> 
> 
> 
> 


Product Upload

Posted by Rajeev Gupta <ra...@hytechpro.com>.
We have about 10000 products. What's the best way to add these many products? Could some body guide about the tables that we need to look up?

Is there any product import tool?



Physical Inventory

Posted by Rajeev Gupta <ra...@hytechpro.com>.
David,

 

You had created the initial information for physical inventory. Do you know if there is any other help you may provide?

 

http://docs.ofbiz.org/display/OFBENDUSER/Physical+Inventory+Adjustment

 

Our objective:

1)  We like to setup initial inventory for products by scanning the products in our store. So somebody will carry the scanner around in the store and customer expectation is that it will set the values for initial inventory.

2)  We should be able to provide a way so that they do this physical inventory on a regular basis.

 

 

 




Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Branden,

I modified the classpath with this settings and got the serial port working:

set CLASSPATH=C:\Program Files\Java\jdk1.5.0_09\lib;C:\Program
Files\Java\jdk1.5.0_09\lib\comm.jar;
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_09
set JAVA_LIB=F:\java_lib (the javacomm API)
set Path=C:\Program
Files\Java\jdk1.5.0_09\bin;C:\WINDOWS\system32;C:\WINDOWS;
set CLASSPATH=%JAVA_LIB%\commapi\samples\BlackBox\BlackBox.jar;%CLASSPATH%

The CheckHealth utility is still showing the same exception that the device
is off and has no power supply.

Now when i tried to start my OFBiz application, i got the following
exception:

2008-06-18 02:32:04,593 (main) [ClassLoaderContainer.java:50 :INFO ]
CachedClassLoader created
2008-06-18 02:32:06,031 (main) [    ContainerLoader.java:74 :INFO ]
[Startup] Starting containers...
2008-06-18 02:32:09,078 (main) [       DeviceLoader.java:123:ERROR] 
---- exception report
----------------------------------------------------------
JPOS Exception
Exception: jpos.JposException
Message: The power supply of the device is off.
---- stack trace
---------------------------------------------------------------
jpos.JposException: The power supply of the device is off.
jp.co.epson.upos.pntr.init.AbstractPrinterInitialization.getRealtimeStatus(Unknown
Source)
jp.co.epson.upos.pntr.init.AbstractPrinterInitialization.getPrinterStatus(Unknown
Source)
jp.co.epson.upos.pntr.init.AbstractPrinterInitialization.getPrinterStatus(Unknown
Source)
jp.co.epson.upos.pntr.init.AbstractPrinterInitialization.initializeCommon(Unknown
Source)
jp.co.epson.upos.pntr.init.AbstractPrinterInitialization.initialize(Unknown
Source)
jp.co.epson.upos.pntr.init.AbstractPrinterInitialization.initializeDevice(Unknown
Source)
jp.co.epson.upos.pntr.CommonPrinterService.initializePrinter(Unknown Source)
jp.co.epson.upos.pntr.CommonPrinterService.initializeDevice(Unknown Source)
jp.co.epson.upos.pntr.CommonPrinterService.claimDevice(Unknown Source)
jp.co.epson.upos.pntr.CommonPrinterService.claim(Unknown Source)
jpos.BaseJposControl.claim(Unknown Source)
org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:48)
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-18 02:32:09,218 (main) [JposDeviceContainer.java:54 :INFO ]
******************************************************
2008-06-18 02:32:09,218 (main) [JposDeviceContainer.java:55 :INFO ] Please
verify that your receipt printer is connected !
2008-06-18 02:32:09,218 (main) [JposDeviceContainer.java:56 :INFO ]
******************************************************
2008-06-18 02:32:09,437 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:93
:INFO ] Shutting down containers
2008-06-18 02:32:09,453 (OFBiz_Shutdown_Hook) [      
DeviceLoader.java:246:ERROR] 
---- exception report
----------------------------------------------------------
JPOS Exception
Exception: jpos.JposException
Message: The exclusive access right had not been acquired.
---- stack trace
---------------------------------------------------------------
jpos.JposException: The exclusive access right had not been acquired.
jp.co.epson.upos.pntr.CommonPrinterService.release(Unknown Source)
jpos.BaseJposControl.release(Unknown Source)
org.ofbiz.pos.device.GenericDevice.close(GenericDevice.java:72)
org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
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-06-18 02:32:09,531 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:68
: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:247)
org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
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-06-18 02:32:09,593 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:70
:INFO ] JPOS Devices released and closed.

I think, if my printer will start working with CheckHealth utility, it will
also work with the OFBiz application because now both are throwing the same
exception.

Please put your comments, I'm excited.





Branden Strickland wrote:
> 
> are you sure your serial port is plugged in correctly and is enabled in
> the
> BIOS?
> 
> We need to get that blackbox running before we do anything else.  There is
> a
> reason it's telling you it can't find the serial port.
> 
> 
> 
> On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> Branden, i tried to work with BlackBox, its showing the message "No
>> Serial
>> Port found" when I used this "java BlackBox" command.
>>
>> Also I placed the javax.comm.properties file to
>> specialpurpose\pos\config,
>> framework\base\config and framework\base\lib
>>
>> But the result is same, I'm not able to get my printer working. Suggest
>> me
>> the needful.
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > well the javax.comm.properties must be moved (or copied) to what ever
>> root
>> > directory (or added to the path I'm told?!?! but I'm not sure) you're
>> > running stuff from.  Temporarily I have my javax.comm.properties in my
>> > /ofbizROOT.  I was getting that "not described in XML" erorr and moving
>> > the
>> > file to the root OFBIZ directory fixed it.
>> >
>> > Have you tried getting the blackbox Java App to work?
>> >
>> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> I installed fresh java comm api and placed the files on following
>> >> location:
>> >>
>> >> comm.jar is placed in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib/ext
>> >>
>> >> win32com.dll is placed in:
>> >>
>> >>    %JAVA_HOME%/bin
>> >>    %JAVA_HOME%/jre/bin
>> >>    %windir%System32
>> >>
>> >> javax.comm.properties in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib
>> >>
>> >> After that I also placed latest RXTX jars and DLL in my JDK folder
>> like
>> >> this:
>> >>
>> >> RXTXcomm.jar in \jre\lib\ext (under java)
>> >> rxtxSerial.dll in \jre\bin
>> >>
>> >> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>> >>
>> >> But again I'm getting the same exception when I'm trying to use
>> >> CheckHealth:
>> >>
>> >> 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) ………………………………….
>> >>
>> >>
>> >> But the exception is now changed when I'm trying to run my OFBiz
>> >> application, its showing this:
>> >>
>> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
>> >> CachedClassLoader created
>> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>> >> [Startup] Starting containers...
>> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>> >> ---- exception report
>> >> ----------------------------------------------------------
>> >> JPOS Exception
>> >> Exception: jpos.JposException
>> >> Message: The information is not described in XML.
>> >> ---- stack trace
>> >> ---------------------------------------------------------------
>> >> jpos.JposException: The information is not described in XML.
>> >>
>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>> >> Source)
>> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>> >> Please
>> >> verify that your receipt printer is connected !
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>> >> ContainerLoader.java:93
>> >> :INFO ] Shutting down containers
>> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>> >> DeviceLoader.java:246: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:72)
>> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:68
>> >> :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:247)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:70
>> >> :INFO ] JPOS Devices released and closed
>> >>
>> >> I'm using all this on a PC having Windows XP and service pack 2. Am I
>> in
>> >> moving in the right way? I read that you also got this exception
>> >> "jpos.JposException: The information is not described in XML", now
>> what
>> I
>> >> can do to move further ith the integration?
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
>> >> > There should be an uninstall folder in there, with a script to get
>> it
>> >> off
>> >> > of
>> >> > your box.
>> >> >
>> >> > 2) On the clean install**
>> >> > Run the installation
>> >> > Install everything (which I think is included in the "typical"
>> >> package...
>> >> > You can select custom and check just to be safe.
>> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
>> select
>> >> it
>> >> > by
>> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>> >> > The installation will finish.
>> >> > if you have a manually copy and pasted entry in your jpos.xml for
>> the
>> >> > TM-T88IV, now is a good time to remove that entry.
>> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>> >> command
>> >> > When SetupPOS starts, you should notice that it only recognizes one
>> >> device
>> >> > in the jpos.xml (thats because the rest are just generic and non
>> Epson)
>> >> > Add a device, select the POS printer you need (TM-T88IV) and save
>> the
>> >> > file.
>> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
>> file
>> >> > over
>> >> > to the directory.
>> >> > *****A small important note here. I've been told time and time again
>> >> that
>> >> > if
>> >> > I'm planning on using RXTX that you need to modify that file to use
>> it.
>> >>  I
>> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
>> changed
>> >> the
>> >> > way that their COMM.java works, but I left the file as is, using the
>> >> > default
>> >> > driver and it worked.**** Take this for what you will though, I've
>> >> heard
>> >> > mixed results.
>> >> > Run the script, load your printer (it should look for your jpos.xml)
>> >> and
>> >> > hit
>> >> > test.  You should get a small slip (please make sure your printer is
>> >> on!
>> >> > :P
>> >> > ) printed to tell you it worked.
>> >> >
>> >> > If it doesn't.... Before posting any errors, I would step back once
>> >> more
>> >> > and
>> >> > try to get the blackbox application that comes with RXTX (or was it
>> the
>> >> > javacomm API???) to work. just search for BlackBox, you'll find it.
>>  If
>> >> > you
>> >> > get it to work, that will prove that the serial interface is working
>> >> and
>> >> > it
>> >> > will continually print garble to the printer if it's working.
>> >> >
>> >> > Let me know if you can get this far... and we'll continue!
>> >> >
>> >> > Thanks
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> Sorry to say but really I forgot to select the jpos.xml file from
>> my
>> >> >> ofbiz
>> >> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
>> >> >> interface.
>> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>> >> because
>> >> >> it
>> >> >> is not giving me any option for uninstall. I think you are right
>> >> because
>> >> >> my
>> >> >> printer is not working even with CheckHealth utility.
>> >> >>
>> >> >> If selecting jpos.xml from pos while the process if installation
>> >> modifies
>> >> >> the appropriate jar file, then it should really work on a fresh
>> >> >> installation. I'll now try to configure the same application on a
>> >> >> different
>> >> >> PC along with Printer and ADK 1.9.4, will you please put some light
>> on
>> >> >> the
>> >> >> correct path I should follow while this fresh configuration, I
>> don't
>> >> >> wanna
>> >> >> fail this time.
>> >> >>
>> >> >> I'm so happy that now a torchbearer is with me.
>> >> >>
>> >> >> Thanks Branden, thanx for all this.
>> >> >>
>> >> >> Ajey Kumar
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Branden Strickland wrote:
>> >> >> >
>> >> >> > when you install JAVA ADK are you selecting the jpos.xml file in
>> >> >> > /pos/config/jpos.xml to modify?
>> >> >> >
>> >> >> > Before getting the printer to work in ofbiz, you need to get the
>> >> >> > Checkhealth
>> >> >> > script working.  You must specify at install the JPOS.xml file so
>> >> that
>> >> >> the
>> >> >> > software can use it to edit the configuration, as well as modify
>> the
>> >> >> > correct
>> >> >> > jar that contains the JCL information.
>> >> >> >
>> >> >> > Are you using serial?
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> 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 <
>> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17937742.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
I checked for the BIOS, serial port is enabled and having properly addressed.



Branden Strickland wrote:
> 
> are you sure your serial port is plugged in correctly and is enabled in
> the
> BIOS?
> 
> We need to get that blackbox running before we do anything else.  There is
> a
> reason it's telling you it can't find the serial port.
> 
> 
> 
> On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> Branden, i tried to work with BlackBox, its showing the message "No
>> Serial
>> Port found" when I used this "java BlackBox" command.
>>
>> Also I placed the javax.comm.properties file to
>> specialpurpose\pos\config,
>> framework\base\config and framework\base\lib
>>
>> But the result is same, I'm not able to get my printer working. Suggest
>> me
>> the needful.
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > well the javax.comm.properties must be moved (or copied) to what ever
>> root
>> > directory (or added to the path I'm told?!?! but I'm not sure) you're
>> > running stuff from.  Temporarily I have my javax.comm.properties in my
>> > /ofbizROOT.  I was getting that "not described in XML" erorr and moving
>> > the
>> > file to the root OFBIZ directory fixed it.
>> >
>> > Have you tried getting the blackbox Java App to work?
>> >
>> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> I installed fresh java comm api and placed the files on following
>> >> location:
>> >>
>> >> comm.jar is placed in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib/ext
>> >>
>> >> win32com.dll is placed in:
>> >>
>> >>    %JAVA_HOME%/bin
>> >>    %JAVA_HOME%/jre/bin
>> >>    %windir%System32
>> >>
>> >> javax.comm.properties in:
>> >>
>> >>    %JAVA_HOME%/lib
>> >>    %JAVA_HOME%/jre/lib
>> >>
>> >> After that I also placed latest RXTX jars and DLL in my JDK folder
>> like
>> >> this:
>> >>
>> >> RXTXcomm.jar in \jre\lib\ext (under java)
>> >> rxtxSerial.dll in \jre\bin
>> >>
>> >> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>> >>
>> >> But again I'm getting the same exception when I'm trying to use
>> >> CheckHealth:
>> >>
>> >> 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) ………………………………….
>> >>
>> >>
>> >> But the exception is now changed when I'm trying to run my OFBiz
>> >> application, its showing this:
>> >>
>> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
>> >> CachedClassLoader created
>> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>> >> [Startup] Starting containers...
>> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>> >> ---- exception report
>> >> ----------------------------------------------------------
>> >> JPOS Exception
>> >> Exception: jpos.JposException
>> >> Message: The information is not described in XML.
>> >> ---- stack trace
>> >> ---------------------------------------------------------------
>> >> jpos.JposException: The information is not described in XML.
>> >>
>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>> >> Source)
>> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>> >> Please
>> >> verify that your receipt printer is connected !
>> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>> >> ******************************************************
>> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>> >> ContainerLoader.java:93
>> >> :INFO ] Shutting down containers
>> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>> >> DeviceLoader.java:246: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:72)
>> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:68
>> >> :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:247)
>> >>
>> >>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> >>
>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>> >> [JposDeviceContainer.java:70
>> >> :INFO ] JPOS Devices released and closed
>> >>
>> >> I'm using all this on a PC having Windows XP and service pack 2. Am I
>> in
>> >> moving in the right way? I read that you also got this exception
>> >> "jpos.JposException: The information is not described in XML", now
>> what
>> I
>> >> can do to move further ith the integration?
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
>> >> > There should be an uninstall folder in there, with a script to get
>> it
>> >> off
>> >> > of
>> >> > your box.
>> >> >
>> >> > 2) On the clean install**
>> >> > Run the installation
>> >> > Install everything (which I think is included in the "typical"
>> >> package...
>> >> > You can select custom and check just to be safe.
>> >> > It will ask you if you have an existing jpos.xml.  Say yes, and
>> select
>> >> it
>> >> > by
>> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>> >> > The installation will finish.
>> >> > if you have a manually copy and pasted entry in your jpos.xml for
>> the
>> >> > TM-T88IV, now is a good time to remove that entry.
>> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>> >> command
>> >> > When SetupPOS starts, you should notice that it only recognizes one
>> >> device
>> >> > in the jpos.xml (thats because the rest are just generic and non
>> Epson)
>> >> > Add a device, select the POS printer you need (TM-T88IV) and save
>> the
>> >> > file.
>> >> > enter the Healthcheck directory.  Copy your javax.comm.properties
>> file
>> >> > over
>> >> > to the directory.
>> >> > *****A small important note here. I've been told time and time again
>> >> that
>> >> > if
>> >> > I'm planning on using RXTX that you need to modify that file to use
>> it.
>> >>  I
>> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN
>> changed
>> >> the
>> >> > way that their COMM.java works, but I left the file as is, using the
>> >> > default
>> >> > driver and it worked.**** Take this for what you will though, I've
>> >> heard
>> >> > mixed results.
>> >> > Run the script, load your printer (it should look for your jpos.xml)
>> >> and
>> >> > hit
>> >> > test.  You should get a small slip (please make sure your printer is
>> >> on!
>> >> > :P
>> >> > ) printed to tell you it worked.
>> >> >
>> >> > If it doesn't.... Before posting any errors, I would step back once
>> >> more
>> >> > and
>> >> > try to get the blackbox application that comes with RXTX (or was it
>> the
>> >> > javacomm API???) to work. just search for BlackBox, you'll find it.
>>  If
>> >> > you
>> >> > get it to work, that will prove that the serial interface is working
>> >> and
>> >> > it
>> >> > will continually print garble to the printer if it's working.
>> >> >
>> >> > Let me know if you can get this far... and we'll continue!
>> >> >
>> >> > Thanks
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> Sorry to say but really I forgot to select the jpos.xml file from
>> my
>> >> >> ofbiz
>> >> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
>> >> >> interface.
>> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>> >> because
>> >> >> it
>> >> >> is not giving me any option for uninstall. I think you are right
>> >> because
>> >> >> my
>> >> >> printer is not working even with CheckHealth utility.
>> >> >>
>> >> >> If selecting jpos.xml from pos while the process if installation
>> >> modifies
>> >> >> the appropriate jar file, then it should really work on a fresh
>> >> >> installation. I'll now try to configure the same application on a
>> >> >> different
>> >> >> PC along with Printer and ADK 1.9.4, will you please put some light
>> on
>> >> >> the
>> >> >> correct path I should follow while this fresh configuration, I
>> don't
>> >> >> wanna
>> >> >> fail this time.
>> >> >>
>> >> >> I'm so happy that now a torchbearer is with me.
>> >> >>
>> >> >> Thanks Branden, thanx for all this.
>> >> >>
>> >> >> Ajey Kumar
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Branden Strickland wrote:
>> >> >> >
>> >> >> > when you install JAVA ADK are you selecting the jpos.xml file in
>> >> >> > /pos/config/jpos.xml to modify?
>> >> >> >
>> >> >> > Before getting the printer to work in ofbiz, you need to get the
>> >> >> > Checkhealth
>> >> >> > script working.  You must specify at install the JPOS.xml file so
>> >> that
>> >> >> the
>> >> >> > software can use it to edit the configuration, as well as modify
>> the
>> >> >> > correct
>> >> >> > jar that contains the JCL information.
>> >> >> >
>> >> >> > Are you using serial?
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> >> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> 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 <
>> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.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-tp16459450p17937048.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
are you sure your serial port is plugged in correctly and is enabled in the
BIOS?

We need to get that blackbox running before we do anything else.  There is a
reason it's telling you it can't find the serial port.



On Tue, Jun 17, 2008 at 4:17 PM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> Branden, i tried to work with BlackBox, its showing the message "No Serial
> Port found" when I used this "java BlackBox" command.
>
> Also I placed the javax.comm.properties file to specialpurpose\pos\config,
> framework\base\config and framework\base\lib
>
> But the result is same, I'm not able to get my printer working. Suggest me
> the needful.
>
>
>
>
> Branden Strickland wrote:
> >
> > well the javax.comm.properties must be moved (or copied) to what ever
> root
> > directory (or added to the path I'm told?!?! but I'm not sure) you're
> > running stuff from.  Temporarily I have my javax.comm.properties in my
> > /ofbizROOT.  I was getting that "not described in XML" erorr and moving
> > the
> > file to the root OFBIZ directory fixed it.
> >
> > Have you tried getting the blackbox Java App to work?
> >
> > On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
> > ajey.kumar@palindromesoftware.com> wrote:
> >
> >>
> >> I installed fresh java comm api and placed the files on following
> >> location:
> >>
> >> comm.jar is placed in:
> >>
> >>    %JAVA_HOME%/lib
> >>    %JAVA_HOME%/jre/lib/ext
> >>
> >> win32com.dll is placed in:
> >>
> >>    %JAVA_HOME%/bin
> >>    %JAVA_HOME%/jre/bin
> >>    %windir%System32
> >>
> >> javax.comm.properties in:
> >>
> >>    %JAVA_HOME%/lib
> >>    %JAVA_HOME%/jre/lib
> >>
> >> After that I also placed latest RXTX jars and DLL in my JDK folder like
> >> this:
> >>
> >> RXTXcomm.jar in \jre\lib\ext (under java)
> >> rxtxSerial.dll in \jre\bin
> >>
> >> I've also placed javax.comm.properties in setupPOS directory of EPSON.
> >>
> >> But again I'm getting the same exception when I'm trying to use
> >> CheckHealth:
> >>
> >> 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) ………………………………….
> >>
> >>
> >> But the exception is now changed when I'm trying to run my OFBiz
> >> application, its showing this:
> >>
> >> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
> >> CachedClassLoader created
> >> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
> >> [Startup] Starting containers...
> >> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
> >> ---- exception report
> >> ----------------------------------------------------------
> >> JPOS Exception
> >> Exception: jpos.JposException
> >> Message: The information is not described in XML.
> >> ---- stack trace
> >> ---------------------------------------------------------------
> >> jpos.JposException: The information is not described in XML.
> >>
> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
> >> Source)
> >> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
> >> ******************************************************
> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
> >> Please
> >> verify that your receipt printer is connected !
> >> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
> >> ******************************************************
> >> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
> >> ContainerLoader.java:93
> >> :INFO ] Shutting down containers
> >> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
> >> DeviceLoader.java:246: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:72)
> >> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
> >>
> >>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> >> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
> >> [JposDeviceContainer.java:68
> >> :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:247)
> >>
> >>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> >> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
> >> [JposDeviceContainer.java:70
> >> :INFO ] JPOS Devices released and closed
> >>
> >> I'm using all this on a PC having Windows XP and service pack 2. Am I in
> >> moving in the right way? I read that you also got this exception
> >> "jpos.JposException: The information is not described in XML", now what
> I
> >> can do to move further ith the integration?
> >>
> >>
> >>
> >>
> >>
> >> Branden Strickland wrote:
> >> >
> >> > 1) typically the jdk stuff is installed to the /opt/Epson......
> >> > There should be an uninstall folder in there, with a script to get it
> >> off
> >> > of
> >> > your box.
> >> >
> >> > 2) On the clean install**
> >> > Run the installation
> >> > Install everything (which I think is included in the "typical"
> >> package...
> >> > You can select custom and check just to be safe.
> >> > It will ask you if you have an existing jpos.xml.  Say yes, and select
> >> it
> >> > by
> >> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
> >> > The installation will finish.
> >> > if you have a manually copy and pasted entry in your jpos.xml for the
> >> > TM-T88IV, now is a good time to remove that entry.
> >> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
> >> command
> >> > When SetupPOS starts, you should notice that it only recognizes one
> >> device
> >> > in the jpos.xml (thats because the rest are just generic and non
> Epson)
> >> > Add a device, select the POS printer you need (TM-T88IV) and save the
> >> > file.
> >> > enter the Healthcheck directory.  Copy your javax.comm.properties file
> >> > over
> >> > to the directory.
> >> > *****A small important note here. I've been told time and time again
> >> that
> >> > if
> >> > I'm planning on using RXTX that you need to modify that file to use
> it.
> >>  I
> >> > tried it and RXTX kept blowing up on me.  I don't know if SUN changed
> >> the
> >> > way that their COMM.java works, but I left the file as is, using the
> >> > default
> >> > driver and it worked.**** Take this for what you will though, I've
> >> heard
> >> > mixed results.
> >> > Run the script, load your printer (it should look for your jpos.xml)
> >> and
> >> > hit
> >> > test.  You should get a small slip (please make sure your printer is
> >> on!
> >> > :P
> >> > ) printed to tell you it worked.
> >> >
> >> > If it doesn't.... Before posting any errors, I would step back once
> >> more
> >> > and
> >> > try to get the blackbox application that comes with RXTX (or was it
> the
> >> > javacomm API???) to work. just search for BlackBox, you'll find it.
>  If
> >> > you
> >> > get it to work, that will prove that the serial interface is working
> >> and
> >> > it
> >> > will continually print garble to the printer if it's working.
> >> >
> >> > Let me know if you can get this far... and we'll continue!
> >> >
> >> > Thanks
> >> >
> >> >
> >> >
> >> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >
> >> >>
> >> >> Sorry to say but really I forgot to select the jpos.xml file from my
> >> >> ofbiz
> >> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
> >> >> interface.
> >> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
> >> because
> >> >> it
> >> >> is not giving me any option for uninstall. I think you are right
> >> because
> >> >> my
> >> >> printer is not working even with CheckHealth utility.
> >> >>
> >> >> If selecting jpos.xml from pos while the process if installation
> >> modifies
> >> >> the appropriate jar file, then it should really work on a fresh
> >> >> installation. I'll now try to configure the same application on a
> >> >> different
> >> >> PC along with Printer and ADK 1.9.4, will you please put some light
> on
> >> >> the
> >> >> correct path I should follow while this fresh configuration, I don't
> >> >> wanna
> >> >> fail this time.
> >> >>
> >> >> I'm so happy that now a torchbearer is with me.
> >> >>
> >> >> Thanks Branden, thanx for all this.
> >> >>
> >> >> Ajey Kumar
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Branden Strickland wrote:
> >> >> >
> >> >> > when you install JAVA ADK are you selecting the jpos.xml file in
> >> >> > /pos/config/jpos.xml to modify?
> >> >> >
> >> >> > Before getting the printer to work in ofbiz, you need to get the
> >> >> > Checkhealth
> >> >> > script working.  You must specify at install the JPOS.xml file so
> >> that
> >> >> the
> >> >> > software can use it to edit the configuration, as well as modify
> the
> >> >> > correct
> >> >> > jar that contains the JCL information.
> >> >> >
> >> >> > Are you using serial?
> >> >> >
> >> >> >
> >> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
> >> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >> >
> >> >> >>
> >> >> >> 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 <
> >> >> >> > ajey.kumar@palindromesoftware.com> 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 <
> >> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Re: Scanners and Printer/EPSON T220 PD

Posted by Jacques Le Roux <ja...@les7arts.com>.
I don't see it on this page http://www.javapos.com/devices.html but this question should better be asked to Epson. It does not 
depend on OFBiz but on JavaPOS...

Jacques

From: "Rajeev Gupta" <ra...@hytechpro.com>
> Brandon and Ajey,
>
> Do you know if POS supports EPSON T220 PD? We are trying to make it work, and it doesn't.
>
> David,
>
> Is there a list available for supported printers for POS?
>
>
> Also, what scanner's work with POS?
>
>
> Regards,
> Rajeev Gupta
>
>
> -----Original Message-----
> From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com]
> Sent: Tuesday, June 17, 2008 4:18 PM
> To: user@ofbiz.apache.org
> Subject: Re: Configuring EPSON TM-T88IV Thermal printer in POS
>
>
> Branden, i tried to work with BlackBox, its showing the message "No Serial
> Port found" when I used this "java BlackBox" command.
>
> Also I placed the javax.comm.properties file to specialpurpose\pos\config,
> framework\base\config and framework\base\lib
>
> But the result is same, I'm not able to get my printer working. Suggest me
> the needful.
>
>
>
>
> Branden Strickland wrote:
>>
>> well the javax.comm.properties must be moved (or copied) to what ever root
>> directory (or added to the path I'm told?!?! but I'm not sure) you're
>> running stuff from.  Temporarily I have my javax.comm.properties in my
>> /ofbizROOT.  I was getting that "not described in XML" erorr and moving
>> the
>> file to the root OFBIZ directory fixed it.
>>
>> Have you tried getting the blackbox Java App to work?
>>
>> On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
>> ajey.kumar@palindromesoftware.com> wrote:
>>
>>>
>>> I installed fresh java comm api and placed the files on following
>>> location:
>>>
>>> comm.jar is placed in:
>>>
>>>    %JAVA_HOME%/lib
>>>    %JAVA_HOME%/jre/lib/ext
>>>
>>> win32com.dll is placed in:
>>>
>>>    %JAVA_HOME%/bin
>>>    %JAVA_HOME%/jre/bin
>>>    %windir%System32
>>>
>>> javax.comm.properties in:
>>>
>>>    %JAVA_HOME%/lib
>>>    %JAVA_HOME%/jre/lib
>>>
>>> After that I also placed latest RXTX jars and DLL in my JDK folder like
>>> this:
>>>
>>> RXTXcomm.jar in \jre\lib\ext (under java)
>>> rxtxSerial.dll in \jre\bin
>>>
>>> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>>>
>>> But again I'm getting the same exception when I'm trying to use
>>> CheckHealth:
>>>
>>> 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) ………………………………….
>>>
>>>
>>> But the exception is now changed when I'm trying to run my OFBiz
>>> application, its showing this:
>>>
>>> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
>>> CachedClassLoader created
>>> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>>> [Startup] Starting containers...
>>> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> JPOS Exception
>>> Exception: jpos.JposException
>>> Message: The information is not described in XML.
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> jpos.JposException: The information is not described in XML.
>>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>>> Source)
>>> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>>> ******************************************************
>>> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>>> Please
>>> verify that your receipt printer is connected !
>>> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>>> ******************************************************
>>> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [
>>> ContainerLoader.java:93
>>> :INFO ] Shutting down containers
>>> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>>> DeviceLoader.java:246: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:72)
>>> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>>>
>>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>>> [JposDeviceContainer.java:68
>>> :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:247)
>>>
>>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>>> [JposDeviceContainer.java:70
>>> :INFO ] JPOS Devices released and closed
>>>
>>> I'm using all this on a PC having Windows XP and service pack 2. Am I in
>>> moving in the right way? I read that you also got this exception
>>> "jpos.JposException: The information is not described in XML", now what I
>>> can do to move further ith the integration?
>>>
>>>
>>>
>>>
>>>
>>> Branden Strickland wrote:
>>> >
>>> > 1) typically the jdk stuff is installed to the /opt/Epson......
>>> > There should be an uninstall folder in there, with a script to get it
>>> off
>>> > of
>>> > your box.
>>> >
>>> > 2) On the clean install**
>>> > Run the installation
>>> > Install everything (which I think is included in the "typical"
>>> package...
>>> > You can select custom and check just to be safe.
>>> > It will ask you if you have an existing jpos.xml.  Say yes, and select
>>> it
>>> > by
>>> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>>> > The installation will finish.
>>> > if you have a manually copy and pasted entry in your jpos.xml for the
>>> > TM-T88IV, now is a good time to remove that entry.
>>> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>>> command
>>> > When SetupPOS starts, you should notice that it only recognizes one
>>> device
>>> > in the jpos.xml (thats because the rest are just generic and non Epson)
>>> > Add a device, select the POS printer you need (TM-T88IV) and save the
>>> > file.
>>> > enter the Healthcheck directory.  Copy your javax.comm.properties file
>>> > over
>>> > to the directory.
>>> > *****A small important note here. I've been told time and time again
>>> that
>>> > if
>>> > I'm planning on using RXTX that you need to modify that file to use it.
>>>  I
>>> > tried it and RXTX kept blowing up on me.  I don't know if SUN changed
>>> the
>>> > way that their COMM.java works, but I left the file as is, using the
>>> > default
>>> > driver and it worked.**** Take this for what you will though, I've
>>> heard
>>> > mixed results.
>>> > Run the script, load your printer (it should look for your jpos.xml)
>>> and
>>> > hit
>>> > test.  You should get a small slip (please make sure your printer is
>>> on!
>>> > :P
>>> > ) printed to tell you it worked.
>>> >
>>> > If it doesn't.... Before posting any errors, I would step back once
>>> more
>>> > and
>>> > try to get the blackbox application that comes with RXTX (or was it the
>>> > javacomm API???) to work. just search for BlackBox, you'll find it.  If
>>> > you
>>> > get it to work, that will prove that the serial interface is working
>>> and
>>> > it
>>> > will continually print garble to the printer if it's working.
>>> >
>>> > Let me know if you can get this far... and we'll continue!
>>> >
>>> > Thanks
>>> >
>>> >
>>> >
>>> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>>> > ajey.kumar@palindromesoftware.com> wrote:
>>> >
>>> >>
>>> >> Sorry to say but really I forgot to select the jpos.xml file from my
>>> >> ofbiz
>>> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
>>> >> interface.
>>> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>>> because
>>> >> it
>>> >> is not giving me any option for uninstall. I think you are right
>>> because
>>> >> my
>>> >> printer is not working even with CheckHealth utility.
>>> >>
>>> >> If selecting jpos.xml from pos while the process if installation
>>> modifies
>>> >> the appropriate jar file, then it should really work on a fresh
>>> >> installation. I'll now try to configure the same application on a
>>> >> different
>>> >> PC along with Printer and ADK 1.9.4, will you please put some light on
>>> >> the
>>> >> correct path I should follow while this fresh configuration, I don't
>>> >> wanna
>>> >> fail this time.
>>> >>
>>> >> I'm so happy that now a torchbearer is with me.
>>> >>
>>> >> Thanks Branden, thanx for all this.
>>> >>
>>> >> Ajey Kumar
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> Branden Strickland wrote:
>>> >> >
>>> >> > when you install JAVA ADK are you selecting the jpos.xml file in
>>> >> > /pos/config/jpos.xml to modify?
>>> >> >
>>> >> > Before getting the printer to work in ofbiz, you need to get the
>>> >> > Checkhealth
>>> >> > script working.  You must specify at install the JPOS.xml file so
>>> that
>>> >> the
>>> >> > software can use it to edit the configuration, as well as modify the
>>> >> > correct
>>> >> > jar that contains the JCL information.
>>> >> >
>>> >> > Are you using serial?
>>> >> >
>>> >> >
>>> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>>> >> > ajey.kumar@palindromesoftware.com> wrote:
>>> >> >
>>> >> >>
>>> >> >> 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 <
>>> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>>> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>>> >> >>
>>> >> >
>>> >> >
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>
> 


Scanners and Printer/EPSON T220 PD

Posted by Rajeev Gupta <ra...@hytechpro.com>.
Brandon and Ajey,

Do you know if POS supports EPSON T220 PD? We are trying to make it work, and it doesn't. 

David,

Is there a list available for supported printers for POS?


Also, what scanner's work with POS?


Regards,
Rajeev Gupta


-----Original Message-----
From: Ajey.bitin [mailto:ajey.kumar@palindromesoftware.com] 
Sent: Tuesday, June 17, 2008 4:18 PM
To: user@ofbiz.apache.org
Subject: Re: Configuring EPSON TM-T88IV Thermal printer in POS


Branden, i tried to work with BlackBox, its showing the message "No Serial
Port found" when I used this "java BlackBox" command. 

Also I placed the javax.comm.properties file to specialpurpose\pos\config,
framework\base\config and framework\base\lib

But the result is same, I'm not able to get my printer working. Suggest me
the needful.




Branden Strickland wrote:
> 
> well the javax.comm.properties must be moved (or copied) to what ever root
> directory (or added to the path I'm told?!?! but I'm not sure) you're
> running stuff from.  Temporarily I have my javax.comm.properties in my
> /ofbizROOT.  I was getting that "not described in XML" erorr and moving
> the
> file to the root OFBIZ directory fixed it.
> 
> Have you tried getting the blackbox Java App to work?
> 
> On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> I installed fresh java comm api and placed the files on following
>> location:
>>
>> comm.jar is placed in:
>>
>>    %JAVA_HOME%/lib
>>    %JAVA_HOME%/jre/lib/ext
>>
>> win32com.dll is placed in:
>>
>>    %JAVA_HOME%/bin
>>    %JAVA_HOME%/jre/bin
>>    %windir%System32
>>
>> javax.comm.properties in:
>>
>>    %JAVA_HOME%/lib
>>    %JAVA_HOME%/jre/lib
>>
>> After that I also placed latest RXTX jars and DLL in my JDK folder like
>> this:
>>
>> RXTXcomm.jar in \jre\lib\ext (under java)
>> rxtxSerial.dll in \jre\bin
>>
>> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>>
>> But again I'm getting the same exception when I'm trying to use
>> CheckHealth:
>>
>> 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) ………………………………….
>>
>>
>> But the exception is now changed when I'm trying to run my OFBiz
>> application, its showing this:
>>
>> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
>> CachedClassLoader created
>> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>> [Startup] Starting containers...
>> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>> JPOS Exception
>> Exception: jpos.JposException
>> Message: The information is not described in XML.
>> ---- stack trace
>> ---------------------------------------------------------------
>> jpos.JposException: The information is not described in XML.
>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>> Source)
>> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>> ******************************************************
>> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>> Please
>> verify that your receipt printer is connected !
>> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>> ******************************************************
>> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [   
>> ContainerLoader.java:93
>> :INFO ] Shutting down containers
>> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>> DeviceLoader.java:246: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:72)
>> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>> [JposDeviceContainer.java:68
>> :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:247)
>>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>> [JposDeviceContainer.java:70
>> :INFO ] JPOS Devices released and closed
>>
>> I'm using all this on a PC having Windows XP and service pack 2. Am I in
>> moving in the right way? I read that you also got this exception
>> "jpos.JposException: The information is not described in XML", now what I
>> can do to move further ith the integration?
>>
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > 1) typically the jdk stuff is installed to the /opt/Epson......
>> > There should be an uninstall folder in there, with a script to get it
>> off
>> > of
>> > your box.
>> >
>> > 2) On the clean install**
>> > Run the installation
>> > Install everything (which I think is included in the "typical"
>> package...
>> > You can select custom and check just to be safe.
>> > It will ask you if you have an existing jpos.xml.  Say yes, and select
>> it
>> > by
>> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>> > The installation will finish.
>> > if you have a manually copy and pasted entry in your jpos.xml for the
>> > TM-T88IV, now is a good time to remove that entry.
>> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>> command
>> > When SetupPOS starts, you should notice that it only recognizes one
>> device
>> > in the jpos.xml (thats because the rest are just generic and non Epson)
>> > Add a device, select the POS printer you need (TM-T88IV) and save the
>> > file.
>> > enter the Healthcheck directory.  Copy your javax.comm.properties file
>> > over
>> > to the directory.
>> > *****A small important note here. I've been told time and time again
>> that
>> > if
>> > I'm planning on using RXTX that you need to modify that file to use it.
>>  I
>> > tried it and RXTX kept blowing up on me.  I don't know if SUN changed
>> the
>> > way that their COMM.java works, but I left the file as is, using the
>> > default
>> > driver and it worked.**** Take this for what you will though, I've
>> heard
>> > mixed results.
>> > Run the script, load your printer (it should look for your jpos.xml)
>> and
>> > hit
>> > test.  You should get a small slip (please make sure your printer is
>> on!
>> > :P
>> > ) printed to tell you it worked.
>> >
>> > If it doesn't.... Before posting any errors, I would step back once
>> more
>> > and
>> > try to get the blackbox application that comes with RXTX (or was it the
>> > javacomm API???) to work. just search for BlackBox, you'll find it.  If
>> > you
>> > get it to work, that will prove that the serial interface is working
>> and
>> > it
>> > will continually print garble to the printer if it's working.
>> >
>> > Let me know if you can get this far... and we'll continue!
>> >
>> > Thanks
>> >
>> >
>> >
>> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> Sorry to say but really I forgot to select the jpos.xml file from my
>> >> ofbiz
>> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
>> >> interface.
>> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>> because
>> >> it
>> >> is not giving me any option for uninstall. I think you are right
>> because
>> >> my
>> >> printer is not working even with CheckHealth utility.
>> >>
>> >> If selecting jpos.xml from pos while the process if installation
>> modifies
>> >> the appropriate jar file, then it should really work on a fresh
>> >> installation. I'll now try to configure the same application on a
>> >> different
>> >> PC along with Printer and ADK 1.9.4, will you please put some light on
>> >> the
>> >> correct path I should follow while this fresh configuration, I don't
>> >> wanna
>> >> fail this time.
>> >>
>> >> I'm so happy that now a torchbearer is with me.
>> >>
>> >> Thanks Branden, thanx for all this.
>> >>
>> >> Ajey Kumar
>> >>
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > when you install JAVA ADK are you selecting the jpos.xml file in
>> >> > /pos/config/jpos.xml to modify?
>> >> >
>> >> > Before getting the printer to work in ofbiz, you need to get the
>> >> > Checkhealth
>> >> > script working.  You must specify at install the JPOS.xml file so
>> that
>> >> the
>> >> > software can use it to edit the configuration, as well as modify the
>> >> > correct
>> >> > jar that contains the JCL information.
>> >> >
>> >> > Are you using serial?
>> >> >
>> >> >
>> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> 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 <
>> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.html
Sent from the OFBiz - User mailing list archive at Nabble.com.




Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Branden, i tried to work with BlackBox, its showing the message "No Serial
Port found" when I used this "java BlackBox" command. 

Also I placed the javax.comm.properties file to specialpurpose\pos\config,
framework\base\config and framework\base\lib

But the result is same, I'm not able to get my printer working. Suggest me
the needful.




Branden Strickland wrote:
> 
> well the javax.comm.properties must be moved (or copied) to what ever root
> directory (or added to the path I'm told?!?! but I'm not sure) you're
> running stuff from.  Temporarily I have my javax.comm.properties in my
> /ofbizROOT.  I was getting that "not described in XML" erorr and moving
> the
> file to the root OFBIZ directory fixed it.
> 
> Have you tried getting the blackbox Java App to work?
> 
> On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> I installed fresh java comm api and placed the files on following
>> location:
>>
>> comm.jar is placed in:
>>
>>    %JAVA_HOME%/lib
>>    %JAVA_HOME%/jre/lib/ext
>>
>> win32com.dll is placed in:
>>
>>    %JAVA_HOME%/bin
>>    %JAVA_HOME%/jre/bin
>>    %windir%System32
>>
>> javax.comm.properties in:
>>
>>    %JAVA_HOME%/lib
>>    %JAVA_HOME%/jre/lib
>>
>> After that I also placed latest RXTX jars and DLL in my JDK folder like
>> this:
>>
>> RXTXcomm.jar in \jre\lib\ext (under java)
>> rxtxSerial.dll in \jre\bin
>>
>> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>>
>> But again I'm getting the same exception when I'm trying to use
>> CheckHealth:
>>
>> 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) ………………………………….
>>
>>
>> But the exception is now changed when I'm trying to run my OFBiz
>> application, its showing this:
>>
>> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
>> CachedClassLoader created
>> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
>> [Startup] Starting containers...
>> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>> JPOS Exception
>> Exception: jpos.JposException
>> Message: The information is not described in XML.
>> ---- stack trace
>> ---------------------------------------------------------------
>> jpos.JposException: The information is not described in XML.
>> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
>> Source)
>> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
>> ******************************************************
>> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ]
>> Please
>> verify that your receipt printer is connected !
>> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
>> ******************************************************
>> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [   
>> ContainerLoader.java:93
>> :INFO ] Shutting down containers
>> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
>> DeviceLoader.java:246: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:72)
>> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook)
>> [JposDeviceContainer.java:68
>> :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:247)
>>
>> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
>> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook)
>> [JposDeviceContainer.java:70
>> :INFO ] JPOS Devices released and closed
>>
>> I'm using all this on a PC having Windows XP and service pack 2. Am I in
>> moving in the right way? I read that you also got this exception
>> "jpos.JposException: The information is not described in XML", now what I
>> can do to move further ith the integration?
>>
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > 1) typically the jdk stuff is installed to the /opt/Epson......
>> > There should be an uninstall folder in there, with a script to get it
>> off
>> > of
>> > your box.
>> >
>> > 2) On the clean install**
>> > Run the installation
>> > Install everything (which I think is included in the "typical"
>> package...
>> > You can select custom and check just to be safe.
>> > It will ask you if you have an existing jpos.xml.  Say yes, and select
>> it
>> > by
>> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
>> > The installation will finish.
>> > if you have a manually copy and pasted entry in your jpos.xml for the
>> > TM-T88IV, now is a good time to remove that entry.
>> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS
>> command
>> > When SetupPOS starts, you should notice that it only recognizes one
>> device
>> > in the jpos.xml (thats because the rest are just generic and non Epson)
>> > Add a device, select the POS printer you need (TM-T88IV) and save the
>> > file.
>> > enter the Healthcheck directory.  Copy your javax.comm.properties file
>> > over
>> > to the directory.
>> > *****A small important note here. I've been told time and time again
>> that
>> > if
>> > I'm planning on using RXTX that you need to modify that file to use it.
>>  I
>> > tried it and RXTX kept blowing up on me.  I don't know if SUN changed
>> the
>> > way that their COMM.java works, but I left the file as is, using the
>> > default
>> > driver and it worked.**** Take this for what you will though, I've
>> heard
>> > mixed results.
>> > Run the script, load your printer (it should look for your jpos.xml)
>> and
>> > hit
>> > test.  You should get a small slip (please make sure your printer is
>> on!
>> > :P
>> > ) printed to tell you it worked.
>> >
>> > If it doesn't.... Before posting any errors, I would step back once
>> more
>> > and
>> > try to get the blackbox application that comes with RXTX (or was it the
>> > javacomm API???) to work. just search for BlackBox, you'll find it.  If
>> > you
>> > get it to work, that will prove that the serial interface is working
>> and
>> > it
>> > will continually print garble to the printer if it's working.
>> >
>> > Let me know if you can get this far... and we'll continue!
>> >
>> > Thanks
>> >
>> >
>> >
>> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> Sorry to say but really I forgot to select the jpos.xml file from my
>> >> ofbiz
>> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
>> >> interface.
>> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4
>> because
>> >> it
>> >> is not giving me any option for uninstall. I think you are right
>> because
>> >> my
>> >> printer is not working even with CheckHealth utility.
>> >>
>> >> If selecting jpos.xml from pos while the process if installation
>> modifies
>> >> the appropriate jar file, then it should really work on a fresh
>> >> installation. I'll now try to configure the same application on a
>> >> different
>> >> PC along with Printer and ADK 1.9.4, will you please put some light on
>> >> the
>> >> correct path I should follow while this fresh configuration, I don't
>> >> wanna
>> >> fail this time.
>> >>
>> >> I'm so happy that now a torchbearer is with me.
>> >>
>> >> Thanks Branden, thanx for all this.
>> >>
>> >> Ajey Kumar
>> >>
>> >>
>> >>
>> >>
>> >> Branden Strickland wrote:
>> >> >
>> >> > when you install JAVA ADK are you selecting the jpos.xml file in
>> >> > /pos/config/jpos.xml to modify?
>> >> >
>> >> > Before getting the printer to work in ofbiz, you need to get the
>> >> > Checkhealth
>> >> > script working.  You must specify at install the JPOS.xml file so
>> that
>> >> the
>> >> > software can use it to edit the configuration, as well as modify the
>> >> > correct
>> >> > jar that contains the JCL information.
>> >> >
>> >> > Are you using serial?
>> >> >
>> >> >
>> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> >> > ajey.kumar@palindromesoftware.com> wrote:
>> >> >
>> >> >>
>> >> >> 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 <
>> >> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.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-tp16459450p17936358.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
well the javax.comm.properties must be moved (or copied) to what ever root
directory (or added to the path I'm told?!?! but I'm not sure) you're
running stuff from.  Temporarily I have my javax.comm.properties in my
/ofbizROOT.  I was getting that "not described in XML" erorr and moving the
file to the root OFBIZ directory fixed it.

Have you tried getting the blackbox Java App to work?

On Tue, Jun 17, 2008 at 3:24 PM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> I installed fresh java comm api and placed the files on following location:
>
> comm.jar is placed in:
>
>    %JAVA_HOME%/lib
>    %JAVA_HOME%/jre/lib/ext
>
> win32com.dll is placed in:
>
>    %JAVA_HOME%/bin
>    %JAVA_HOME%/jre/bin
>    %windir%System32
>
> javax.comm.properties in:
>
>    %JAVA_HOME%/lib
>    %JAVA_HOME%/jre/lib
>
> After that I also placed latest RXTX jars and DLL in my JDK folder like
> this:
>
> RXTXcomm.jar in \jre\lib\ext (under java)
> rxtxSerial.dll in \jre\bin
>
> I've also placed javax.comm.properties in setupPOS directory of EPSON.
>
> But again I'm getting the same exception when I'm trying to use
> CheckHealth:
>
> 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) ………………………………….
>
>
> But the exception is now changed when I'm trying to run my OFBiz
> application, its showing this:
>
> 2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
> CachedClassLoader created
> 2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
> [Startup] Starting containers...
> 2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR]
> ---- exception report
> ----------------------------------------------------------
> JPOS Exception
> Exception: jpos.JposException
> Message: The information is not described in XML.
> ---- stack trace
> ---------------------------------------------------------------
> jpos.JposException: The information is not described in XML.
> jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
> Source)
> jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
> ******************************************************
> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ] Please
> verify that your receipt printer is connected !
> 2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
> ******************************************************
> 2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:93
> :INFO ] Shutting down containers
> 2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [
> DeviceLoader.java:246: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:72)
> org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> 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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:68
> :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:247)
>
> org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
> 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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:70
> :INFO ] JPOS Devices released and closed
>
> I'm using all this on a PC having Windows XP and service pack 2. Am I in
> moving in the right way? I read that you also got this exception
> "jpos.JposException: The information is not described in XML", now what I
> can do to move further ith the integration?
>
>
>
>
>
> Branden Strickland wrote:
> >
> > 1) typically the jdk stuff is installed to the /opt/Epson......
> > There should be an uninstall folder in there, with a script to get it off
> > of
> > your box.
> >
> > 2) On the clean install**
> > Run the installation
> > Install everything (which I think is included in the "typical" package...
> > You can select custom and check just to be safe.
> > It will ask you if you have an existing jpos.xml.  Say yes, and select it
> > by
> > browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
> > The installation will finish.
> > if you have a manually copy and pasted entry in your jpos.xml for the
> > TM-T88IV, now is a good time to remove that entry.
> > enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS command
> > When SetupPOS starts, you should notice that it only recognizes one
> device
> > in the jpos.xml (thats because the rest are just generic and non Epson)
> > Add a device, select the POS printer you need (TM-T88IV) and save the
> > file.
> > enter the Healthcheck directory.  Copy your javax.comm.properties file
> > over
> > to the directory.
> > *****A small important note here. I've been told time and time again that
> > if
> > I'm planning on using RXTX that you need to modify that file to use it.
>  I
> > tried it and RXTX kept blowing up on me.  I don't know if SUN changed the
> > way that their COMM.java works, but I left the file as is, using the
> > default
> > driver and it worked.**** Take this for what you will though, I've heard
> > mixed results.
> > Run the script, load your printer (it should look for your jpos.xml) and
> > hit
> > test.  You should get a small slip (please make sure your printer is on!
> > :P
> > ) printed to tell you it worked.
> >
> > If it doesn't.... Before posting any errors, I would step back once more
> > and
> > try to get the blackbox application that comes with RXTX (or was it the
> > javacomm API???) to work. just search for BlackBox, you'll find it.  If
> > you
> > get it to work, that will prove that the serial interface is working and
> > it
> > will continually print garble to the printer if it's working.
> >
> > Let me know if you can get this far... and we'll continue!
> >
> > Thanks
> >
> >
> >
> > On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
> > ajey.kumar@palindromesoftware.com> wrote:
> >
> >>
> >> Sorry to say but really I forgot to select the jpos.xml file from my
> >> ofbiz
> >> application. I'm using EPSON TM-T88IV thermal printer in a serial
> >> interface.
> >> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4 because
> >> it
> >> is not giving me any option for uninstall. I think you are right because
> >> my
> >> printer is not working even with CheckHealth utility.
> >>
> >> If selecting jpos.xml from pos while the process if installation
> modifies
> >> the appropriate jar file, then it should really work on a fresh
> >> installation. I'll now try to configure the same application on a
> >> different
> >> PC along with Printer and ADK 1.9.4, will you please put some light on
> >> the
> >> correct path I should follow while this fresh configuration, I don't
> >> wanna
> >> fail this time.
> >>
> >> I'm so happy that now a torchbearer is with me.
> >>
> >> Thanks Branden, thanx for all this.
> >>
> >> Ajey Kumar
> >>
> >>
> >>
> >>
> >> Branden Strickland wrote:
> >> >
> >> > when you install JAVA ADK are you selecting the jpos.xml file in
> >> > /pos/config/jpos.xml to modify?
> >> >
> >> > Before getting the printer to work in ofbiz, you need to get the
> >> > Checkhealth
> >> > script working.  You must specify at install the JPOS.xml file so that
> >> the
> >> > software can use it to edit the configuration, as well as modify the
> >> > correct
> >> > jar that contains the JCL information.
> >> >
> >> > Are you using serial?
> >> >
> >> >
> >> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
> >> > ajey.kumar@palindromesoftware.com> wrote:
> >> >
> >> >>
> >> >> 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 <
> >> >> > ajey.kumar@palindromesoftware.com> 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 <
> >> >> >> > ajey.kumar@palindromesoftware.com> 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.
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
I installed fresh java comm api and placed the files on following location:

comm.jar is placed in:

    %JAVA_HOME%/lib
    %JAVA_HOME%/jre/lib/ext

win32com.dll is placed in:

    %JAVA_HOME%/bin
    %JAVA_HOME%/jre/bin
    %windir%System32

javax.comm.properties in:

    %JAVA_HOME%/lib
    %JAVA_HOME%/jre/lib

After that I also placed latest RXTX jars and DLL in my JDK folder like
this:

RXTXcomm.jar in \jre\lib\ext (under java)
rxtxSerial.dll in \jre\bin

I've also placed javax.comm.properties in setupPOS directory of EPSON.

But again I'm getting the same exception when I'm trying to use CheckHealth:

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) ………………………………….


But the exception is now changed when I'm trying to run my OFBiz
application, its showing this:

2008-06-18 00:40:59,625 (main) [ClassLoaderContainer.java:50 :INFO ]
CachedClassLoader created
2008-06-18 00:41:00,812 (main) [    ContainerLoader.java:74 :INFO ]
[Startup] Starting containers...
2008-06-18 00:41:01,890 (main) [       DeviceLoader.java:123:ERROR] 
---- exception report
----------------------------------------------------------
JPOS Exception
Exception: jpos.JposException
Message: The information is not described in XML.
---- stack trace
---------------------------------------------------------------
jpos.JposException: The information is not described in XML.
jp.co.epson.upos.pntr.CommonPrinterService.initializeClassSetting(Unknown
Source)
jp.co.epson.upos.pntr.CommonPrinterService.open(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-18 00:41:01,984 (main) [JposDeviceContainer.java:54 :INFO ]
******************************************************
2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:55 :INFO ] Please
verify that your receipt printer is connected !
2008-06-18 00:41:02,000 (main) [JposDeviceContainer.java:56 :INFO ]
******************************************************
2008-06-18 00:41:02,218 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:93
:INFO ] Shutting down containers
2008-06-18 00:41:02,250 (OFBiz_Shutdown_Hook) [      
DeviceLoader.java:246: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:72)
org.ofbiz.pos.device.DeviceLoader.stop(DeviceLoader.java:240)
org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
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-06-18 00:41:02,328 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:68
: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:247)
org.ofbiz.pos.container.JposDeviceContainer.stop(JposDeviceContainer.java:65)
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-06-18 00:41:02,390 (OFBiz_Shutdown_Hook) [JposDeviceContainer.java:70
:INFO ] JPOS Devices released and closed

I'm using all this on a PC having Windows XP and service pack 2. Am I in
moving in the right way? I read that you also got this exception
"jpos.JposException: The information is not described in XML", now what I
can do to move further ith the integration? 





Branden Strickland wrote:
> 
> 1) typically the jdk stuff is installed to the /opt/Epson......
> There should be an uninstall folder in there, with a script to get it off
> of
> your box.
> 
> 2) On the clean install**
> Run the installation
> Install everything (which I think is included in the "typical" package...
> You can select custom and check just to be safe.
> It will ask you if you have an existing jpos.xml.  Say yes, and select it
> by
> browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
> The installation will finish.
> if you have a manually copy and pasted entry in your jpos.xml for the
> TM-T88IV, now is a good time to remove that entry.
> enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS command
> When SetupPOS starts, you should notice that it only recognizes one device
> in the jpos.xml (thats because the rest are just generic and non Epson)
> Add a device, select the POS printer you need (TM-T88IV) and save the
> file.
> enter the Healthcheck directory.  Copy your javax.comm.properties file
> over
> to the directory.
> *****A small important note here. I've been told time and time again that
> if
> I'm planning on using RXTX that you need to modify that file to use it.  I
> tried it and RXTX kept blowing up on me.  I don't know if SUN changed the
> way that their COMM.java works, but I left the file as is, using the
> default
> driver and it worked.**** Take this for what you will though, I've heard
> mixed results.
> Run the script, load your printer (it should look for your jpos.xml) and
> hit
> test.  You should get a small slip (please make sure your printer is on!
> :P
> ) printed to tell you it worked.
> 
> If it doesn't.... Before posting any errors, I would step back once more
> and
> try to get the blackbox application that comes with RXTX (or was it the
> javacomm API???) to work. just search for BlackBox, you'll find it.  If
> you
> get it to work, that will prove that the serial interface is working and
> it
> will continually print garble to the printer if it's working.
> 
> Let me know if you can get this far... and we'll continue!
> 
> Thanks
> 
> 
> 
> On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> Sorry to say but really I forgot to select the jpos.xml file from my
>> ofbiz
>> application. I'm using EPSON TM-T88IV thermal printer in a serial
>> interface.
>> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4 because
>> it
>> is not giving me any option for uninstall. I think you are right because
>> my
>> printer is not working even with CheckHealth utility.
>>
>> If selecting jpos.xml from pos while the process if installation modifies
>> the appropriate jar file, then it should really work on a fresh
>> installation. I'll now try to configure the same application on a
>> different
>> PC along with Printer and ADK 1.9.4, will you please put some light on
>> the
>> correct path I should follow while this fresh configuration, I don't
>> wanna
>> fail this time.
>>
>> I'm so happy that now a torchbearer is with me.
>>
>> Thanks Branden, thanx for all this.
>>
>> Ajey Kumar
>>
>>
>>
>>
>> Branden Strickland wrote:
>> >
>> > when you install JAVA ADK are you selecting the jpos.xml file in
>> > /pos/config/jpos.xml to modify?
>> >
>> > Before getting the printer to work in ofbiz, you need to get the
>> > Checkhealth
>> > script working.  You must specify at install the JPOS.xml file so that
>> the
>> > software can use it to edit the configuration, as well as modify the
>> > correct
>> > jar that contains the JCL information.
>> >
>> > Are you using serial?
>> >
>> >
>> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
>> > ajey.kumar@palindromesoftware.com> wrote:
>> >
>> >>
>> >> 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 <
>> >> > ajey.kumar@palindromesoftware.com> 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 <
>> >> >> > ajey.kumar@palindromesoftware.com> 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.
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.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-tp16459450p17935252.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
1) typically the jdk stuff is installed to the /opt/Epson......
There should be an uninstall folder in there, with a script to get it off of
your box.

2) On the clean install**
Run the installation
Install everything (which I think is included in the "typical" package...
You can select custom and check just to be safe.
It will ask you if you have an existing jpos.xml.  Say yes, and select it by
browsing to your /ofbizROOT/specialpurpose/pos/config/jpos.xml
The installation will finish.
if you have a manually copy and pasted entry in your jpos.xml for the
TM-T88IV, now is a good time to remove that entry.
enter the /opt/EpsonADK/SetupPOS directory and run the ./SetupPOS command
When SetupPOS starts, you should notice that it only recognizes one device
in the jpos.xml (thats because the rest are just generic and non Epson)
Add a device, select the POS printer you need (TM-T88IV) and save the file.
enter the Healthcheck directory.  Copy your javax.comm.properties file over
to the directory.
*****A small important note here. I've been told time and time again that if
I'm planning on using RXTX that you need to modify that file to use it.  I
tried it and RXTX kept blowing up on me.  I don't know if SUN changed the
way that their COMM.java works, but I left the file as is, using the default
driver and it worked.**** Take this for what you will though, I've heard
mixed results.
Run the script, load your printer (it should look for your jpos.xml) and hit
test.  You should get a small slip (please make sure your printer is on! :P
) printed to tell you it worked.

If it doesn't.... Before posting any errors, I would step back once more and
try to get the blackbox application that comes with RXTX (or was it the
javacomm API???) to work. just search for BlackBox, you'll find it.  If you
get it to work, that will prove that the serial interface is working and it
will continually print garble to the printer if it's working.

Let me know if you can get this far... and we'll continue!

Thanks



On Tue, Jun 17, 2008 at 12:29 PM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> Sorry to say but really I forgot to select the jpos.xml file from my ofbiz
> application. I'm using EPSON TM-T88IV thermal printer in a serial
> interface.
> Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4 because it
> is not giving me any option for uninstall. I think you are right because my
> printer is not working even with CheckHealth utility.
>
> If selecting jpos.xml from pos while the process if installation modifies
> the appropriate jar file, then it should really work on a fresh
> installation. I'll now try to configure the same application on a different
> PC along with Printer and ADK 1.9.4, will you please put some light on the
> correct path I should follow while this fresh configuration, I don't wanna
> fail this time.
>
> I'm so happy that now a torchbearer is with me.
>
> Thanks Branden, thanx for all this.
>
> Ajey Kumar
>
>
>
>
> Branden Strickland wrote:
> >
> > when you install JAVA ADK are you selecting the jpos.xml file in
> > /pos/config/jpos.xml to modify?
> >
> > Before getting the printer to work in ofbiz, you need to get the
> > Checkhealth
> > script working.  You must specify at install the JPOS.xml file so that
> the
> > software can use it to edit the configuration, as well as modify the
> > correct
> > jar that contains the JCL information.
> >
> > Are you using serial?
> >
> >
> > On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
> > ajey.kumar@palindromesoftware.com> wrote:
> >
> >>
> >> 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 <
> >> > ajey.kumar@palindromesoftware.com> 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 <
> >> >> > ajey.kumar@palindromesoftware.com> 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.
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Configuring-EPSON-TM-T88IV-Thermal-printer-in-POS-tp16459450p17917506.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
Sorry to say but really I forgot to select the jpos.xml file from my ofbiz
application. I'm using EPSON TM-T88IV thermal printer in a serial interface.
Even now on my system, I'm not able to uninstall EPSON ADK 1.9.4 because it
is not giving me any option for uninstall. I think you are right because my
printer is not working even with CheckHealth utility. 

If selecting jpos.xml from pos while the process if installation modifies
the appropriate jar file, then it should really work on a fresh
installation. I'll now try to configure the same application on a different
PC along with Printer and ADK 1.9.4, will you please put some light on the
correct path I should follow while this fresh configuration, I don't wanna
fail this time.

I'm so happy that now a torchbearer is with me.

Thanks Branden, thanx for all this.

Ajey Kumar




Branden Strickland wrote:
> 
> when you install JAVA ADK are you selecting the jpos.xml file in
> /pos/config/jpos.xml to modify?
> 
> Before getting the printer to work in ofbiz, you need to get the
> Checkhealth
> script working.  You must specify at install the JPOS.xml file so that the
> software can use it to edit the configuration, as well as modify the
> correct
> jar that contains the JCL information.
> 
> Are you using serial?
> 
> 
> On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
> ajey.kumar@palindromesoftware.com> wrote:
> 
>>
>> 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 <
>> > ajey.kumar@palindromesoftware.com> 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 <
>> >> > ajey.kumar@palindromesoftware.com> 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.
>>
> 
> 

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


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
when you install JAVA ADK are you selecting the jpos.xml file in
/pos/config/jpos.xml to modify?

Before getting the printer to work in ofbiz, you need to get the Checkhealth
script working.  You must specify at install the JPOS.xml file so that the
software can use it to edit the configuration, as well as modify the correct
jar that contains the JCL information.

Are you using serial?


On Tue, Jun 17, 2008 at 6:42 AM, Ajey.bitin <
ajey.kumar@palindromesoftware.com> wrote:

>
> 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 <
> > ajey.kumar@palindromesoftware.com> 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 <
> >> > ajey.kumar@palindromesoftware.com> 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.
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
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 <
> ajey.kumar@palindromesoftware.com> 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 <
>> > ajey.kumar@palindromesoftware.com> 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.

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
Very true!  He mentioned this before... And I have yet to use anything but
1.9.

I did give up on 1.11.  It was just a mess!

When I find time, I may try 1.8 to confirm Jacques's comment.  although I
have no reason to believe him otherwise!

Gook luck!

On Mon, Jun 16, 2008 at 11:19 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> From: "Branden Strickland" <op...@gmail.com>
>
>> 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.
>>
>
> Just as a complementary information : I did not cross any such problems
> with 1.8 (I'm still currentluy using 1.8) with my TM-T88III either on
> Windows or Linux...
>
> Jacques
>
> 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 <https://issues.apache.org/jira/browse/OFBIZ-1015
>> >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 <
>> ajey.kumar@palindromesoftware.com> 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 <
>>> > ajey.kumar@palindromesoftware.com> 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.
>>>
>>>
>>
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Branden Strickland" <op...@gmail.com>
> 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.

Just as a complementary information : I did not cross any such problems with 1.8 (I'm still currentluy using 1.8) with my TM-T88III 
either on Windows or Linux...

Jacques

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 <https://issues.apache.org/jira/browse/OFBIZ-1015>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 <
> ajey.kumar@palindromesoftware.com> 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 <
>> > ajey.kumar@palindromesoftware.com> 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.
>>
>


Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
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 <https://issues.apache.org/jira/browse/OFBIZ-1015>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 <
ajey.kumar@palindromesoftware.com> 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 <
> > ajey.kumar@palindromesoftware.com> 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.
>

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by "Ajey.bitin" <aj...@palindromesoftware.com>.
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 <
> ajey.kumar@palindromesoftware.com> 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.

Re: Configuring EPSON TM-T88IV Thermal printer in POS

Posted by Branden Strickland <op...@gmail.com>.
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 <
ajey.kumar@palindromesoftware.com> 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.
>
>