So, I've installed every possible thing for printer, started cups in browser, added my printer etc.
But under administration tab, where I need to enter a connection with provided examples, I get lost completely:
OK, I got it running by providing socket://myhostname in connection field.
But now when I try to print a page it simply says "printer is busy" and that's it, nothing more.
(I connect my laserjet via usb cable by the way)
Finally got it working.
First you need to run "hp-setup" or "hp-plugin" utility from hplip package. This utility ("hp-setup") downloads the needed proprietary driver for Laserjet Pro p1102, extracts it and installs, then it installs printer and does all the other necessary stuff ("hp-plugin" just downloads, extracts and installs the driver). Then you can finally add a printer via CUPS.
That is it. Now you're ready to print.
The common error that may occur while downloading the proprietary driver with "hp-setup" or "hp-plugin" is extraction stage. It is all due to python3, python 2.7 bindings in the system. "hp-setup""hp-plugin" use python 2.7 while all modern arch systems are binded to use python3. To fix this simply "ln -s /usr/bin/python2.7 /usr/bin/python".
Don't forget to put "cupsd" into your daemons array and "lp" to your modules in rc.conf.
I also didn't blacklist "usblp", just in case.
And final note, don't forget to add "yourself" to sys group with:
I now use a PC (of the lab where I work now) on which I have successfully installed Arch Linux not long ago. I want to connect to the HP printer there, already connected to the Ethernet of the lab. The printer is a "HP Color LaserJet M552".
When I tried to print some document, no printer was found. I ran sudo hp-setup (as advised here: Configure your printer using hp-setup). A dialog box appeared, which asked me for "PPD" file, and I don't know where it is and what it is for.
Meanwhile, I was prompted to choose a PPD file. The default folder for me to choose is /usr/share/ppd/hp, but when I choose anything, the box is still empty, saying I should choose a file. The printer name is shown, so I think connection is fine.
The library hplip from pacman and the driver plug-in installed via hp-setup -i have to have the same version, otherwise you'll be unable to print and see this error message in your systemd journal (inspect it with journalctl -e):
I solved this by changing the printer's connection. Using the CUPS web interface mentioned before, I selected my printer and clicked "Modify Printer" in the drop-down list. Here, I changed the connection from
This error persisted when calling sudo hp-setup -i and I'm not sure the printer is supported anymore by HP for Arch Linux.I've since ditched the HP LaserJet P1102 and got a Brother DCP-L3550CDW whose monochrome printing feature worked out of the box on Arch Linux 5.3.12: In system-config-printer, I selected "LPD/LPR queue 'BINARY_P1" as the connection and "PCL Laser" as the driver. I used this driver to enable color printing.
Initially I installed KDE on Arch Linux. After many hours of trying to configure my HP LaserJet professional, I reinstalled Arch Linux with the Xfce desktop. Pacman installed hplip and wget. Check with the ArchWiki to make sure all the dependencies are installed. Update the system frequently. Make sure your printer is visible to your system. I rebooted three or four times. Finally, I was able to print. Final thought. It seems that Arch needed wget to communicate with HP, while "hp-setup" did its job. Final suggestion: Never buy an HP LaserJet professional that needs an hplip-plugin. I'll never do that again. Good luck.
03c5feb9e7