hplip and cups-filters ?

Asked by zebul666

hi.
I am looking for help to fix a configuration/installation problem

So I am using archlinux x86_64 that began to use cups-filters 1.0.18-2 with cups 1.5.3-3. I am not entirely sure the problem began with that but that is linked.

I am using a photosmart C3180 with hplip 3.12.4-1

Here is the bug
https://bugs.archlinux.org/task/30081

The maintainer has no clue what's going on. Because it works for him(TM).

So the problem is that when you try to print a doc in LibreOffice for example or a pdf in evince, what you got printed is the raw pdf source of the document instead of the document.

I can print text file with , say, vim but not with lp directly which ouputs raw pdf garbage too.

Looking at http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandard
printjobformat#How_to_switch_a_system_to_use_PDF_as_standard_print_job_format , I got no improvement to try the command of the page.

Any direction on how to fix that appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
zebul666
Solved:
Last query:
Last reply:
Revision history for this message
zebul666 (zebul666) said :
#1

hplip driver is shipped with a very old version 3 of foomatic-rip renamed as foomatic-rip-hplip

So, from what I understand, with the introduciton of cups-filter, is made the swtich from Postscript input to PDF input. But older version 3 of foomatic-rip don't understand PDF input.

If I recompile hplip without foomatic-rip-hplip it works.

Is it time for hplip to ship a version 4 of foomatic-rip, isn't it ?

Revision history for this message
Sarbeswar Meher (sarbeswar-meher) said :
#2

Hi,

  HPLIP driver doesn't create foomati-rip filter. But foomatic-rip-hplip or hpcups filter is created. Request you to download the source code of hplip from www.hplip.net and extract the tar file (e.g. ~/Downloads/hplip-3.12.4). Run the following commands:

$ cd ~/Downloads/hplip-3.12.4
$ ./configure --prefix=/usr
$ make
$ sudo make install

After this, remove the existing print queues by running in terminal
$ system-config-printer

Then run
$ hp-setup

The printer should take hpcups filter.

Let us know if your problem is resolved.