mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2026-09-15 14:17:33 +00:00
97a9576c6e1b34e10737aeeb91bb600f24c0e80a
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.
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.
Languages
C
75.3%
CMake
19.2%
Roff
5.4%