Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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 15:25]
emoc
materiel:imprimante_thermique_brother_ql-570 [2025/03/12 14:14] (Version actuelle)
emoc [brother_ql_web]
Ligne 3: Ligne 3:
 Achat 26 fév. 2025 sur leboncoin, 50e Achat 26 fév. 2025 sur leboncoin, 50e
  
-{{:​materiel:​imprimante_thermique_brother_ql-570:​ql570.jpg?​direct&​600|}}+{{:​materiel:​imprimante_thermique_brother_ql-570:​ql570.jpg?​direct&​400|}} 
 + 
 +**Documentation : [[https://​lesporteslogiques.net/​materiel/​imprimante_brother_QL-570/​|Brother QL-570]]** 
 + 
 +C'est une imprimante thermique, donc les seuls consommables sont les rouleaux d'​étiquettes imprimables (ni encore, ni toner). Ces rouleaux existent en différentes dimensions. 
 + 
 +**Caractéristiques** 
 +  * Largeur maximale : 59mm 
 +  * Longueur minimale d'​impression : 12.7mm (pas de maximum, il existe des rouleaux continus) \\ 
 +  * Résolution : 300 dpi 
 + 
 +Pour l'​instant on a un rouleau de largeur 38mm x 90mm (DK-11208). Pour se rendre compte des divers types de rouleaux : https://​www.brother.fr/​consommables/​ql-570 
 + 
 +==== Consommables ==== 
 + 
 +^  Référence ​ ^  Dimensions ​ ^  Nbre d'​étiquettes ​ ^   ​Prix ​  ​^ ​ Prix à l'​étiquette ​ ^ 
 +|  DK-11208 ​  ​| ​ 38 x 90 mm  |  400                |  17,​30e ​  ​| ​ 0,​043e ​            | 
 + 
 +DK-11208 : https://​store.brother.fr/​catalogs/​brotherfrance/​consommables/​imprimantes-d-etiquettes/​etiquettes/​dk/​dk11208 
 +===== Utilisation sur Debian 12 ===== 
 + 
 +Au premier branchement,​ lsusb renvoie ''​Bus 002 Device 002: ID 04f9:2028 Brother Industries, Ltd QL-570 Label Printer''​ 
 + 
 +J'​essaie différents programmes qui permettent d'​imprimer directement sur la machine, sans passer par un driver d'​impression (ce qui permet d'​utiliser ces imprimantes sur raspberry pi par exemple) 
 + 
 +==== QL570 ==== 
 + 
 +J'​essaie d'​installer https://​github.com/​sudomesh/​ql570 
 +<​code>​ 
 +git clone https://​github.com/​sudomesh/​ql570.git 
 +cd ql570/ 
 +sudo apt install build-essential libpng12-0 libpng12-dev pkg-config  
 +make 
 +sudo make install ​  # n'a pas fonctionné 
 +./​ql570 ​            # ok  
 +sudo ./ql570 /​dev/​usb/​lp1 38x90 test.png ​        # nécessaire pour accéder au port 
 +</​code>​ 
 + 
 +Ça fonctionne mais l'​image est mal cadrée... L'​image fait 440 x 1083 \\ 
 +Ça **fonctionne bien en 996 x 440, 1-bit, PNG**  
 + 
 +==== brother_ql_web ==== 
 + 
 +https://​github.com/​pklaus/​brother_ql_web 
 + 
 +<​code>​ 
 +git clone https://​github.com/​pklaus/​brother_ql_web.git 
 +cd ./​brother_ql_web/​ 
 +pip install -r requirements.txt ​   # marche pas 
 +pipx install brother_ql 
 +pipx install bottle 
 +pipx install jinja2 ​               # -> erreur 
 +sudo apt install python3-jinja2 
 +./​brother_ql_web.py  
 +</​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à... 
 + 
 +Ç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 ==== 
 + 
 +  * https://​pypi.org/​project/​brother-ql/​ 
 +  * https://​github.com/​pklaus/​brother_ql 
 + 
 + 
 + 
  
  
  • materiel/imprimante_thermique_brother_ql-570.1741703136.txt.gz
  • Dernière modification: 2025/03/11 15:25
  • par emoc