| Crates.io | brother-label |
| lib.rs | brother-label |
| version | 0.1.1 |
| created_at | 2025-12-08 23:50:32.200433+00 |
| updated_at | 2025-12-09 03:45:56.00983+00 |
| description | CLI to print images using Brother QL series printers based on the brother_ql crate |
| homepage | |
| repository | https://github.com/mkienitz/brother_ql |
| max_upload_size | |
| id | 1974556 |
| size | 119,410 |
This is a clap-based command-line application to use your Brother QL-series label printer. It is based on this project's main library crate brother_ql.
You can use the library instead if you want to integrate label printing inside your own application.
$ brother-label print mylabel.png --media c62 --usb-auto-discover
This will convert mylabel.png to raster command data, auto-discover the first connected USB printer and finally print your label.
Note:
c62 refers to continuous 62mm regular tape.For more information on label roll types and required image dimensions look at the media type documentation
/dev/usb/lp0)$ brother-label print first.png second.png third.png --copies 5 --media d24 --cut-behavior=cut-at-end --usb ql820nwb
This will print 15 labels total (5 times the specified images sequence) onto circular 24mm die-cut labels.
Note:
$ brother-label print mylabel.png --media c62 --fd /dev/usb/lp0
This prints via the Linux kernel USB printer driver instead of direct USB communication.
Note:
The device path may vary (e.g., /dev/usb/lp1, /dev/usb/lp2) depending on your system and connected devices.
$ brother-label status --usb-auto-discover
This fetches the current printer status and prints it to your console.
$ brother-label print --media c62 --use-test-image --usb-auto-discover
This can be used to quickly check if the whole stack works as intended. It dynamically creates compatible example labels using typst.
You can find the printer support status in the main project's README.
This project is still new and hasn't been tested across all printer models and scenarios. If you encounter any problems, unexpected behavior, or have suggestions for improvements, please report an issue on GitHub.
Your feedback helps make this tool better for everyone!