Moritz Martinius b321ba336a
All checks were successful
Build ptprnt / build (push) Successful in 2m7s
Version bump
2025-10-16 21:23:59 +02:00
2023-09-23 16:10:12 +02:00
2025-10-16 21:23:59 +02:00

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:

pacman -S libusb spdlog pango cairo meson

Debian/Ubuntu:

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:

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. Credits to Dominic Rademacher for reverse engineering the USB protocol.

Running tests:

ninja -C builddir test

Coverage reports:

meson setup builddir -Db_coverage=true
ninja -C builddir
ninja -C builddir test
ninja -C builddir coverage-text

License

GPLv3, see LICENSE

Author

Moritz Martinius moritz@admiralackbar.de

Description
A command-line label printer driver for Brother P-touch printers on Linux. Prints text labels directly from your terminal.
https://git.admiralackbar.de/moritz/ptouch-prnt/
Readme GPL-3.0 1.5 MiB
Version 0.2.0 Latest
2025-10-16 19:36:15 +00:00
Languages
C++ 91.4%
Shell 6.6%
Meson 2%