Installing an HP Multifunction on ArchLinux

Hello colleagues, here is a small guide on how to install an HP multifunction in ArchLinux.

Multifunction: Copy, Print, Scan, Fax.

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.

sudo hp-setup

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.

sudo sane-find-scanner

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 😀



The content of the article adheres to our principles of editorial ethics. To report an error click here!.

18 comments, leave yours

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Josh said

    Excellent, I have no excuse not to print or scan. Thanks for the input.

    1.    Leper_Ivan said

      You're welcome. It gives joy that the contribution serves.

  2.   msx said

    If you tell me how to make the Epson CX-5600 printer work in Arch I will make you a monument… and fly the Ubuntu Server that I have for print server! 😀

    Sooooy, I'm a scoundrel sooooy !!!

    1.    Leper_Ivan said

      I should see if I get any friends who have an Epson to try. As soon as I get it, I do the relevant tests and the corresponding guide.

      If you see the shield, that of my avatar, you will notice that it is not Ñuls's.


  3.   helena_ryuu said

    Nowadays, installing an HP printer in arch is not a problem, I have an HP laserjet 2200D (a dinosaur of unimaginable ages xD) it worked without any setback, what's more, I was surprised to see it in the list of printers without my having fiddled with something though, when installing cups install the packages mentioned in the post.

    As for an Epson, as msx says, I will make you an altar and I will worship you if you teach us how to make an Epson printer work in Linux, I have an Epson multifunctional with individual cartridges, and there is no visible way that it works, I only use the scanner , but it's a shame not being able to print in color D:

    months ago I followed a guide on taringa, but the most I got was to pull the page and print many dots, I tried images, text and the same, then I tried it on a PC with windoze (because on my pc arch it is the only OS ) and the printing worked well: / so, the challenge is there xDD

    cheers ^ w ^

    1.    msx said

      @Leproso: you can't see a joraca your shield! And I'm not a scoundrel xD
      @helena: the multi-function I speak of in Ubuntu is perfect, _as always_, that's the only reason why I installed a 12.04 as a multi-purpose server at home 😛

      Although I have to make a confession: since I installed Ubuntu I opted for 12.04 LTS so I forgot about the support issue for the next long years ... unfortunately my acute pacmanitis was stronger and after a while I was updating the server to 12.10 = 'D

  4.   hexborg said

    Good post. I'll try to keep this on hand. 🙂

  5.   Junma said

    Thank you very much for the guide. Clear as water. It served me for Manjaro

  6.   Churrero said

    I have tried to apply this guide to my LaserJet 1018 printer in Manjaro, but there has been nothing to do. I have had no problem adding this printer in other Linux distributions but there is no way here. This is what it tells me when trying to print the test page: »(process: 8897): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
    Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. »
    With my terrible English I don't know what he means. Can you give me a hand?

    1.    msx said

      Did you try the guide on Arch? Manjaro is not Arch.

      1.    Churrero said

        Of course. I've tried everything I've seen out there. In Manjaro, both in Kde and Xfce, it doesn't work. Let me explain so that you have an idea: If I throw the following command: «sudo hp-setup -i» the console starts working and even tries to download the drivers from the official site, but in the end it gives the error that I indicated above. I'd say it doesn't have enough up-to-date support yet. On the other hand, if I try to do it using "http: // localhost: 631 /", it also says no. It is a pity that a distribution that is magnificent, especially Xfce, has this drawback. I keep it on my computer even though I can't add my printer. Regards, Kikilovem.

  7.   sansuque said

    Thank you very much I had tried by all means

  8.   Jamil said

    Excellent tutorial !! It worked for me on my Antergos, I have had my Hp PhotoSmart C3 for 4280 years and I continue to take care of it, I think I will never change it haha, long live Linux!

  9.   Luque said

    Thank you, it has been very useful!

  10.   orlando said

    Thank you, it has helped me a lot, the truth was I was about to throw in the towel

  11.   Marco said

    Either gpasswd command is missing or no user name. Or run would be 'sudo gpasswd -a [username] scanner'. No more, excellent tutorial! Obrigado - Thank you!

  12.   davidsf said

    Thank you very much for the post, it has helped me a lot! 🙂

  13.   palmyra said

    Thank you very much, I was able to scan following what you indicate, I have arcolinux mate on an intel 7th gen computer and the printer is working perfectly together with the scanner.