Hi there,
I've setup a Posper-V1.0-852 POS with Debian Squeeze.
The ticket printer is an epson TM-88II, connected to /dev/ttyS0, with a cash drawer on it.
The first ticket is fine, with papercut, but the cashdrawer doesn't open.
Printing a ticket again is not possible.
When I restart Posper, I get a
RXTX Warning: Removing stale lock file. /var/lock/LC..ttyS0
and I can only print one ticket again, without an opening cashdrawer.
I've sent the opening code manually to the printer and the drawer opens,
so I believe that Posper oder RXTX are the troublemakers. :)
I configured the printer under Devices as "Printer 1", driver "epson", mode "rxtx", port "/dev/ttyS0".
Use it as standart is checked.
At the Options menu is "ticket printing" checked.
The user is in the group dialout.
This could be indeed a bug in the rxtx communication. We'll check this.
As a workaround please configure mode 'file' going to /dev/ttyS0.
Make sure the port is not blocked, i.e. remove the lock file (in /var/lock) if any.
Let me know if it works.
Hans
Hi Hans,
thank you for that tip. That works well.
After restarting I can print multiple tickets.
But opening the drawer does not work that way either.
I can now open it as "command driven" with the binary I told before.
But thats not the nice way.
Is it possible to open the drawer "automatically" with the epson driver?
Henne