You are not logged in.

#1 2012-09-14 01:04:00

bwat47
Member
Registered: 2009-10-07
Posts: 637

Printer issues after recent cups update?

Printer is an hp officejet 8600 pro, using hpcups/hplip. To start off, yes I have avahi and cups installed and running via systemd. In previous versions of cups I had network printing and scanning working fine via the ipp protocol, now It just keeps giving me "unable to locate printer". I tested booting up an ubuntu live cd and using the exact same ipp URI there, and it worked perfectly so I know the uri isn't wrong. Removing/re-adding the printer did not help. cups interface discovers the network printer fine, lets me add it, says its idle and ready to go, but as soon as I try and print "unable to locate printer".

Only way I was able to get it to work was using appsocket and the printer's ip address, but now the scanning isn't detected at all. Has anyone else had similar issues?

Here's the type of stuff I was seeing in my cups log:

[13/Sep/2012:19:27:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz!
E [13/Sep/2012:19:27:36 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/cupsfilters.drv"!
W [13/Sep/2012:19:27:58 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Officejet_Pro_8600-Gray..' already exists
W [13/Sep/2012:19:27:58 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Officejet_Pro_8600-RGB..' already exists
W [13/Sep/2012:19:27:58 -0400] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-Officejet_Pro_8600' already exists
W [13/Sep/2012:19:28:03 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Officejet_Pro_8600-Gray..' already exists
W [13/Sep/2012:19:28:03 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Officejet_Pro_8600-RGB..' already exists
W [13/Sep/2012:19:28:03 -0400] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-Officejet_Pro_8600' already exists
E [13/Sep/2012:19:28:14 -0400] [Job 20] Unable to find printer.
E [13/Sep/2012:19:28:31 -0400] [Job 20] Unable to find printer.
W [13/Sep/2012:19:28:58 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Officejet_Pro_8600-Gray..' already exists
W [13/Sep/2012:19:28:58 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Officejet_Pro_8600-RGB..' already exists
W [13/Sep/2012:19:28:58 -0400] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-Officejet_Pro_8600' already exists
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Xerox/xrx6120pu.ppd!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz!
E [13/Sep/2012:19:38:36 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
W [13/Sep/2012:19:38:36 -0400] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz!
E [13/Sep/2012:19:38:36 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/cupsfilters.drv"!
W [13/Sep/2012:19:40:09 -0400] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_HP_Officejet_Pro_8600
W [13/Sep/2012:19:40:09 -0400] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_HP_Officejet_Pro_8600
W [13/Sep/2012:19:40:15 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_Officejet_Pro_8600-Gray..' already exists
W [13/Sep/2012:19:40:15 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_Officejet_Pro_8600-RGB..' already exists
W [13/Sep/2012:19:40:15 -0400] CreateDevice failed: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-HP_Officejet_Pro_8600' already exists
W [13/Sep/2012:19:41:31 -0400] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_HP_Officejet_Pro_8600
W [13/Sep/2012:19:41:31 -0400] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_HP_Officejet_Pro_8600
E [13/Sep/2012:19:42:55 -0400] [Job 21] Unable to find printer.
E [13/Sep/2012:19:43:11 -0400] [Job 22] Unable to find printer.
E [13/Sep/2012:19:44:37 -0400] [Job 23] Unable to find printer.

Offline

#2 2012-09-15 02:04:37

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Printer issues after recent cups update?

Dnssd isn't working for me either in the latest cups update (1.6.1) for my Brother printer.  It used to work.  I am using the following uri now for my Brother printer: lpd://192.168.0.10/BINARY_P1

Interestingly, "lpinfo -v" returns two dnssd uri's that don't work.  The first one is the one that I used to use.

[root@myhost ~]# lpinfo -v
network socket
network https
network ipps
network lpd
network ipp
network http
network smb
network beh
network dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/
network dnssd://Brother%20HL-2270DW%20series._ipp._tcp.local/
network lpd://BRW002258191E50/BINARY_P1
network cnijnet:/00-1E-8F-A6-5A-72

Offline

#3 2012-09-15 03:38:20

bwat47
Member
Registered: 2009-10-07
Posts: 637

Re: Printer issues after recent cups update?

Yea its strange, and sometimes it refuses to even discover the printer when avahi browser clearly shows it... Anyway I fixed my issue by using hp-setup as root instead. avahi refused to discover the printer there, but using the ip got both my printing and scanning working.  dnssd seems totally borked though.

Offline

#4 2012-09-19 02:12:30

jamtat
Member
Registered: 2008-03-13
Posts: 185

Re: Printer issues after recent cups update?

Dunno if my printer problems are related to what's being discussed in this thread or not. That's because mine is a networked printer, a Brother HL-6050D/DN, while this thread seems to be discussing a local printer. Anyhow, I've got the printer configured for static addressing and have it hooked to my LAN. It's been working great ever since I got it a few years ago. But after hooking it to the LAN with a new cable, problems started. First thing I suspected was a bad ethernet cable and, sure enough, once I'd snipped off one jack and replaced it with a new one, I was able once again to ping the printer at its IP. Weird thing is I can now print to that printer from 2 other (Ubuntu) computers on my LAN that connect by wifi, but I can no longer print to it from my Arch system, which connects to the LAN by cat5 cable. I can ping the printer from the Arch system, but not print to it. I did update cups to 1.6.1-6 as I was trying to troubleshoot the issue. When I log into the cups web admin panel and look under the Printers tab, I see 'Brother HL-6050D/DN BR-Script3 Paused - "Waiting for job to complete."' Seems like some kind of job is stuck, even though I've run "cancel -a" a number of times, killed and restarted cupsd, and even power-cycled the printer. Any tips on other things I might try to get this printer unstuck--stuck, at least, from my Arch machine's perspective? Thanks.

Last edited by jamtat (2012-09-19 05:07:31)

Offline

#5 2012-09-19 02:51:49

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Printer issues after recent cups update?

A couple of things.  Are you using the drivers supplied by Brother?  If so, what URI are you using? It should be something similar to lpd://(Your printer's IP address)/binary_p1

Have you tried creating the symbolic link such as mentioned here: http://welcome.solutions.brother.com/bs … e.html#003
Note that references to /etc/init.d/ should instead be to /etc/rc.d/ for Arch.

Also in the cupswrapper driver in /usr/local/Brother/Printer/~/cupswrapper/ should have all references to /etc/init.d/ edited to /etc/rc.d/

Offline

#6 2012-09-19 04:33:39

jamtat
Member
Registered: 2008-03-13
Posts: 185

Re: Printer issues after recent cups update?

David Batson wrote:

A couple of things.  Are you using the drivers supplied by Brother?  If so, what URI are you using? It should be something similar to lpd://(Your printer's IP address)/binary_p1

Yes, I downloaded the Brother drivers when I set this up. I've always used ipp://(my printer's IP) with nothing following. That said, I'm obviously no sort of savant when it comes to configuring printers under Linux.

Have you tried creating the symbolic link such as mentioned here: http://welcome.solutions.brother.com/bs … e.html#003
Note that references to /etc/init.d/ should instead be to /etc/rc.d/ for Arch.

No, I've not run across that previously. There is no cupsys or cups in /etc/rc.d, though. Should the file to which the symbolic link points be /etc/rc.d/cupsd, then?

Also in the cupswrapper driver in /usr/local/Brother/Printer/~/cupswrapper/ should have all references to /etc/init.d/ edited to /etc/rc.d/

Ok, I'll have a look at that, too. Thanks for your input, David.

James

PS Later edit: there is no /usr/local/Brother directory on this system, and no Brother directory to be found anywhere else. Likewise I find no cupswrapper file anywhere on this system.

Last edited by jamtat (2012-09-19 05:13:14)

Offline

#7 2012-09-19 12:56:30

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Printer issues after recent cups update?

I have a different model Brother printer than you do, but this is how I initially set mine up.

https://bbs.archlinux.org/viewtopic.php … 7#p1007217

Offline

#8 2012-09-19 15:06:29

jamtat
Member
Registered: 2008-03-13
Posts: 185

Re: Printer issues after recent cups update?

I got my printer to work again by doing something much more simple than going through the steps suggested above. I resolved my issue in the following admittedly crude, but apparently effective, way. From the referenced thread, I found out about the /etc/cups/printers.conf file and decided to have a look at its content. On my system, it read:

# Printer configuration file for CUPS v1.6.1
# Written by cupsd on 2012-09-18 19:14
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer Bro>
UUID urn:uuid:84a6532b-7e25-3d70-5793-bf3c2407f5f2
AuthInfoRequired none
Info HL-5060DN
Location Apt
MakeModel Brother HL-6050D/DN BR-Script3
DeviceURI ipp://(IP on my LAN's subnet)
State Stopped
StateMessage Waiting for job to complete.
StateTime 1347034674
Reason paused
Type 8433748
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#000000,#000000
Attribute marker-levels -1,99
Attribute marker-names TN-670/TN-4100,DR-600/DR-4000
Attribute marker-types toner,opc
Attribute marker-change-time 1347033690
</Printer>

Making note of the "# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING" line, I killed cupsd (/etc/rc.d/cupsd stop) and edited the file. Comparing the content with an older version of the same file stored on tis system, I decided to try making two changes so that the file looked as follows:

# Printer configuration file for CUPS v1.6.1
# Written by cupsd on 2012-09-19 09:47
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer Bro>
UUID urn:uuid:84a6532b-7e25-3d70-5793-bf3c2407f5f2
AuthInfoRequired none
Info HL-5060DN
Location Apt
MakeModel Brother HL-6050D/DN BR-Script3
DeviceURI ipp://(IP on my LAN's subnet)
State Idle
StateMessage
StateTime 1348065998
Type 8433748
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors none,none
Attribute marker-levels -1,-1
Attribute marker-names TN-670/TN-4100,
Attribute marker-types unknown,unknown
Attribute marker-change-time 1348065998
</Printer>

(I changed the State from Stopped to Idle and removed "Waiting for job to complete." after StateMessage). After doing /etc/rc.d/cupsd start, I was once again able to print to this printer from my Arch machine. So it looks like the issue of getting the printer "unstuck" was fairly easy to resolve. Not sure how that happened: maybe it got stuck due to the bad cable I'd tried to use? But unsticking it turned out to be, once I knew where to look, fairly trivial.

Thanks for the input on this issue.

Last edited by jamtat (2012-09-19 15:35:02)

Offline

#9 2012-09-26 20:10:34

jamtat
Member
Registered: 2008-03-13
Posts: 185

Re: Printer issues after recent cups update?

I had another go at this since I ran into subsequent printing issues. I ended up doing a number of different things since I was uncertain what was causing my problems. Thus I'm not entirely certain what finally resolved the issues. But my Brother HL6050D printer is now working again.

The main subsequent issue is that I lost the capability of printing from any pdf viewer (epdfviewer and evince were the main ones I tried). I could, however, print from LibreOffice. I got a bit frustrated and decided, as some have done in other threads, to just delete and reinstall the printer.

That didn't go so well at first. I ended up using directions David Batson linked to in his 9/19 post above, though I, of course, had to modify them to suit my printer. They didn't work as advertised for me, though, and it wasn't until I changed the URI in /etc/cups/printers.conf to lpd://(my printer IP)/binary_p1 that I was able finally to see the printer through the CUPS web admin page.

But then, though I could send jobs to the printer, it would spit out only blank pages. I ran across a posting that indicated this might be due to outdated poppler libraries, so I updated those. But still I was getting blank sheets when I would send print jobs to the printer.

Finally, I searched on some error messages about filters I was seeing and, from another posting, came to understand that I may also have an outdated cups-filters package. So I updated that. After making those changes and updating those packages, I got my printer working as well as it previously had worked.

My supposition is that the issue stemmed, ultimately, from a partial upgrade. Had I updated all CUPS-related packages at once, it may not have occurred. I can't totally rule out the possibility that it was related mainly to outdated poppler libraries, though. Sorry I can't say specifically what was the resolution: the best I can do is add to the alphabet soup list of things to try when your printer stops working smile

James

Offline

#10 2016-01-09 22:15:00

arjunkc
Member
Registered: 2015-08-20
Posts: 2

Re: Printer issues after recent cups update?

If this helps anyone, the way to fix this is to install nss-mdns

pacman -S nss-mdns

Then edit

/etc/nsswitch.conf

and include mdns in the hosts line. For example, it could say

hosts: files mdns_minimal dns mdns 

Then restart cups using

systemctl restart org.cups.cupsd.service

and it should work perfectly.

Offline

#11 2016-01-10 18:28:17

pypi
Member
Registered: 2014-04-22
Posts: 156

Re: Printer issues after recent cups update?

This is a three/four year old thread; please do not necrobump? Consider adding the information to the wiki instead.

Offline

#12 2016-01-10 18:35:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,935

Re: Printer issues after recent cups update?

pypi wrote:

This is a three/four year old thread; please do not necrobump? Consider adding the information to the wiki instead.

I think this falls under exception explained in the third bullet item.

But, I think I'll take this opportunity to close this old thread nonetheless.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB