You are not logged in.

#1 2015-06-19 15:24:07

darioshanghai
Member
Registered: 2011-05-29
Posts: 16

CUPS printer autodiscovery fails?

Hi,

I set up a Canon PIXMA iP7250 to work locally on a server I have at home. I had managed to access it remotely as well, but that stopped working at the first server reboot (maybe due to some update? I reboot the server very rarely). I tried every possible thing I could think of (reconfiguring CUPS on the server and on the client; reconfiguring manually; reinstalling CUPS on server and client; trying to use IPP on the CUPS client) to connect to the server properly, but it just won't. The client CUPS will either send the job to the server CUPS (and then the job will disappear) or,  if I use the auto-discovery that worked well the first time, it will say "Unable to locate printer". However the printer works perfectly if I print from the server itself at the same time (test pages and proper prints alike).

My home network is a fairly simplistic thing I set up myself, and I am no expert on the matter, but I have successfully set up all sort of servers, which I use through IPs (not domain names). The auto-discovered URI on the client however seems to be domain-based:

dnssd://Canon%20PIXMA%20iP7250%20%40%20pinkunicorn._ipp._tcp.local/cups?uuid=12238f12-95e5-3a61-52ea-42953cd9931f

(pinkunicorn is the host name of the server). I don't know if this was the case when it was working as well.

Error log on the client:

E [19/Jun/2015:15:58:02 +0100] [Job 130] The printer is not responding.
E [19/Jun/2015:15:58:32 +0100] [Job 130] The printer is not responding.
W [19/Jun/2015:16:01:47 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Canon_Canon_PIXMA_iP7250-Gray..' already exists
W [19/Jun/2015:16:01:47 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Canon_Canon_PIXMA_iP7250-RGB..' already exists

On the server:

D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdSendHeader: code=200, type="text/plain", auth_type=0
D [19/Jun/2015:16:17:54 +0100] [Client 209] Sending file.
D [19/Jun/2015:16:17:54 +0100] [Client 209] con->http=0x7f46b92f84c0
D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2030, response=(nil)(), pipe_pid=0, file=21
D [19/Jun/2015:16:17:54 +0100] [Client 209] con->http=0x7f46b92f84c0
D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2030, response=(nil)(), pipe_pid=0, file=21
D [19/Jun/2015:16:17:54 +0100] [Client 209] con->http=0x7f46b92f84c0
D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2030, response=(nil)(), pipe_pid=0, file=21
D [19/Jun/2015:16:17:54 +0100] [Client 209] con->http=0x7f46b92f84c0
D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2030, response=(nil)(), pipe_pid=0, file=21
D [19/Jun/2015:16:17:54 +0100] [Client 209] con->http=0x7f46b92f84c0
D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2030, response=(nil)(), pipe_pid=0, file=21
D [19/Jun/2015:16:17:54 +0100] [Client 209] con->http=0x7f46b92f84c0
D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2030, response=(nil)(), pipe_pid=0, file=21
D [19/Jun/2015:16:17:54 +0100] [Client 209] con->http=0x7f46b92f84c0
D [19/Jun/2015:16:17:54 +0100] [Client 209] cupsdWriteClient error=0, used=0, state=HTTP_ST

Please help.

Offline

#2 2015-06-19 15:52:27

darioshanghai
Member
Registered: 2011-05-29
Posts: 16

Re: CUPS printer autodiscovery fails?

New discovery: if I set the printer through the IPP protocol (ipp://10.42.0.1/printers/Canon_iP7250) on the client, the job reaches the server, and it's marked as completed THERE, despite the printer still not printing. If, after that, I print something locally from the server, it prints. It looks like both client and server use the same driver already as well (Canon PIXMA iP7250 - CUPS+Gutenprint v5.2.10 (color, 2-sided printing)) neutral

Offline

#3 2015-06-22 10:54:23

darioshanghai
Member
Registered: 2011-05-29
Posts: 16

Re: CUPS printer autodiscovery fails?

Any takers? Still no idea. Should this be moved to a different forum section? Any help appreciated.

Offline

#4 2015-07-01 02:40:57

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: CUPS printer autodiscovery fails?

I think CUPS uses Avahi for autodiscovery. Have you tried restarting / reinstalling that too?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

Board footer

Powered by FluxBB