Package Details: ptouch-print 1.6-2

Git Clone URL: https://aur.archlinux.org/ptouch-print.git (read-only, click to copy)
Package Base: ptouch-print
Description: Command line tool to print labels on Brother P-Touch printers
Upstream URL: https://familie-radermacher.ch/dominic/projekte/ptouch-print/
Keywords: brother label maker printer ptouch
Licenses: GPL-3.0-only
Provides: ptouch-print
Submitter: clove3am
Maintainer: harmathy
Last Packager: harmathy
Votes: 4
Popularity: 0.45
First Submitted: 2020-09-19 19:47 (UTC)
Last Updated: 2025-02-19 15:57 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

harmathy commented on 2025-02-19 15:59 (UTC)

@flolilo thanks for the comment. There is even a better solution: have the rules from upstream actually apply by placing it in the correct order.

flolilo commented on 2025-02-19 10:48 (UTC) (edited on 2025-02-19 10:53 (UTC) by flolilo)

I had to change the udev rules to make them work (i.e. use ptouch-print without sudo) :

SUBSYSTEMS == "usb", ATTRS{idVendor} == "04f9", ATTRS{idProduct} == "<YOUR_PRINTER'S_ID>", MODE="666"

where <YOUR_PRINTER'S_ID> obviously is one of the numbers already in the file, e.g. 2007 or 201f.

Could this be included in this package in the form of a diff patch?

harmathy commented on 2022-09-27 10:13 (UTC)

Thanks n-st! I fixed the packaging.

n-st commented on 2022-09-21 17:27 (UTC) (edited on 2022-09-21 17:28 (UTC) by n-st)

The PKGBUILD currently installs the main binary as /usr/bin/ptouch-print/ptouch-print, so it is not part of the default $PATH. This might be a mistake? In that case, line 26 should be

install -Dm755 -t "${pkgdir}/usr/bin" "${pkgname}/build/ptouch-print"

instead of

install -Dm755 -t "${pkgdir}/usr/bin/${pkgname}" "${pkgname}/build/ptouch-print"