You are not logged in.
Hi,
I think I'd like to downgrade CUPS from 1.6 to 1.5. Since I installed the latest version, I can no longer see any network printers. I found out that this is because printer browsing using the 'cups' protocol is no longer supported since version 1.6. Apparently they've decided to remove some features in this update rather than add them. Interesting decision, to say the least
Anyway, that's a different discussion altogether.
The issue I'm having is that the CUPS server here at work runs version 1.3.7, and no avahi etc., so if I want to avoid a lot of hassle configuring all the printers here, I need this cups protocol support.
So I downgraded CUPS back to 1.5, and things seemed to be working fine again... until I noticed that opening the 'print' dialog in evince would crash the application:
evince: symbol lookup error: /usr/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so: undefined symbol: ippSetOperation... so it seems that this is not a viable option.
So then I gave up and upgraded to 1.6 again. I figured I could just add the printers that I use regularly and leave it at that. But here's the thing I really don't get: when I want to add these printers, I have to provide PPD files. I never had to do this before, and I don't understand why this is suddenly necessary. I definitely don't have time to search for and test PPD files for all the printers here. So in the meantime I've downgraded back to 1.5, I guess I'll use adobe reader for printing, for the time being...
I'm really kind of baffled by this, first of all because I don't understand their decision to completely remove support for this feature. Perhaps there is some way to recompile cups with this feature enabled? Second of all, I don't understand why I need PPD files now when I didn't before. Is there any way I can avoid this? I can live without printer browsing, as long as I don't have to search for PPD files (in fact I'd already caved and started looking for them, and for some of these printers the results didn't look very promising).
So to summarise I'm looking for a way to either:
- add network printers in CUPS 1.6 without having to supply a PPD file - it should 'just work', like it did before!
- reenable 'cups' protocol support in CUPS 1.6 somehow (if necessary by recompiling it)
- downgrade to CUPS 1.5 without breaking evince (and probably a bunch of other applications)
If anybody has any idea how to achieve either of these 3 things, please do share
Thanks!
Sander
EDIT: in retrospect I guess "Applications & Desktop Environments" would have been a more appropriate forum for this post. Feel free to move this topic if necessary. Apologies!
Last edited by Sander (2012-11-05 17:17:14)
You like cheese? You like peas? You'll love cheezy peas!
Offline
But here's the thing I really don't get: when I want to add these printers, I have to provide PPD files. I never had to do this before, and I don't understand why this is suddenly necessary.
Before that, your CUPS was speaking to another CUPS server, which most likely had the correct PPD files to speak with the printer. Now you're trying to speak directly to the printer (over network). Hence you need the PPD file.
I'm really kind of baffled by this, first of all because I don't understand their decision to completely remove support for this feature. Perhaps there is some way to recompile cups with this feature enabled?
Because Apple bought CUPS and they're not interested in maintaining something they don't use. They're interested in Avahi/Bonjour/mDNS only, so they removed the CUPS discovery/browsing protocol. And they removed it for good, so there's no way to just add a flag to recompile it in. You'd need to restore some deleted files from the Git repository and upgrade them to the current version, which is really not trivial at all.
So to summarise I'm looking for a way to either:
- add network printers in CUPS 1.6 without having to supply a PPD file - it should 'just work', like it did before!
Can you upgrade your print server to 1.6?
- downgrade to CUPS 1.5 without breaking evince (and probably a bunch of other applications)
The problem is not Evince itself, it's Gtk
See this thread for details. IMHO the best way to fix this with current version is to recompile gtk3 (and gtk2 if you're using a Gtk2 PDF viewer such as zathura) on your CUPS 1.5 machine.
If you're using yaourt, this is quite simple to do:
$ yaourt -G gtk3
$ cd gtk3
$ makepkg
$ sudo pacman -U gtk3-*.pkg.tar.xzYes, it's not really nice to have to do this. But it works.
There's no place like ::1
Offline
Thanks for your reply, I hadn't noticed until now that someone had replied
For now I'm coping with a downgraded cups, I only really print PDFs anyway and adobe reader doesn't need cups 1.6 for the print dialog to work. I guess recompiling GTK3 is worth a shot, I use yaourt anyway so it shouldn't be too much of a hassle ![]()
Apparently they tackled this in ubuntu by patching cups 1.6 to reenable the features that were removed: https://bugs.launchpad.net/ubuntu/+sour … ug/1061063
I wish I had the time and knowledge to investigate how this patch could be ported to Arch, would be awesome to have a PKGBUILD for the patched version
If anyone ever decides to tackle this and figures it out, please let me know!
You like cheese? You like peas? You'll love cheezy peas!
Offline