I do not mean to de-rail this thread… but cups uses .ppd files and one is available for this printer. Why not simply put the ppd file in the correct directory and then create a printer and set it to use the ppd? Is there something more here?
Thanks for the guidance, "sudo ln -s /usr/bin/vim /usr/bin/ex
It remove the dependencies error of ex not installed but now with new dependencies. It seems to be a moving target? Hope I getting closer. Isn’t the system-config-printer-udev required for configuring printers in Manjaro? To remove?
[jfl@MNJROGTKPRO foo2zjs]$ sudo ln -s /usr/bin/vim /usr/bin/ex
[sudo] password for jfl:
[jfl@MNJROGTKPRO foo2zjs]$ ls -l /usr/bin/ex
lrwxrwxrwx 1 root root 12 Jan 21 21:37 /usr/bin/ex -> /usr/bin/vim
[jfl@MNJROGTKPRO foo2zjs]$ sudo make install-hotplug
#
# Hotplug Installation Dependencies...
#
***
*** Error: system-config-printer-udev is installed!
***
*** Remove it with: (Fedora)
*** # dnf remove system-config-printer-udev
*** OR
*** # rpm -e --nodeps system-config-printer-udev
*** OR (Ubuntu, Debian)
*** $ sudo apt-get remove system-config-printer-udev
*** OR (SUSE)
*** # zypper rm udev-configure-printer
*** OR (generic linux)
*** # rm -f /lib/udev/rules.d/*-printers.rules
***
make: *** [Makefile:999: install-hotplug-test] Error 1
Warning: Messing around with udev rules can break your system. But if you restrict it to printer stuff, you should be fine.
I checked my system and I do have a /lib/udev/rules.d/udev-configure-printer file.
Note: I think the last line “rm -f /lib/udev/rules.d/*-printers.rules” contains a typo. I don’t think “printers” should be plural.
You could move the file to a different name, so you can easily restore it, if you find this is a dead end. I assume this install will add its own version of the udev rule.
I just check what is currently in “/lib/udev/rules.d/70-printers.rules”. What if just rename this “70-printers.rules” to say “70-printers.rules_old”. With this basically now “70-printers.rules” does not exist as far as Manjaro or foo2zjs or system-config-printer-udev is concerned.
Do you think this will do the trick?
'# UDEV rules for USB devices - ENV variables can be monitored
'# via 'sudo udevadm monitor --udev --subsystem-match=usb --property'
'# Low-level USB device add trigger
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", ENV{ID_USB_INTERFACES}!="*:070104:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="configure-printer@usb-$env{BUSNUM}-$env{DEVNUM}.service"
'# Low-level USB device remove trigger
'# Interface types:
'# 7/1/1 - device with unidirectional USB, managed by usb backend
'# 7/1/2 - device with bidirectional USB, managed by usb backend
'# 7/1/3 - device with special USB protocol, managed by hp backend
'# 7/1/4 - device with IPP over USB protocol, managed by ipp-usb daemon
ACTION=="remove", SUBSYSTEM=="usb", ENV{INTERFACE}=="7/1/*", ENV{INTERFACE}!="7/1/4", RUN+="udev-configure-printer remove %p"
EDIT: Update. After renaming “70-printers.rules” to “70-printers.rules_old” it did the trick to complete the “sudo make install-hotplug”.
Now lets see whether it can print. Based on experience with Ubuntu-Legacy-4.9 able to complete all the installation including “hotplug” does not mean it will recognise or get LaserJet_1020 to print.
Yes! Finally successful in installting foo2zjs on Manjaro-ARM and got to print on HP LaserJet_1020. Thanks @0n0w1c, @spikerguy, @Wollie, @JohnML and all that had guided me through to finally install a printer driver (foo2zjs) in Manjaro-ARM to print on HP LaserJet_1020.
It has been a long journey, which initially I thought should only take a few minutes! Frankly, almost given up.