Skip to Content
Menu
This question has been flagged
1 Reply
3527 Views

based on posbox guide , I can't find supported_devices.py and I also can't modify or add any files to that folder because
posbox image version 14 is readonly. Is there any way I can modify ?
when i use "lsusb" command in ssh terminal

i get the following 
Bus 001 Device 004: ID 0416:5011 Winbond Electronics Corp. Virtual Com Port ( this is my printer i think)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
then i issue another command below
lsusb -vvv -d 0416:5011 | grep bEndpointAddress | grep OUT
bEndpointAddress     0x03  EP 3 OUT
how can i make this printer to work ?
I am using raspberry pi 3 Model B with posbox image version 14.Regards,
Soe Khaing
Avatar
Discard
Best Answer

Did you manage to resovle this?

I manage to add a star printer by runnign this command to first it writable

mount -o remount,rw /


The file you needed to modify is this. 

odoo/addons/hw_escpos/controllers/main.py

printers = usb.core.find(find_all=True, idVendor=0x0d3a)

change the 0x0d3a to your printer Vendor ID

in you case 0416

Avatar
Discard
Related Posts Replies Views Activity
3
Dec 22
2341
1
Apr 20
5466
0
Feb 19
2643
1
Jul 18
2354
0
Nov 17
1939