Hi Chatree,
I'm off today, but I will try to help you this evening if needed. Normally you don't need to worry about cash drawers. You simply
connect them through the printer...
Jacques
From: "Chatree Srichart" <[email protected]>
I have tried to create a new JposEntry for Epson cash drawer without
property like this:
<JposEntry logicalName="CD-100M">
<creation
factoryClass="jp.co.epson.jpos182.util.EpsonJposServiceInstanceFactory"
serviceClass="jp.co.epson.jpos182.drw.CashDrawerService"/>
<vendor name="SEIKO EPSON" url="http://www.epson.co.jp"/>
<jpos category="CashDrawer" version="1.11.1"/>
<product description="Printer controlled Cash Drawer" name="CD-100M"
url="http://www.epson.co.jp"/>
</JposEntry>
But I got error like this:
Caused by: java.lang.NullPointerException
at java.lang.String.lastIndexOf(Unknown Source)
at java.lang.String.lastIndexOf(Unknown Source)
at jp.co.epson.jpos182.drw.CashDrawerService.readJSD(CashDrawerS
at jp.co.epson.jpos182.drw.CashDrawerService.open(CashDrawerServ
at jpos.BaseJposControl.open(Unknown Source)
at org.ofbiz.pos.device.GenericDevice.open(GenericDevice.java:47
at org.ofbiz.pos.device.DeviceLoader.load(DeviceLoader.java:165)
It seem like the CashDrawerService need a JSD property to be specified. But
I don't know the property's name and value for the JSD.
Regards,
Chatree Srichart