Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

POS printer not connecting [pywebdriver]

By
Muhammad
on 12/28/15, 2:03 AM 545 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?


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/28/15, 2:03 AM
Seen: 545 times
Last updated: 12/28/15, 2:10 AM