LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-09-2015, 07:42 AM   #1
hadack
LQ Newbie
 
Registered: Jun 2006
Posts: 25

Rep: Reputation: 8
Printing with different cups version on client and server


I used to print from my slackware64-current machine on a slackware64-14.0 server and it was working fine. After cups has been upgraded to version 2 in current i cannot print anymore. The cups web interface cant see any printer on the server and system-config-printer sees my printer after i created /etc/cups/client.conf:
Code:
ServerName 192.168.1.2/version=1.1
but when i try to print it says something like "cannot get information from printer" and prints this error in the console:
Code:
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1666, in on_edit_activate
    self.dests_iconview_item_activated (self.dests_iconview, paths[0])
  File "/usr/share/system-config-printer/system-config-printer.py", line 516, in dests_iconview_item_activated
    parent=self.PrintersWindow)
  File "/usr/share/system-config-printer/printerproperties.py", line 570, in show
    self.load (name, host=host, encryption=encryption, parent=parent)
  File "/usr/share/system-config-printer/printerproperties.py", line 1298, in load
    self.ppd = printer.getPPD()
  File "/usr/lib64/python2.7/site-packages/cupshelpers/cupshelpers.py", line 204, in getPPD
    self._ppd = self.connection.getPPD(self.name)
  File "/usr/share/system-config-printer/authconn.py", line 219, in <lambda>
    return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
  File "/usr/share/system-config-printer/authconn.py", line 251, in _authloop
    e == cups.IPP_AUTHENTICATION_CANCELED):
AttributeError: 'module' object has no attribute 'IPP_AUTHENTICATION_CANCELED'
Any ideas to make it work or do i have to upgrade/downgrade one of the versions?
 
Old 05-09-2015, 11:29 AM   #2
Lirey
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 39

Rep: Reputation: 12
It should work. I have cups 2.0.2 working with 1.5.4, but I have not tried any earlier versions.

Have you applied the cups updates from May 4th, and have you configured and started the cups browsing daemon? (See /etc/cups/cups-browsed.conf and /etc/rc.d/rc.cups-browsed)

After applying the big April 21 update my workstation stopped seeing any of my networked printers, which are all shared with earlier versions of cups. I applied the May 4th updates and spent some time cleaning cruft out of my cupsd.conf (which got rid of a few warnings that were appearing in the log files), before finally realizing that the browse daemon was necessary. Once that was running everything works perfectly.

- Mike
 
Old 05-10-2015, 11:29 AM   #3
hadack
LQ Newbie
 
Registered: Jun 2006
Posts: 25

Original Poster
Rep: Reputation: 8
It works now, I did not realize that there was a new start script ind the cups-filters package, so starting this one made the web interface work, but it was still needed to clean up the config files to make actual printing work.

Thanks a lot!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing over Network with only cups-client ! Xeratul Linux - General 1 05-13-2014 03:57 PM
CUPS client configuration for printing to Windows Print Server nsvora Linux - General 3 05-27-2011 08:35 PM
LXer: Setup CUPS (Common UNIX Printing System) Server and Client in Debian LXer Syndicated Linux News 0 09-23-2007 07:50 AM
cups server + samba + windows client not printing maddox1976 Slackware 6 10-15-2006 05:47 PM
cups client not printing on server solar1951 Linux - Networking 2 09-08-2006 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration