Kevin Bradenstein 97a9576c6e cmake: link libusb by its full path
pkg_check_modules gives both LIBUSB_LIBRARIES (bare names, -lusb-1.0) and
LIBUSB_LINK_LIBRARIES (absolute paths). Passing both links libusb twice,
and the bare name only resolves when libusb is in the default library
search path - which it is on Linux and is not under Homebrew on macOS,
where the link fails with "library not found for -lusb-1.0". The full
path alone is enough everywhere.
2026-09-08 07:16:25 +02:00
2025-12-15 07:15:10 +01:00
2026-09-01 10:30:48 +02:00
2015-12-29 14:11:00 +01:00
2026-03-08 09:28:09 +01:00

About:

ptouch-print is a command line tool to print labels on Brother P-Touch
printers on Linux.

There is no need to install the printer via CUPS, the printer is accessed
directly via libusb.

The tool was written for and tested with the PT-2430PC, but meanwhile is also
used with others (see "ptouch-print --list-supported")
Maybe others work too (please report USB VID and PID so I can include support
for further models, too).

Further info can be found at:
https://dominic.familie-radermacher.ch/projekte/ptouch-print/

Compile instructions:

./compile.sh

Note:

Dear visitor, currently I have absolutely no time for improvements on this
project (my free time currently is about one or two hours PER MONTH).
Therefore, I can not look at suggestions about improvements.
S
Description
No description provided
Readme
817 KiB
Languages
C 75.3%
CMake 19.2%
Roff 5.4%