You are not logged in.

#1 2013-12-05 04:01:43

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 324

[Solved] My printer used to print...

After cups-filters substituted foomatic-filters a couple of days ago, I discovered today that my network attached Oki C5750 printer no longer prints.  I can ping it and lp says it is fine:

 # lpq
OKI-C5750-5B7775 is ready and printing 

However, KDE says: "In use - "Unable to locate printer.""

I have checked cups.service, cupsd.service, cups-browsed.service, avahi.service - all report OK.

I have looked at the CUPS configuration interface and modified the printer to make sure it is being pointed to the correct PPD. It is.

So I wonder - why would the system suddenly fail to locate the printer? Is it due to the new cups-filters file, or is it because I ran BleachBit (and rebooted) before I tried to print? BleachBit has not caused anything like this before, but this time it cleared my /home/user/.cache, wherein Cantata had placed a few mpd-related files. Does CUPS also rely on files in this directory? Or is the culprit the new cups-filters file? Or is it something else?

Would it help to remove the printer and reinstall?

Edit:
I removed and then tried to reinstall the printer, but now CUPS did not show my printer as an (network) option. I then uninstalled all CUPS-related packets, rebooted, reinstalled the packets, enabled/started daemons, and went to http://localhost:631 → Administration → Add Printer → Discovered Network Printers: → Nothing...

So, even if I can ping the printer and login to the printer config UI, CUPS apparently is no longer able to find the printer. I will try to downgrade.

Last edited by whaler (2013-12-08 00:23:37)

Offline

#2 2013-12-05 14:02:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [Solved] My printer used to print...

whaler, if you know the correct protocol cups needs to use to connect to the printer, you can add it manually and it will work.

under "Add Printer" in the cups interface you have a list of several protocols, which one you need will depend on brand/model of your printer and the way it connects.

http://localhost:631/help/network.html has details about the protocols and options you can use.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2013-12-06 02:01:09

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 324

Re: [Solved] My printer used to print...

Thank you, Lone_Wolf, but CUPS *should* see my printer wink

CUPS has had no problem finding the printer, which I've given a fixed address of 10.0.0.17, the last five years. Then suddenly, after the CUPS-related updates the last several days, it is unable to locate it. Or - BleachBit has removed an essential network file. Even after removing and reinstalling all CUPS-related packets, as mentioned above, there seems to be no go. I find this to be rather weird, since I have no problem pinging the printer or accessing its configuration UI.

I am aware of CUPS' help pages, but I am no network wizard... DHCPD is mentioned, but I don't have it installed and would rather avoid it as a 'workaround', if possible.

Meanwhile I will try downgrading and see what that brings. I'll be back wink


BTW, while working, the printer reported the connection as follows:

 Connection:    dnssd://OKI-C5750-5B7775._printer._tcp.local/ 

I tried setting the printer up with the following address:

 http://10.0.0.17:631/ 

but while both CUPS and KDE seem happy, the printer does not react on printing commands.

Last edited by whaler (2013-12-06 02:34:04)

Offline

#4 2013-12-06 13:30:02

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [Solved] My printer used to print...

Whaler, cups uses Avahi to detect network printers and i've seen many cases where cups didn't see a network printer, but adding it manually did work.

Try adding your printer with dsnsd://10.0.0.17/ as printer uri .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2013-12-07 22:59:04

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 324

Re: [Solved] My printer used to print...

Sorry for the absence - duties...

I tried your suggestion, and as with various other attempts the configuration process appears to be OK; I restart services, daemons and sockets, including Avahi, just to make sure; CUPS willingly accepts printing jobs; but nothing gets printed. Meanwhile 'everything' else on the system can talk to the printer, as it were. Except CUPS. CUPS has reliably detected my printer for years without any fuss. I believe something is seriously botched, but I have no idea what it may be. I have not had time to try a full downgrade.

----------------------------------------

Edit:
I tried
dnssd://10.0.0.17/   -->no go
(h)ttp://10.0.0.17/    --> no go
ipp://10.0.0.17/        --> no go
socket://10.0.0.17/  --> and it worked!

So you were right about the method - thanks a lot Lone_Wolf!

I am still wondering why CUPS has stopped detecting my network printer and why I can only print from Thunderbird and Firefox via a pdf file, but never mind, the main problem seems to be solved. Thanks again!

Last edited by whaler (2013-12-07 23:54:09)

Offline

Board footer

Powered by FluxBB