How to... Fix HP printer “filter failed” error in (Ubuntu) Linux

Printer: HP LaserJet M1132 MFP; operating systems tested: Xubuntu 13.10, 14.04, 14.10; theme: Numix. Download as pdf here or here.

Update, 2015-02-06: As of a recent upgrade to Xubuntu 14.10, jumping straight to the third solution still fixes the issue.

My printer suffered a paper jam. After releasing the paper, I found that the printer was unwilling to print anything. The specific error was “filter failed”.


The first step is to open CUPS. In your browser's urlbar, type “localhost:631”. If at any point, CUPS asks for your password, enter it as you would in the terminal. To confirm this error, click on the Jobs tab.

As you can see under State, I'm getting the “filter failed” error.

Solution 1: re-install printer

Now click on the Printers tab, and then click on your printer.

Under the Administration menu, you will see an option to delete the printer:

When asked to confirm, click Delete Printer. In the Administration tab, add the printer.

Once that is complete, try printing your document. (You can also print a test page in the Maintenance menu of your printer's page.)

Alternate solution if this fails: rename your printer with a slightly different name.

Solution 2: re-install CUPS

Some found that this error was caused by a problem with CUPS, either after an update or failed installation.

Although you can do this in the terminal, we're going to use a GUI method. Open Synaptic, and in the Quick filter text field, type “cups”.

Click on the Installed tab, so it will be easier to select all. Although you don't have to re-install everything, this is what I (or we) will be doing.

Select all the packages (CTRL + A). Now mark the packages for re-installation. You can do this either by right-clicking and clicking Mark for Reinstallation or opening the Package menu and clicking Mark for Reinstallation there.

Now click Apply and let Synaptic re-install CUPS. After re-installation, print your document.

Solution 3: Fix HPLIP

Update, 2015-03-02: According to an anonymous commenter, this solution can also fix "cups filter failed", "print service unavailable", and "bad file descriptor" errors.

If you perused the list of packages you marked for re-installation, you may have noticed one called hplip. Formally known as HP Linux Imaging and Printing, HPLIP integrates HP printers with Linux. It is provided by HP; you can learn more here.

Generally, HPLIP will come pre-installed with your distribution; you can confirm that by typing “hplip” in Quick filter again. If it's installed, Synaptic will show it as such.

Let's close Synaptic now and open the terminal. In the terminal, type “hp-check -t”. This will check whether HPLIP is working correctly. In my case, this is what I found:

I was missing two required packages. If you have the same problem, type “hp-doctor” as suggested. You will get a number of prompts throughout, the first of which may be a distribution error:

error: This distro (i.e ubuntu 13.10) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes, n=no*):

Type “y” and continue.

If you get after it checks for updates:

Newer version of HPLIP-3.13.11 is available.
Press 'y' to continue to upgrade HPLIP-3.13.11 (y=yes*, n=no):

Type “y” and continue. You may be told to install HPLIP manually, but it will continue anyway, and check for dependencies.

Under General Dependencies, hp-doctor found this:

The next prompt will be:

Do you want to update repository and Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip):

Type “a” and continue.

Because my problem was a plug-in version mismatch, I next got this:

Found Plugin version mismatch. Press 'y' to re-install the plugin(y=yes*, n=no):

Type “y” and continue.

When you're asked whether to download, specify a path, or quit, choose the download option by typing “d”.

HP will then ask you to accept the license terms:

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ?

Type "y" if you accept.

hp-doctor will then complete without further prompts. Now try to print your document.

Other solutions

In my case, running hp-check -t was the solution to fix the "filter failed" error. However, that may not be the case with you.

One solution that was a temporary fix was to change my PDF viewer. So, switching from the default Evince to KDE's Okular appeared to solve the problem. (By my own admission, I'm no Linux expert, so don't ask me how.)

There are some useful resources that may help:



  1. This comment has been removed by a blog administrator.

  2. Thank you very much, luckily enough for me the 1st solution worked :D

    1. Great to hear that it worked for you. Thanks for reading! :D

  3. This comment has been removed by a blog administrator.

  4. Thanks, I selected the first option, function correctly.


    1. Thank you for commenting. I'm happy the first one worked for you.

  5. Thanks for such a nice post do you know what is best Toner Cartridge for Printers for both compatible and branded printers specially Epson printers.

  6. Solution 3 fixes broken cups printer server after ubuntu / kubuntu update or upgrade in February 2015.
    Error messages: "cups filter failed" "print service unavailable" "bad file descriptor"
    Many thanks for the solution!

    1. Thanks for the comment. I've added those errors to the article.

  7. Excellent article. Fixed my problem installing HP Laserjet 1020 under ubuntu 14.04,

    hp-doctor was the step that made a difference for me. Print queue was emptying, but printer was not actually printing anything.

    Many thanks,

    1. Thanks. The third solution certainly seems to do the trick for most people.

  8. Really a great tutorial. The hp-doctor solved the problem that jobs have been sent to the queue, but nothing happend after it. I also got the "filter failed" info in the queue details. Now, it's gone and the printer HP M127 works fine under Lubuntu 14.04

  9. I had the same issue, but none of these solutions worked. hp-doctor fixed many dependencies, but that didn't solve the problem. When rerun, it said everything was OK was I still got the same error "Filter failed" and error code 48 in the logs.

    Here is what I did, on Linux Mint 17.2 and a Laserjet Pro MFP m125nw:

    1. Removed the installed printer that failed in CUPS Web UI
    2. Uninstalled hplip (apt-get remove hplib)
    3. Download the latest version from (I think the version shipped with my distro was older)
    4. Run the downloaded file (first you need to make it executable with chmod +x filename)
    5. Follow instructions (when prompted, I preferred interactive mode over GUI)

    I think I had to run hp-setup at the end because I decided to use USB instead of Ethernet.

    Hope that helps!


  10. Yes it worked !! Thanks

  11. thanks of sharing information

    HP Technical Support

    HP Printer Customer Technical support +1-800-723-4210

  12. Superb post. Many thanks for discussing valuable content material. If you need additional information about solution of Dell printer issues then call us at HP printer contact number UK 0800-098-8371.

  13. Thank a lot for this post that was very interesting. Keep posting like those amazing posts, this is really awesome.Want to add additional information about Brother printer issues,contact us @ 0800-098-8371 Brother printer support number UK

  14. Thank you for the info. It sounds pretty user friendly. I guess I’ll pick one up for fun.

    123 hp install

  15. Untold properties in the world have really been great inspirations for others. Your post is the same worth to be recommended to others.

    Anyone who want assistance regarding HP Printer call 0800-090-3242 HP Printer Helpline Number UK, our experts touch with you through calls and resolved your problems in minute.

  16. epson printer support,epson technical support ,epson support,epson customer support,
    epson helpline ,epson helpline number,epson customer care
    epson technical support

  17. Great blog! I really love how it is easy on my eyes and the information are well written.

    123hp sj-4650 setup

  18. Thank a lot for this post that was very interesting. Keep posting like those amazing posts, this is really awesome. Want assistance for Brother Printer Contact us Brother Printer Contact Number UK 0800-090-3242.

  19. Thank you, worked for me.
    I did have to change my printer name from hp 1020 to hp 1022, but then everything worked perfectly

  20. Nice blog...Online Earn Income Apply for Adsense

    HP Tech Support Number our team available for your help online mode contact for HP +1=800=723=4210.

  21. Nice blog, thanks a lot. I tried all three things you recommend, and none of them fixed my "Filter failed" error. What did is the following:
    I ran hp-plugin then I deleted the printer (using the CUPS web interface), then I ran hp-setup . Now, it works.
    I have no idea if the order in which I did things matters.


  22. Can you please help me with the driver download link, I believe the patch related to printer installation is missing in my

    system. 6230

  23. My cousin recommended this blog and she was totally right keep up the fantastic work!
    123 HP Officejet Pro 8610

  24. Nice blog...
    The printers often face some of jamming issues. This wastes the paper every time stuck in the printer. This issue is also guided perfectly by The technical assistance guides you for check spooler, the usual speed, automatic duplexer setting that can affect the speed and guides you the perfect solution call 1-800-723-4210.

    HP Tech Support Number

  25. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts.We provide you Printer Technical Support Number. Call us at toll free 1-800-231-4635.

  26. This comment has been removed by the author.

  27. Dial HP Printer Technical Support & HP Printer Support Number USA for Repair HP Printer Driver Installation, Configuration & Setup Error by HP Printer Help.

  28. Hey Nice Blog
    Epson is the best popular for printers. But sometimes showing technical issues at that time. Call at 0800-090-3851 Epson Printer Support Number UK toll free for Epson Printer get the solution


  29. Great information. Thanks for providing us such a useful information. Keep up the good work and continue providing us more quality information from time to time.

    123 HP Wireless Printer Setup - 1888 580 0856

  30. Hey very useful thanks for sharing this post
    if you have any error Epson Printer Helpline Number UK

  31. Dial 1-800-581-0417 Technical Support phone Number MY 123 HP Support for Technical issues Online 24by7 and discuss with the experts.

  32. I was searching for HP printer support blog and i find your blog really good. Thanks for writing this in depth post. I found a good resource for HP Toll Free Support Number, might be helpful for your blog also. Please take a look at this blog also.

  33. Getting problems in operating brother multi-function printer such as scan, copy etc, features don’t work properly then, you need to talk to our technical experts at 0808-281-8685 to get instant solution. Brother Printer Support Number UK

  34. Nice blog, thank you for sharing it.

    Visit HP Printer Tech Support Number

  35. HP printer technical support service and phone number 1-800-436-0509 for HP repair services. technical support services offers best and effective repair services for error solving and major and minor hp printer problem. By dialing our hp printer support phone number and contacting with our technical experts get best hp printer help. Error solving is 100% all type of technical errors of HP printer. Get advantage of HP printer clients. We will help you for HP printer configuration, HP printer speed issue and HP printer paper jam and many more.


  36. Great thoughts you got there, believe I may possibly try just some of it throughout my daily life.
    HP Envy 4500 Install

  37. Thanks for sharing a great ideas about HP Printers. If you face any technical issues please visit our website:

  38. Great Post
    Thanks for Sharing the great information on Printer driver download

  39. This Blog Post is very nice and having useful information for real time assistance click

  40. This Blog is very useful and you have shared a great information about HP Printers
    123 HP Setup

  41. This post was very nice and amazing for support

  42. Hii Nice Blog .Thanks For Sharing Such Good Blog .
    If any one know more about Canon Printer Visit To Technical Supports For

    Canon Printers | +1-855-517-2433

    If any one know more about Canon Printing Problems and Solution Visit To Canon Printing

    Problems and Solution | +1-855-517-2433

    If any one know more about Brother Printers Visit To Technical Supports For

    Brother Printers | +1-855-517-2433

    If any one know more about Computer Support Visit To Technical Supports For Computer

    Support | +1-855-517-2433

    Call Now +1-855-517-2433

  43. Thanks for sharing this post. I really like and appreciate your blog post.Much thanks again. Want more hp customer care services .

  44. You just saved my life! I was trying to fix my print server for hours. Thank you so much!

  45. Thanks for sharing this post. I really like and appreciate your blog post.Much thanks again. Want more hp customer care services.

  46. Quality printouts are required every and when you are not able to get that from your Kodak Printer, then you need to talk to the technicians at 0800-090-3240 to get instant solution. KODAK Printer Help Number UK

  47. Wow,it's really a great post and very easy to understand. I think it's helpful for everyone. Thanks for sharing.

  48. Get quick to service to, HP Technical Support, give quality service HP printer technical support phone number 1-800-870-7412 telephone customer care service online chat available USA & Canada.

    Toll free number 1-800-870-7412