Skip to Content
Menu
This question has been flagged
4552 Views

We are using this thermal printer, TC-5890T THERMAL PRINTER: http://www.tcang.net/products?ID=6

This printer works with PosBox-less setup for Odoo 8 and 9 on Ubuntu 14.04 and 15.10. But not able to connect and print with pywebdriver on Ubuntu 14.04.3 running in VirtualBox.

Error is as shown below:

 

Sometimes it is **Input/Output error** instead.

 

`dmesg` returns:

...

[12635.729583] usb 2-2: usbfs: interface 0 claimed by usbfs while 'python' sets config #1

[12640.785735] usb 2-2: usbfs: interface 0 claimed by usbfs while 'python' sets config #1

[12645.828507] usb 2-2: usbfs: interface 0 claimed by usbfs while 'python' sets config #1

[12650.879539] usb 2-2: usbfs: interface 0 claimed by usbfs while 'python' sets config #1

...


We have tried:

1) adding the printer to `device_list`

2) changing escpos_driver to find usb.core.find. Which it did find, but it was still throwing resource busy.


We checked the logs:

https://gist.github.com/fawyna/4a6ab2ce73ed9d3e5920


I also set the config.ini to print when connected.

print_status_start=true

 

Every time I start the VirtualBox instance, it prints. however, it prints an error. The error:

 

What do I do to make it work?


Avatar
Discard