# Printing Labels on the Brother QL-800
```
pipx install brother_ql_inventree
```
Go read [the instructions](https://github.com/matmair/brother_ql-inventree?tab=readme-ov-file)!
Then try
```
brother_ql --model QL-800 \
--printer usb://0x04f9:0x209b \
print -l 62 label.png
```
## Setup
I started with [these instructions](https://github.com/ICTools/ql-800-ubuntu/tree/main), which are currently 4 months out of date. I used this process though:
### Disable "Editor Lite" Mode
By default, the QL-800 can act as a USB drive instead of a printer (Editor Lite mode).
If the "Editor Lite" LED lights up:
- **Hold the button** on the printer until the LED turns off.
- This switches it to **printer mode** (real USB printer).
### Add a udev Rule for USB Permissions
Create the file:
```shell
sudo nano /etc/udev/rules.d/99-brother-ql800.rules
```
Insert the following rule:
```shell
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="209b", MODE="0666", GROUP="lp"
```
Then reload rules:
```shell
sudo udevadm control --reload-rules
sudo udevadm trigger
```
Unplug and replug the printer.
### Install `brother_ql_inventree` via `pipx`
(this is the first difference from the instructions I linked above. The original `brother_ql` package seems unmaintained.)
```
sudo apt install pipx
pipx install brother_ql_inventree
```
If needed, add `~/.local/bin` to your PATH
You can use `pipx ensurepath` then restart your terminal
### Generate a Label Image
(I'll write a new grimoire note for generating the kinds of label images I need. The one in the original instructions is for a specific size label)
### Print the Label
Go read [the instructions](https://github.com/matmair/brother_ql-inventree?tab=readme-ov-file)!
Then try
```
brother_ql --model QL-800 \
--printer usb://0x04f9:0x209b \
print -l 62 label.png
```