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”.

Diagnosing


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:


End.

82 comments:

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

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

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

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

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

    Pedro

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

      Delete
  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.

    ReplyDelete
  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!

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

      Delete
  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,
    Mike

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

      Delete
  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

    ReplyDelete
  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 http://hplipopensource.com/hplip-web/install/install/index.html (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!

    Colin

    ReplyDelete
  10. Yes it worked !! Thanks

    ReplyDelete
  11. thanks of sharing information

    HP Technical Support


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

    ReplyDelete
  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.

    ReplyDelete
  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

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

    123 hp install

    ReplyDelete
  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.

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

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

    123hp sj-4650 setup

    ReplyDelete
  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.

    ReplyDelete
  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

    ReplyDelete
  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.

    ReplyDelete
  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.

    ReplyDelete


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

    system.


    123.hp.com/ojpro 6230

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

    ReplyDelete
  24. Nice information...you 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 hpsupporthelp247.com. 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

    ReplyDelete
  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.

    ReplyDelete
  26. This comment has been removed by the author.

    ReplyDelete
  27. Dial HP Printer Technical Support & HP Printer Support Number USA for Repair HP Printer Driver Installation, Configuration & Setup Error by HP Printer Help.
    http://www.hptechnicalsupportphonenumbersusa.com/hp-printer-support/

    ReplyDelete
  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

    ReplyDelete

  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 123.hp.com

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

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

    ReplyDelete
  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.

    ReplyDelete
  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

    ReplyDelete
  34. Nice blog, thank you for sharing it.

    Visit HP Printer Tech Support Number

    ReplyDelete
  35. HP printer technical support service and phone number 1-800-436-0509 for HP repair services. hpprintersupporthelpline.com 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.

    ReplyDelete

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

    ReplyDelete
  37. Thanks for sharing a great ideas about HP Printers. If you face any technical issues please visit our website:http://bit.ly/2sYseBD

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

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

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

    ReplyDelete
  41. This post was very nice and amazing for support

    ReplyDelete
  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

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

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

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

    ReplyDelete
  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

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

    ReplyDelete
  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

    ReplyDelete
  49. Toll free @ 0800-090-3240 Brother Printer Customer Care Number UK, Brother Printer Phone Number UK, Brother Printer Contact Number UK, Brother Printer UK.

    ReplyDelete

  50. I read this post fully concerning the difference of latest and former stuff, it is awesome article.


    123.hp.com/setup

    ReplyDelete
  51. ThankYou, For sharing such a valuable post. 1800-(244)-9314
    https://www.surveymonkey.com/r/LWLD7DJ

    ReplyDelete
  52. ThankYou, For sharing such a valuable post. 1800-(244)-9314
    https://www.surveymonkey.com/r/LWLD7DJ

    ReplyDelete

  53. Hii
    Sometimes, you may run into problems using the printer when printing your images and documents. All of these challenges can be resolved by getting the help of technical experts.

    Visit To All Types Of Printers Technical Supports | Call Now +1-855-517-2433
    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 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 Brother Printers Supports Visit To Brother Printer Support | +1-855-517-2433

    If any one know more about Computer Support Visit To Technical Supports For Computer Support | +1-855-517-2433

    ReplyDelete

  54. Nice Blog ... Continue work & Update

    HP Technical Support Number HP printer customer support number USA hp printer customer support USA hp printer support for USA hp printer support in USA hp printer tech support us hp printer tech support USA hp printer technical support number USA hp printer technical support phone number USA hp printer technical support USA .

    ReplyDelete
  55. I am really impressed along with your writing skills and also with the format on your blog.
    Hp Envy 7641 Troubleshooting

    ReplyDelete
  56. HP Printers offers a wide range of exciting features that explore the colourful world. If you are facing any technical issue related to it, call us at +44-800-090-3220 Hp Printer Phone Phone Number UK, our experts are here to help you as soon as possible.

    ReplyDelete
  57. Looking great work, I really appreciated to you on this quality work. Nice post!! these tips may help me for future.

    123.hp.com/setup

    ReplyDelete
  58. Hii
    Decent Blog So Keep Sending Such Blog .Thanks For Sharing Such Good Blog .
    Printer Support | Call Now +1-855-517-2433

    ReplyDelete
  59. This paragraph gives clear idea. I really appreciated to you on this quality work. Nice post..Thanks you.
    123 hp setup

    ReplyDelete
  60. Thanks for sharing such a valuable information related to Paper jam. If anyone face such problem then dial +1-855-202-4878 HP printer tech support phone number for instant support, and you will be never disappointed!

    ReplyDelete
  61. Hii
    Decent Blog So Keep Sending Such Blog .Thanks For Sharing Such Good Blog .

    Visit To All Types Of Printers Technical Supports | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | +1-855-517-2433

    Solution Visit To Technical Supports For Canon Printers | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Dell Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | +1-855-517-2433

    Solution Visit To Technical Supports For Canon Printers | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Dell Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | +1-855-517-2433

    Solution Visit To Technical Supports For Canon Printers | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Dell Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | +1-855-517-2433

    Solution Visit To Technical Supports For Canon Printers | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Canon Printing Problems and Solution | +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Dell Printer | Call Now +1-855-517-2433

    Solution Visit To Technical Supports For Hp Printer | +1-855-517-2433

    Solution Visit To Technical Supports For Canon Printers | +1-855-517-2433

    ReplyDelete
  62. Printers manufactured by HP have introduced many new features in the market but technical faults are still there in it. To get the these issues corrected call us. HP Printer Support Number

    ReplyDelete
  63. Thank you very much! Your blog is always full of great idea. They are really helpful
    thank..! really useful information..
    Dial Toll Free.
    Epson Printer Support Number UK 0808-178-2624
    Epson Printer Help Number UK
    Epson Printer Contact Number UK

    ReplyDelete
  64. Canon always brings best features and functions to maintain quality of their printers, Canon offers wide variety of printers for office as well as for home users. If you are planning to buy Canon printer, then you are free to contact us at Canon Printer Support Number UK 0808-178-2624.

    ReplyDelete
  65. If you are facing the same problem with your HP printer then you are free to contact HP customer support team at 0808-178-2624HP Printer Customer Care Number UK .
    HP Printer Support Number UK 0808-178-2624

    ReplyDelete