Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
materiel:imprimante_thermique_brother_ql-570 [2025/03/11 17:06] emoc [QL570] |
materiel:imprimante_thermique_brother_ql-570 [2025/03/12 14:14] (Version actuelle) emoc [brother_ql_web] |
||
---|---|---|---|
Ligne 42: | Ligne 42: | ||
Ça fonctionne mais l'image est mal cadrée... L'image fait 440 x 1083 \\ | Ça fonctionne mais l'image est mal cadrée... L'image fait 440 x 1083 \\ | ||
- | Ça **fonctionne bien en 996 x 440** | + | Ça **fonctionne bien en 996 x 440, 1-bit, PNG** |
==== brother_ql_web ==== | ==== brother_ql_web ==== | ||
Ligne 59: | Ligne 59: | ||
</code> | </code> | ||
Mais ça ne marche pas, grrrrr, ''/usr/bin/env: « python »: Aucun fichier ou dossier de ce type'', je ne comprends pas comment fonctionne l'envirronnement python, pix et tout ça, ça vient probablement de là... | Mais ça ne marche pas, grrrrr, ''/usr/bin/env: « python »: Aucun fichier ou dossier de ce type'', je ne comprends pas comment fonctionne l'envirronnement python, pix et tout ça, ça vient probablement de là... | ||
+ | |||
+ | Ça fonctionne en installant un environnement virtuel python | ||
+ | <code> | ||
+ | sudo apt install virtualenv | ||
+ | cd /home/emoc/___LOGICIELS/2025/ | ||
+ | git clone https://github.com/pklaus/brother_ql_web.git | ||
+ | python3 -m venv brother_ql_web | ||
+ | source brother_ql_web | ||
+ | source brother_ql_web/bin/activate | ||
+ | cd brother_ql_web | ||
+ | pip install -r requirements.txt | ||
+ | ./brother_ql_web.py | ||
+ | deactivate | ||
+ | </code> | ||
==== brother-ql ==== | ==== brother-ql ==== |