Files
ptprnt/README.md
Moritz Martinius 1a68502401
All checks were successful
Build ptprnt / build (push) Successful in 4m15s
Add changelog, uniform naming, prepare v0.2.0 tagging
2025-10-16 21:01:04 +02:00

55 lines
1.1 KiB
Markdown

# ptprnt
A command-line label printer driver for Brother P-touch printers on Linux. Prints text labels directly from your terminal.
## Quick Start
**Install dependencies:**
Arch Linux:
```bash
pacman -S libusb spdlog pango cairo meson
```
Debian/Ubuntu:
```bash
apt-get install libusb-1.0-0-dev libspdlog-dev libfmt-dev libpango1.0-dev libcairo2-dev meson
```
**Build and run:**
Clone this repository first and enter the directory. Then build:
```bash
meson setup builddir
ninja -C builddir
builddir/ptprnt --help
```
## Supported Printers
(I need more printers for verification 😉)
- Brother P-touch P700 series
## Developer info
This is a modern C++20 rewrite of [ptouch-print](https://git.familie-radermacher.ch/linux/ptouch-print.git). Credits to Dominic Rademacher for reverse engineering the USB protocol.
**Running tests:**
```bash
ninja -C builddir test
```
**Coverage reports:**
```bash
meson setup builddir -Db_coverage=true
ninja -C builddir
ninja -C builddir test
ninja -C builddir coverage-text
```
## License
GPLv3, see [LICENSE](./LICENSE)
## Author
Moritz Martinius <moritz@admiralackbar.de>