Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

213.2. ptouch-print-1.9

Prints text and images on Brother P-touch label printers over USB

1.9-1 · GPL-3.0-only · 0.1 SBU · 208.2 KiB, 4 files · 42_graphics, 153 of 189 · ports/core/printing/ptouch-print

Homepage: https://dominic.familie-radermacher.ch/projekte/ptouch-print/

Depends on: cmake, ninja, git, gettext, libgd, libusb, argp-standalone.

Required by: no port names it.

Sources: ptouch-print-1.9.tar.gz (38.6 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install ptouch-print'

build.sh:

cmake -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
DESTDIR=$PKG cmake --install build

rm -rf "${PKG:?}/etc/udev"
find "${PKG:?}" -depth -type d -name etc -empty -delete

Programs: ptouch-print.

Directories: /usr/share/licenses/ptouch-print.