[Python] Print Arabic words from Python to ESC/POS printer?

Discussão em 'Python' iniciado por Stack, Julho 29, 2025.

  1. Stack

    Stack Membro Participativo

    I have an Odoo implementation, and I need to print Arabic words to an ESC/POS printer.

    The Odoo community has already developed a Python module that translates UTF-8 text to ESC/POS Code Page. The problem is that when I print Arabic text I'm getting reversed text and disconnected letters.

    How do I print correct Arabic word from Python to ESC/POS?

    See the Escpos.text method from escpos.py for reference.

    Continue reading...

Compartilhe esta Página