Hi,
I just installed a CentOS 7 + KDE desktop in my office's network. So far, I'm quite happy with the results, though I have some trouble getting the printer to work. All the other machines in my office (server, desktops, workstation) are running Slackware64 14.1 or 14.2, and they can all use the printer perfectly.
I installed hplip-gui and ran it. The printer is a network printer, it has a static IP in the network and can also be addressed by its hostname.
[kikinovak@alphamule:~] $ host hp-officejet hp-officejet.microlinux.lan has address 192.168.2.252
When I run hp-setup with the default options, the setup program "sees" the printer, but informs me that there is a "communication problem". I figure this is because the default seach method is mDNS/Bonjour. I tried again with the SLP option, and this time the setup procedure went OK. Or it seemed so, as the test page was blank.
Now what?
A few details about my system: SELinux, IPv6 and firewall are disabled. CUPS is running OK. I checked on the HP website that this printer requires HPLIP 3.11.10 or greater, which seems OK, since the HPLIP version shipping with CentOS is 3.13.something.
Cheers,
Niki
Hi Niki don't you need a hplip addon/plugin, which you can fetch from http://hplipopensource.com/hplip-web/install/install/index.html
There, with the wizard, you get a file hplip-3.x.x.run which you download and run using bash hplip-3.x.x.run
This will install the addon/plugin.
suomi
On 11/11/2016 08:49 AM, Nicolas Kovacs wrote:
Hi,
I just installed a CentOS 7 + KDE desktop in my office's network. So far, I'm quite happy with the results, though I have some trouble getting the printer to work. All the other machines in my office (server, desktops, workstation) are running Slackware64 14.1 or 14.2, and they can all use the printer perfectly.
I installed hplip-gui and ran it. The printer is a network printer, it has a static IP in the network and can also be addressed by its hostname.
[kikinovak@alphamule:~] $ host hp-officejet hp-officejet.microlinux.lan has address 192.168.2.252
When I run hp-setup with the default options, the setup program "sees" the printer, but informs me that there is a "communication problem". I figure this is because the default seach method is mDNS/Bonjour. I tried again with the SLP option, and this time the setup procedure went OK. Or it seemed so, as the test page was blank.
Now what?
A few details about my system: SELinux, IPv6 and firewall are disabled. CUPS is running OK. I checked on the HP website that this printer requires HPLIP 3.11.10 or greater, which seems OK, since the HPLIP version shipping with CentOS is 3.13.something.
Cheers,
Niki
Le 11/11/2016 à 09:02, anax a écrit :
Hi Niki don't you need a hplip addon/plugin, which you can fetch from http://hplipopensource.com/hplip-web/install/install/index.html
There, with the wizard, you get a file hplip-3.x.x.run which you download and run using bash hplip-3.x.x.run
This will install the addon/plugin.
Thanks, I got it to work indeed. Though there's a special utility called hp-plugin to do that.
I did some more reading and experimenting, and I have a few general questions about HPLIP on CentOS.
1. Generally, I have two options. Either go with the 3.13.x HPLIP packages provided by RHEL/CentOS, or download the more recent (currently 3.16) HPLIP package on the HP site. Which way do you choose to go?
2. If I choose to go with the HP package, should I blacklist the "official" packages provided by the distribution?
3. On Slackware systems, a normal user must be a member of the 'lp' and 'scanner' groups to be able to use a printer/scanner. How's that in CentOS?
4. Is the proprietary HP plugin printer-specific or only specific to the installed version of HPLIP?
5. Do I have to run hp-plugin *before* setting up my printer? Curiously enough, I tried to setup my printer, but there was no automatic prompt for the plugin download. Had to do it manually.
On a side note, I've always been favoring HP printers for my clients. On Slackware systems (which I've been using until now) they're a breeze to setup and work out of the box with HPLIP. Whenever I had some very recent printers, I just built a package from the latest source, which was trivial and also worked perfectly.
Cheers,
Niki Kovacs
Le 11/11/2016 à 12:37, Nicolas Kovacs a écrit :
- Generally, I have two options. Either go with the 3.13.x HPLIP
packages provided by RHEL/CentOS, or download the more recent (currently 3.16) HPLIP package on the HP site. Which way do you choose to go?
Later, after some more testing.
The hplip-gui package provided by RHEL/CentOS doesn't work with this printer, though it *should*. Theory and practice...
I removed all HPLIP-related stuff and downloaded and installed the hplipfull package provided by HP on their website. 'yum localinstall' informed me about a few conflicting residual packages like hplip-libs and hplip-common on my system. I removed these, and everyting went well.
First thing, I downloaded the plugin:
# hp-plugin
I got rid of the old (non functional) printer configuration and started fresh:
# hp-setup
The printer was added OK, but curiously enough, the test page was completely blank. I tried to print something else and decided to try the Firefox home page with the CentOS text. This printed OK.
Curiously enough, KDE's Skanlite application is completely missing from the repos, so I installed simple-scan. I tried to scan a page, and the scanner also works perfectly.
So the only remaining problem seems to be: why does the test page button not work and only print out a blank page?
Cheers,
Niki