DISCLAIMER: I was not able to do this via USB. My script uses a ethernet cable and I will explain you how to do that too.
Making this program was quite frustrating and if you want to use it yourself, you'll probably have to do some adjustments by yourself.
You'll need some python libraries, for one library, you'll need to downgrade a library since there are some deprecated methods used. I will probably modify the brother_ql library and fix the issues so you guys won't have to do that in the future. As of 27.01.2025 you have to do it the way described below. I've ran into the issue that brother_ql doesn't add the required command line commands to PATH on Windows. If you run Windows, please run the install command as administrator.
First install the main library:
brother_ql==0.9.4
After installation, downgrade pillow:
pip uninstall Pillow
after uninstall, install the downgraded version:
pip install Pillow==9.5.0
C:\Python???\Lib\site-packages\brother_ql\conversion.py
Replace the ??? with your version. Now search the line that says (around line 112):
im = im.resize((dots_printable[0], hsize), Image.ANTIALIAS)
with:
im = im.resize((dots_printable[0], hsize), Image.Resampling.LANCZOS)
After the installation, try running the brother_ql command
brother_ql
If you get an error, try restarting your PC. If you still get the error, you'll have to figure out yourself. This is probably because the command is not added to PATH.
- Check if your device is supported. Sub Versions like the QL-820NWBc is the same as QL-820NWB
QL-500, QL-550, QL-560, QL-570, QL-580N, QL-650TD, QL-700, QL-710W, QL-720NW, QL-800, QL-810W, QL-820NWB, QL-1050, QL-1060N - Turn off your printer BEFORE connecting any Ethernet cable. After connecting your ethernet cable with your printer and your PC, you may start your printer again.
- Install ethernet drivers for your printer Go to brothers web page and download the driver installer for your printer. When you install, you'll be able to select what you want to install. You'll have to select the Wired Network Connection. View this picture for reference. Continue with the Set Up.
- Now we'll have to get the device IP adress. To get it, press the following buttons on your printer, if you have a Display. If you don't, you'll have to figure out yourself, but it's possible. I've done the following steps on a QL-820NWBc
- Press "Menu"
- Go to "Information"
- Go to "Print Configuration"
- Select "All". This will print around 30cm of tape.
- On the print, look for <IP Settings>, the line below that should say "IP Adress". Write down that number
- We also have to change the print settings to "Raster"
- Press "Menu"
- Go to "Administration"
- Go to "Command Mode"
- And select "Raster"
- Change "printer_model" to your printer. Make sure to write down the major version of it -> if you have a "QL-820NWBc", remove the "C" and use "QL-820NWB" in the variable
- Change "printer_connection" with the IP Adress you've wrote down earlier. It should look like something like this: "tcp://0.0.0.0".
- Change "label_type" with the current labels you have in your printer. Run
brother_ql info labelsfor a full list including ideal pixel dimensions OR view the screenshot I've made here.
After all that trouble, you should now be able to print out labels. Just run the script :)
If you still run into issues, contact me either on
Discord: ratzifutzi
Mail: joshua@hyper-tech.ch
It would be nice if you contact me, so I can help other people figure this annoying thing out for themselves :) I hope this tutorial was at least a bit helpful and I wish you a wonderful day.