inventree / inventree-brother-plugin

Label printing plugin for Brother series printers
MIT License
18 stars 14 forks source link

Brother QL-500 no output #40

Open martin323232 opened 4 months ago

martin323232 commented 4 months ago

Hello,

have had no isses with label printing on Inventree 0.11.3 using version 0.6.0 of Brother plugin on docker. After updating to latest stable version of Inventree I had to update Brother plugin latest.

There is no output on printer when trying to print a label.

Before I used ip for printer. 192.168.1.93:9100. This was removed to try using USB.

image

Printer id is found using lsusb image

I'm not sure where i can find logfiles. There are no errors in docker container logs inventree-server

192.168.1.10 - - [24/Jun/2024:13:38:31 +0000] "GET /api/notifications/?read=false HTTP/1.0" 200 771 "http://192.168.1.93:1337/part/625/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.1.10 - - [24/Jun/2024:13:38:33 +0000] "GET /api/label/stock/?enabled=true&item%5B%5D=725 HTTP/1.0" 200 346 "http://192.168.1.93:1337/part/625/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.1.10 - - [24/Jun/2024:13:38:33 +0000] "GET /api/plugins/?mixin=labels HTTP/1.0" 200 2686 "http://192.168.1.93:1337/part/625/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.1.10 - - [24/Jun/2024:13:38:33 +0000] "OPTIONS /api/label/stock/1/print/?plugin=brother&item%5B%5D=725 HTTP/1.0" 200 405 "http://192.168.1.93:1337/part/625/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.1.10 - - [24/Jun/2024:13:38:37 +0000] "POST /api/label/stock/1/print/?plugin=brother&item%5B%5D=725 HTTP/1.0" 200 48 "http://192.168.1.93:1337/part/625/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Got this erroer after a while on USB. No error messages when using IP. image

SchrodingersGat commented 4 months ago

Are you using the standard docker image? I believe that this won't support USB connections in this way, you'll need to use a debian based docker image

martin323232 commented 4 months ago

Ok, just tried USB as an option since IP stopped working. There are no errors reported by Inventree. If I choose an incorrect ip there is an error message. Is it possible to connect the printer on a windows machine and share it to Inventree?

If not, I would really like to get it working again connected to ubuntu with ip 192.168.1.93:9100. Since that have worked without any problem for many years now before upgrading to latest stable Inventree.