Debian Squeeze and Printing

Debian Squeeze and Printing

Postby fruit » Fri Jul 30, 2010 8:58 am

Decided Ubuntu wasn't for me so have gone back to Debian Squeeze 64 bit - a while back now. Had a bit of trouble reinstalling BAZ but that's all sorted - except that I can't print. Just get a dialogue 'No print service found'.

Printing works for all other apps I've tested as well as PAZ, OpenOffice, jedit. Nothing in any log files AFAICS. Haven't been able to find anything useful on the net and have compared with a Ubuntu install on another machine that will remote print happily through CUPS on this one - nothing obvious.

Anyone any ideas?
fruit
 
Posts: 141
Joined: Sat Feb 24, 2007 6:10 pm
Location: Brandon, Suffolk, UK

Re: Debian Squeeze and Printing

Postby Quentin Pain » Fri Jul 30, 2010 12:53 pm

Hi Fruit, this is what one of our Java developers said:
"to have a guess I will say the printer drivers in Ubuntu and Debian are maybe different for his printer. One is "Java friendly" and the other is not. But this is only a guess. (The fact that JEdit is printing is not too useful as we know they are printing in some other, more native way, but we have never had the time to dig into their code and find out how they are doing it)."

Kav is also taking a look to see if he can offer any help. The bottom line is that you will have to delve deeper into CUPS to see if there is something that can be fixed there.
Quentin Pain
Expert
 
Posts: 1592
Joined: Sun Feb 18, 2007 4:17 pm

Re: Debian Squeeze and Printing

Postby fruit » Fri Jul 30, 2010 1:53 pm

There do seem to be some differences but both appear to be running the same major and minor versions of cups 1.4 though Ubuntu is not up at the moment so I can't check for sure.

I've done quite a bit of searching including the cups forum and debian changelog from 1.4.1 to 1.4.4-1, nothing obvious that I can see. Seems that there is a communication problem between BAZ and cups as I see no entries in cups access or error logs. Nothing print related in baz-logs other than

Code: Select all
WARN  (I18n.java [getProperty]:268) - missing i18n value for key:


which occurs for many other variables too.
fruit
 
Posts: 141
Joined: Sat Feb 24, 2007 6:10 pm
Location: Brandon, Suffolk, UK

Re: Debian Squeeze and Printing

Postby Quentin Pain » Mon Aug 02, 2010 11:11 am

Those warnings are just missing internationalisation strings, mostly for unused or deprecated labels.
Quentin Pain
Expert
 
Posts: 1592
Joined: Sun Feb 18, 2007 4:17 pm

Re: Debian Squeeze and Printing

Postby fruit » Mon Aug 02, 2010 11:24 am

I assumed they were just log noise and nothing serious as everything else appeared to be working.

Over the weekend I stripped out all cups related packages and configs and reinstalled - along with everything else that was removed at the same time. Still 'no print service found'.
fruit
 
Posts: 141
Joined: Sat Feb 24, 2007 6:10 pm
Location: Brandon, Suffolk, UK

Re: Debian Squeeze and Printing

Postby Quentin Pain » Mon Aug 02, 2010 3:00 pm

Very strange Fruit. We are completely stuck at this end. Not sure what can be done about this. Can you try on the Debian forums again? Surely someone there must have some idea.
Quentin Pain
Expert
 
Posts: 1592
Joined: Sun Feb 18, 2007 4:17 pm

Re: Debian Squeeze and Printing

Postby fruit » Mon Aug 02, 2010 3:55 pm

OK, I'll keep searching.

Since reinstalling cups I have had debugging enabled and I am seeing similar to this when attempting to print (this from a single print request)...

Code: Select all
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 12 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 11 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 11
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 12 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 12
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 11 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 11
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 11 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 11
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 11 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 11
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 12 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 11 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 11
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 12 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 12
D [02/Aug/2010:16:47:32 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [02/Aug/2010:16:47:32 +0100] cupsdReadClient: 11 WAITING Closing on EOF
D [02/Aug/2010:16:47:32 +0100] cupsdCloseClient: 11


there do seem to be recent similar reports and logs relating to debian cups updates so perhaps I'm getting closer
fruit
 
Posts: 141
Joined: Sat Feb 24, 2007 6:10 pm
Location: Brandon, Suffolk, UK

Re: Debian Squeeze and Printing

Postby Quentin Pain » Tue Aug 03, 2010 11:17 am

I will pass that on to the dev guys here. Perhaps it makes some sense to them.
Quentin Pain
Expert
 
Posts: 1592
Joined: Sun Feb 18, 2007 4:17 pm

Re: Debian Squeeze and Printing

Postby fruit » Tue Aug 03, 2010 1:45 pm

Got it! All working again now. Web update wasn't working here either but thought that was a local problem. Appears it is very closely connected.

Taken a lot of searching, testing things and trying again - nearly worn out my BARestore icon.

Netbase has recently introduced the sysctl-setting
net.ipv6.bindv6only=1 in /etc/sysctl.d/bindv6only.conf and this setting
will probably be the default in squeeze.

This setting breaks networking in java, and any traffic will for openjdk
always result in a "java.net.NoRouteToHostException: Network is
unreachable".


from

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056
fruit
 
Posts: 141
Joined: Sat Feb 24, 2007 6:10 pm
Location: Brandon, Suffolk, UK

Re: Debian Squeeze and Printing

Postby Quentin Pain » Wed Aug 04, 2010 12:14 pm

Many thanks for letting me know :)
Quentin Pain
Expert
 
Posts: 1592
Joined: Sun Feb 18, 2007 4:17 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest