You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered today that udevadm is part of our "good and old beloved systemd". In distros without it, it will break.
I am now in arch manjaro, where the debian usb_printerid is not to be found.
Maybe with some more digging or some if/elses we can make it work everywhere.
Also, with CUPS's lpinfo --include-schemes usb -l -v | grep "HL-111[0-9] series" -c it is possible to get a grep and the if goes to true on -gt 0, which appears to work.
hl1110-utility-tool/hl1110-utility-tool.sh
Line 35 in 7f6add3
i got this to work on manjaro/arch changing the command to:
if [ -c "$printer_path" ] && [ $(udevadm info --name="$printer_path" --attribute-walk | grep "HL-111[0-9] series" -c) -gt 0 ]; then
maybe helps someone
The text was updated successfully, but these errors were encountered: