Setup printing in Arch for HP Printers (USB)
Sep 2, 2023
from @iceman
Learn how to setup printing services on Arch Linux for HP based printers connected via USB
This is mostly for hplip dependent printers, usually there’s a package for your printer either on aur or the official repositories. Check the wiki before you follow this guide. The content was written well over 2 years ago, as a more of a “note” rather than being a “tutorial/guide”.
- Connect your printer
- Installing CUPS and other required stuff
$ pacman -S cups
$ systemctl enable cups
$ systemctl start cups
$ pacman -S hplip
$ hp-setup -i
Follow steps and download plugin and it should work. If for some reason it does not work, note the version number of the plugin it tries to download. Then download the specified version of the plugin from here.
Re-run the following:
hp-setup -i
And this time specify the path to file instead of downloading, everything will work fine assuming you have foomatic-db
, foomatic-db-engine
, foomatic-db-nonfree
, foomatic-db-nonfree-ppds
packages installed.