Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-print/cups-1.4.4 will not print
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Fri Jul 23, 2010 5:47 pm    Post subject: net-print/cups-1.4.4 will not print Reply with quote

After upgrading to net-print/cups-1.4.4 sometime ago (required by dev-python/pycups-1.9.51 which is required kde-base/system-config-printer-kde-4.4.4 which itself is a dependency of @kdeadmin-4.4) I noticed that my printer would not print anymore. Downgrading back to net-print/cups-1.3.11-r2 and my printer seems to work fine, unfortunately I installed KDE-4.4 using sets so if I downgrade cups I will also need to uninstall kde-base/system-config-printer-kde-4.4.4 and dev-python/pycups-1.9.51 and remove it's entry in the KDEAdmin-4.4 set file.

I have a Epson Stylus CX7400 All-In-One printer connected through USB using the Gutenprint 5.1.4 drivers.
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Sat Jul 24, 2010 10:49 am    Post subject: Reply with quote

Did you check cups log files? Since it is a USB printer remove (rmmod) the usb printer kernel module, restart cups and try again.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sat Jul 24, 2010 9:08 pm    Post subject: Reply with quote

restarting cups or removing/readding the printer module (usblp) didn't seem to work. This is what was in the error log

/var/log/cups/error_log wrote:
E [24/Jul/2010:00:31:11 -0700] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
E [24/Jul/2010:13:16:58 -0700] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
E [24/Jul/2010:13:28:42 -0700] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
E [24/Jul/2010:13:47:40 -0700] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
E [24/Jul/2010:13:56:14 -0700] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
E [24/Jul/2010:14:01:54 -0700] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
E [24/Jul/2010:14:05:22 -0700] Unable to fork /usr/libexec/cups/filter/pstoraster - Cannot allocate memory.
E [24/Jul/2010:14:05:22 -0700] [Job 11] Unable to start filter "pstoraster" - Cannot allocate memory.
E [24/Jul/2010:14:05:22 -0700] [Job 11] Stopping job because the scheduler could not execute a filter.
E [24/Jul/2010:14:05:22 -0700] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
E [24/Jul/2010:14:05:38 -0700] cupsdReadClient: 17 IPP Read Error!
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Mon Jul 26, 2010 6:17 am    Post subject: Reply with quote

First of all you should not use usblp at all with this version of cups. Regarding the messages related to pstoraster I would re-emerge app-text/ghostscript and try all over again.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Mon Jul 26, 2010 6:48 am    Post subject: Reply with quote

why would I not use usblp? is it deprecated? IF not usblp then what driver do I use? Also I assume you meant app-text/ghostscript-gpl?
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Mon Jul 26, 2010 11:38 am    Post subject: Reply with quote

<3 wrote:
why would I not use usblp? is it deprecated?

Somehow for cups, yes.

<3 wrote:
IF not usblp then what driver do I use?

Cups should manage this for you.

<3 wrote:
Also I assume you meant app-text/ghostscript-gpl?

Yes.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Mon Jul 26, 2010 6:08 pm    Post subject: Reply with quote

So I removed the usblp module, restarted cupsd then proceed to remove the printer from cups using the cups web interface. What I noticed was that cups was no longer able to detect the printer. Turning back on the usblp kernel module didn't seem to help either.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Tue Jul 27, 2010 5:56 pm    Post subject: Reply with quote

since noo ne seems to have a fix for this I decided to downgrade back to net-print/cups-1.3.11-r1 until I can find a fix for this.

The only problem is that now everytime I do a emerge world I get this message.
Quote:
emerge -puDv world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

!!! The following update has been skipped due to unsatisfied dependencies:

dev-python/pycups:0

!!! All ebuilds that could satisfy ">=net-print/cups-1.4.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-print/cups-1.4.4 (masked by: ~amd64 keyword)

(dependency required by "dev-python/pycups-1.9.51" [ebuild])

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum