HPLIP versus CUPS

Asked by KitchM

Since I have installed HPLIP to get the toolbox function, I now have two printers listed; one for HPLIP and one for CUPS. Why is that? Is it supposed to be that way? Does one work better than the other? I'm confused.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
KitchM
Solved:
Last query:
Last reply:
Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#1

Hi,

It seems HPLIP is not properly installed in your system. Please follow following things and check if issue gets resolved.

=> Download and install the latest HPLIP release from
http://hplipopensource.com/hplip-web/install/install/index.html (automatic installer) or
http://hplipopensource.com/hplip-web/install/manual/index.html (manual installation, if automatic installer does not work)

=> Reconfigure print queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => su -c "hp-plugin"
             or
      => sudo hp-plugin (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing/Scanning now.

Revision history for this message
KitchM (tech-frontrowcomputer) said :
#2

Are you sure that is what's wrong? Are you absolutely sure?

First of all, I know that I have done this before. It didn't work then, and it didn't work now.
The first error was in:
RUNNING PRE-PACKAGE COMMANDS
----------------------------
su -c "yum clean all" (Pre-depend step 1)
warning: An error occurred running 'su -c "yum check-update"'
su -c "yum check-update" (Pre-depend step 2)
OK

The second was in running the hp-set gui, where it could not find the network printer. Please see previous post Question #224518 where I went all over this before.

Third was at the end of the routine, where this error was shown without explanation:
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:122: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)

The installer routine remains flawed and needs to be fixed. hp-setup always fails on network discovery.

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#3

Hi Kitch,

There is not much difference between the cups configured and Hp-setup printers.

If printer is connected through the cups, user has to pick correct PPD.
If printer is connected through hp-setup, hp-setup picks the PPD automatically and hp-toolbox functionality can be used.

--> if two queues/printers configure for same printer, please remove both printers using system-config-printer command
--> Add printer using hp-setup

Note:- If printer is not detected in Network discovery, Please follow below steps.
1) run hp-setup
2) select 2nd option (Network/Ethernet ..) and click on "Show Advance Options" --> change "Network discovery method" another option.
3) click Next and follow navigation.

Thanks & Regards,
Amarnath

Revision history for this message
KitchM (tech-frontrowcomputer) said :
#4

I did as you suggested. I removed both the hplip and the cups printers. Then I attempted to uninstall CUPS, but that was not possible.

Then I ran hp-setup and used the SLP method of network discovery, and it found the printer. Then I ran the device manager and printed a test page and that went well also.

So I will use the hplip printer from now on because it has a toolbox.

Thanks for clarifying that for me.

BTW, I would certainly add that caveat to the beginning of the HPLIP site where it might explain printers in general in Linux.

Thnaks.

Revision history for this message
KitchM (tech-frontrowcomputer) said :
#5

Okay, I found out something that is very important.

It turns out that the only reason we need hplip is to get the toolbox function. The printer drver installed by cups is much better in that it provides a bunch of features not covered by hplip.

Bottom line, the user must have both installed; one to print with and one to use to for ink functions.

Revision history for this message
KitchM (tech-frontrowcomputer) said :
#6

Now I have Fedora 19 and the installation program says it is not supported. However, it ran as Fedora 18 and completed correctly.

The recognition of the network printer failed, until I selected SLP.