Author Topic: Problem with CUPS and HPLIP  (Read 150 times)

rowo

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Problem with CUPS and HPLIP
« on: Tue Jan 23 19:02:20 2018 »
I installed cups and hplip but the printer work print. It seems that there are many dependencies not met, here is the output of hp-check:https://pastebin.com/Nr5NKYK1

Thierry

  • Administrator
  • Sr. Member
  • *****
  • Posts: 379
  • Karma: +4/-0
  • Gender: Male
    • NuTyX distribution
Re: Problem with CUPS and HPLIP
« Reply #1 on: Tue Jan 23 19:34:52 2018 »
You should use -r (for runtime),
So I did
And pay attention that the check they do is a bit stupid as they are checking devel package. They mentionned "dbus is not installed" which is wrong of course, but they want dbus.devel which for me make no sense, idem for gcc and so on

rowo

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Problem with CUPS and HPLIP
« Reply #2 on: Tue Jan 23 20:26:39 2018 »
I used -r as well but that doesn't change anything. I tried to print from Firefox, LibreOffice and GIMP. Why is IPP used for a local USB printer? The connection is "usb://HP/DESKJET%20940C?serial=CN15U6C0J7BH"
Code: [Select]
root [ /home/nuty ]# cat /var/log/cups/error_log
E [22/Jan/2018:20:11:59 +0100] cupsdLoadBanners: Unable to open banner directory "/usr/share/cups/banners": No such file or directory
E [23/Jan/2018:09:02:53 +0100] cupsdLoadBanners: Unable to open banner directory "/usr/share/cups/banners": No such file or directory
E [23/Jan/2018:14:51:22 +0100] HP_DeskJet_940C: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
E [23/Jan/2018:14:51:22 +0100] HP_DeskJet_940C: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
W [23/Jan/2018:14:51:31 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_DeskJet_940C-Gray..\' already exists
W [23/Jan/2018:14:51:31 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_DeskJet_940C-RGB..\' already exists
E [23/Jan/2018:14:51:31 +0100] HP_DeskJet_940C: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
E [23/Jan/2018:14:51:31 +0100] HP_DeskJet_940C: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
E [23/Jan/2018:19:00:51 +0100] [Client 61] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/HP_DeskJet_940C) from localhost
W [23/Jan/2018:19:06:28 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_DeskJet_940C-Gray..\' already exists
W [23/Jan/2018:19:06:28 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_DeskJet_940C-RGB..\' already exists
E [23/Jan/2018:19:07:07 +0100] [Client 392] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/HP_DeskJet_940C) from localhost
E [23/Jan/2018:19:40:47 +0100] cupsdLoadBanners: Unable to open banner directory "/usr/share/cups/banners": No such file or directory
E [23/Jan/2018:19:43:16 +0100] [Client 15] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_940C) from localhost
E [23/Jan/2018:21:04:07 +0100] [Client 280] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/HP_DeskJet_940C) from localhost
E [23/Jan/2018:21:11:21 +0100] [Client 294] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_940C) from localhost


rowo

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Problem with CUPS and HPLIP
« Reply #3 on: Fri Jan 26 19:05:37 2018 »
Ok, that was my mistake. I installed the printer using localhost:631 in a browser, but I should have used the HP Device Manager ;) Now printing works.