Community mailing list archives

community@mail.odoo.com

Re: POS Printer problem

by
Alien Group Lda, Alaney Kilson Dória
- 11/04/2015 12:14:13
Thank you Mario, I think you might saved my day. My printer is actually a Bematech. I notice also that the file supported_devices.py was removed??


Best regards.
<img src="cid:part1.08010900.04070508@alien-group.com" alt="ALIEN GROUP LDA">

Alaney Dória

CEO

em.alaney.doria@alien-group.com

tm.+244 930 073 397 | +244 913 728 600

<img src="cid:part9.03060901.02040701@alien-group.com" alt="Código QR">

Rua Doutor Agostinho Neto, 156, Bairro Azul, Luanda - Angola, Tel: +244 913 728 600 | +244 913 728 650,
Website: www.alien-group.com, Email: geral@alien-group.com

<img src="cid:part12.01040304.06020008@alien-group.com" style="vertical-align:top;" alt=""> Não imprima este email caso não seja estritamente necessário. A Terra agradece-lhe!

On 11/04/2015 06:02 PM, Mario Arias wrote:
<blockquote cite="mid:CANhvjXh2fhUGkUOQauH_oUKv09jgAQMkv1C-7DW_fSdPXSbyNg@mail.gmail.com" type="cite">

Hi Alaney,

By default PosBox uses endpoint x01 when opening the printer.

We had one case with Bematech printers that use endpoint x02, and triggered that error.

You need to fix the structure in supported_devices.py to include endpoint information,  or simply do a dirty fix modifying default out_ep on definition for usb "_init_"  on printer.py...

Regards,
Mario

El 4/11/2015 3:57, "Alaney Kilson Dória" <alaney.doria@alien-group.com> escribió:

Hi All,

Does anyone know the the solution for error " ValueError: Invalid endpoint address 0x1 on " on POS Box with printer? I'm trying to get a printer to work but I'm getting this error.

Best regards.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe