G'day list members
Not quite sure if this is the right place, but here we go. I have an Epson TM-T88IV USB receipt printer connected to a machine running on Ubuntu Linux. When trying to connect to the printer, I get the following exception: The port name is illegal. or couldn't be connected to the device. The exception also appers in Epsons CheckHealthTest. I have a running kernel module 'usbtm', several /dev/usb/usbtm* devices and a jpos.xml, where the port is registered like this: <prop name="PortName" type="String" value="TM-T88IV"/> I have tried all(?) of the available Options in SetupPOS, none of them did the trick. When uninstalling the driver, Epson's shell script asks me to disconnect the device and waits until I have done so. So, I guess, that the printer is actually seen by the driver, but I cannot connect and print to it. Any hints? Thank you in Advance Beat Luginbühl |
I guess in "PortName", you have to fill in/replace by something like "usb", "com1", etc.
Terence
|
Administrator
|
If you are using RS232-COM1, on Linux use /dev/ttyS0
Jacques From: "ngterry" <[hidden email]> > > I guess in "PortName", you have to fill in/replace by something like "usb", > "com1", etc. > > Terence > > > Beat Luginbühl wrote: >> >> G'day list members >> Not quite sure if this is the right place, but here we go. >> I have an Epson TM-T88IV USB receipt printer connected to a machine >> running on Ubuntu Linux. >> When trying to connect to the printer, I get the following exception: >> >> The port name is illegal. or couldn't be connected to the device. >> >> The exception also appers in Epsons CheckHealthTest. I have a running >> kernel module 'usbtm', several /dev/usb/usbtm* devices and a jpos.xml, >> where the port is registered like this: >> >> <prop name="PortName" type="String" value="TM-T88IV"/> >> >> I have tried all(?) of the available Options in SetupPOS, none of them >> did the trick. >> When uninstalling the driver, Epson's shell script asks me to >> disconnect the device and waits until I have done so. So, I guess, >> that the printer is actually seen by the driver, but I cannot connect >> and print to it. >> >> Any hints? Thank you in Advance >> Beat Luginbühl >> >> >> > > -- > View this message in context: > http://www.nabble.com/JavaPOS-exception-with-Epson-TM-T88IV-USB-receipt-printer-tp25507048p25507695.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
I had a quick idea, did it and it works like a charm.
I set /dev/usbtm0 as the PortName in jpos.xml und provided write permissions for others: $ sudo chmod 666 /dev/usbtm0 Another way could be to chown root:openbravo /dev/usbtm0 and put the users into this group. Hope this might help others. Cheers Jacques Le Roux <[hidden email]> schrieb: > If you are using RS232-COM1, on Linux use /dev/ttyS0 > > Jacques > > From: "ngterry" <[hidden email]> >> >> I guess in "PortName", you have to fill in/replace by something like "usb", >> "com1", etc. >> >> Terence >> >> >> Beat Luginbühl wrote: >>> >>> G'day list members >>> Not quite sure if this is the right place, but here we go. >>> I have an Epson TM-T88IV USB receipt printer connected to a machine >>> running on Ubuntu Linux. >>> When trying to connect to the printer, I get the following exception: >>> >>> The port name is illegal. or couldn't be connected to the device. >>> >>> The exception also appers in Epsons CheckHealthTest. I have a running >>> kernel module 'usbtm', several /dev/usb/usbtm* devices and a jpos.xml, >>> where the port is registered like this: >>> >>> <prop name="PortName" type="String" value="TM-T88IV"/> >>> >>> I have tried all(?) of the available Options in SetupPOS, none of them >>> did the trick. >>> When uninstalling the driver, Epson's shell script asks me to >>> disconnect the device and waits until I have done so. So, I guess, >>> that the printer is actually seen by the driver, but I cannot connect >>> and print to it. >>> >>> Any hints? Thank you in Advance >>> Beat Luginbühl >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/JavaPOS-exception-with-Epson-TM-T88IV-USB-receipt-printer-tp25507048p25507695.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> |
Administrator
|
Thanks Beat,
I put it directly as a comment in in jpos.xml BTW why openbravo (kidding) ? Jacques From: "Beat Luginbühl" <[hidden email]> >I had a quick idea, did it and it works like a charm. > > I set /dev/usbtm0 as the PortName in jpos.xml und provided write permissions for others: > > $ sudo chmod 666 /dev/usbtm0 > > Another way could be to chown root:openbravo /dev/usbtm0 and put the users into this group. > Hope this might help others. > Cheers > > Jacques Le Roux <[hidden email]> schrieb: > >> If you are using RS232-COM1, on Linux use /dev/ttyS0 >> >> Jacques >> >> From: "ngterry" <[hidden email]> >>> >>> I guess in "PortName", you have to fill in/replace by something like "usb", >>> "com1", etc. >>> >>> Terence >>> >>> >>> Beat Luginbühl wrote: >>>> >>>> G'day list members >>>> Not quite sure if this is the right place, but here we go. >>>> I have an Epson TM-T88IV USB receipt printer connected to a machine >>>> running on Ubuntu Linux. >>>> When trying to connect to the printer, I get the following exception: >>>> >>>> The port name is illegal. or couldn't be connected to the device. >>>> >>>> The exception also appers in Epsons CheckHealthTest. I have a running >>>> kernel module 'usbtm', several /dev/usb/usbtm* devices and a jpos.xml, >>>> where the port is registered like this: >>>> >>>> <prop name="PortName" type="String" value="TM-T88IV"/> >>>> >>>> I have tried all(?) of the available Options in SetupPOS, none of them >>>> did the trick. >>>> When uninstalling the driver, Epson's shell script asks me to >>>> disconnect the device and waits until I have done so. So, I guess, >>>> that the printer is actually seen by the driver, but I cannot connect >>>> and print to it. >>>> >>>> Any hints? Thank you in Advance >>>> Beat Luginbühl >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/JavaPOS-exception-with-Epson-TM-T88IV-USB-receipt-printer-tp25507048p25507695.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> > > > |
Jacques Le Roux <[hidden email]> schrieb:
> Thanks Beat, > > I put it directly as a comment in in jpos.xml > BTW why openbravo (kidding) ? Now, you're confusing me. Why not? ;-) I looked at a few opensource solutions and openbravo POS looked the most promising to me (not a POS expert). I know this is not an openbravo list, I came here because archive searches yielded similar messages. > Jacques Beat >> [more] |
Free forum by Nabble | Edit this page |