Thanks to the maintainer, @intelfx.
Below is the complete set of commands which worked for my HP LaserJet 1020:
pacman -S cups cups-pdf
cd ~/git
git clone https://aur.archlinux.org/foo2zjs-nightly.git
cd foo2zjs-nightly/
makepkg -si
sudo usermod -a -G lp sergei # said by foo2zjs-nightly
sudo usermod -a -G wheel sergei # needed to be able to administer cups, see /etc/cups/cups-files.conf, administrator user groups are sys wheel root
sudo systemctl enable org.cups.cupsd.socket
firefox http://localhost:631/
# enter your linux login and password
# Administration - Add Printer - Continue - Continue - Select the printer model - Set Default Options - Add Printer
# Printers - you should see your added printer here
# Now the printer is ready to print
Pinned Comments