Hello colleagues, here is a small guide on how to install an HP multifunction in ArchLinux.
First of all we must install some main packages:
sudo pacman -S cups ghostscript gsfonts hplip
After installing these packages, we proceed to create the services and start them.
sudo systemctl enable cups.service
sudo systemctl start cups.service
If they did not do it during installation, we must add our user to the group lp and the group scanner:
sudo gpasswd -a scanner
sudo gpasswd -a lp
Once we install the packages, and add our user to the aforementioned groups, we only have to configure the printer.
The previous command requires some libraries to run, if you don't want to install them, and do the configuration from the terminal, just add -i to the command.
sudo hp-setup -i
The screen it shows us is quite intuitive.
How surely it is a USB multifunction, just give [enter] in the first command, and then answer a few simple questions, where you can give the device a name, and if you want to specify a place. For example: Multifunction 1, living.
Once finished, it would be necessary to install some software to scan, since we can print from wherever we are, Libre Office, and so on.
I particularly prefer Simple-Scan
sudo pacman -S sane simple-scan
It will install some dependencies.
When you finish installing if you open simple-scan, it surely tells you that it does not find any device, now we solve it.
Once it finds it, it is necessary to proceed to uncomment a line of sane.
sudo nano /etc/sane.d/dll.conf
In the end, we uncomment the line that says hpaio
So it is:
It should look like this:
We save and close.
Now yes, we test the scanner, we can do it via terminal:
sudo scanimage -L
Or we go into simple-scan and scan something.
That's all for now, I hope it helped. Any questions, you know 😀