Community mailing list archives

community@mail.odoo.com

Re: POS Printer problem

by
Alien Group Lda, Alaney Kilson Dória
- 11/04/2015 13:24:08
It works :D Thank you.
<img src="cid:part1.05070904.03020406@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.01020204.04020805@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.04000208.04000509@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:57 PM, Mario Arias wrote:
<blockquote cite="mid:CANhvjXgcEbB13uNyitAiDsUsK+VVDj8--ODVUoeQfYi2Cbq0rA@mail.gmail.com" type="cite">

Yes,  they introduced some "magic" to detect usb printers, but I still use previous version,  as I had to fix several issues to make it work.
Anyway, updating printer.py should work...

Regards,
Mario

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

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.

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


_______________________________________________
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