But I had also another problem withs CUPS-PDF: "File "/usr/lib/cups/filter/rastertogutenprint.5.2" not available: No such file or directory". I solved this last making /usr/lib/cups/filter/pdftoraster-popple a symlink to /usr/lib/cups/filter/pdftoraster (see https://bugs.launchpad.net/ubuntu/+sour … bug/765514 ).
]]>I simple removed the printers and added them again and now it worked. I know it is not a real solution, but a quick fix for me. Hope it helped someone...
]]>And it will only update configured PPD files, as in there's a configured printer in CUPS, the configured PPD file is placed in /etc/cups/ppd and the tool will update said configured PPD file with the new file adding any new options but merging the old configured values in.
]]>man cups-genppdupdate
cfr wrote:So I would not expect those particular PPDs to be updated, but why are none of the other PPDs updated, and what should I investigate or do to update them?
Is it because /usr/bin/cups-genppdupdate is only included in the gutenprint package, so only those printers that use gutenprint need to be updated?
Thanks. This sounds plausible, but I don't know how to tell whether it is true or not! Does anything else need to be done for other PPDs? Or is there something special about gutenprint such that its PPDs need updating, but no others?
]]>So I would not expect those particular PPDs to be updated, but why are none of the other PPDs updated, and what should I investigate or do to update them?
Is it because /usr/bin/cups-genppdupdate is only included in the gutenprint package, so only those printers that use gutenprint need to be updated?
]]>...
[2016-01-16 21:57] [ALPM] upgraded cups-filters (1.5.0-2 -> 1.6.0-1)
...
[2016-01-16 21:57] [ALPM] upgraded gutenprint (5.2.10-1 -> 5.2.11-1)
[2016-01-16 21:57] [ALPM-SCRIPTLET] >>please run /usr/bin/cups-genppdupdate
[2016-01-16 21:57] [ALPM-SCRIPTLET] >>and restart cups deamon
...
However, running cups-genppdupdate returns a message saying that 0 PPD files were updated. I think in the past I've tended to assume that this meant that no files needed to be updated since the exit code returned is zero and nothing like a warning or error is produced.
On the other hand, I have seen my PPD files updated by running this script in the past and I certainly have PPD files which appear to be rather old:
$ ls -l /etc/cups/ppd/
total 1092
-rw-r--r-- 1 root root 20940 Meh 16 2012 CUPS_PDF.ppd
-rw-r--r-- 1 root root 49108 Ion 19 2013 Dell_2330dn.ppd
-rw-r--r-- 1 root root 18094 Meh 25 2014 HP-LaserJet-P3015-HPLIP.ppd
-rw-r--r-- 1 root root 64163 Meh 25 2014 HP-LaserJet-P3015.ppd
-rw-r--r-- 1 root root 179457 Hyd 19 2013 HP-P3005-socket.ppd
-rw-r--r-- 1 root root 152507 Med 12 2012 HP1320.ppd
-rw-r--r-- 1 root root 18146 Meh 11 2012 HP1320_hplip_hpijs.ppd
-rw-r--r-- 1 root root 179457 Hyd 2 2013 HP_LaserJet_P3005.ppd
-rw-r--r-- 1 root root 188658 Med 26 2013 HP_LaserJet_P3010.ppd
-rw-r--r-- 1 root root 227814 Hyd 1 2012 HP_LaserJet_P3010_Series.ppd
$ file /etc/cups/ppd/*
/etc/cups/ppd/CUPS_PDF.ppd: PPD file, version "4.3"
/etc/cups/ppd/Dell_2330dn.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP-LaserJet-P3015-HPLIP.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP-LaserJet-P3015.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP-P3005-socket.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP1320.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP1320_hplip_hpijs.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP_LaserJet_P3005.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP_LaserJet_P3010.ppd: PPD file, version "4.3"
/etc/cups/ppd/HP_LaserJet_P3010_Series.ppd: PPD file, version "4.3"
The manual page for cups-genppdupdate tells me that it cannot update PPD files from Gimp-Print 4.2 or earlier, and that it cannot update Foomatic PPD files.
I've looked at the files and all contain multiple version numbers, so it is possible that the 4.3 is not the correct one, though I'm hoping it is.
I did use Foomatic at one point for some printers, so I checked for those:
$ grep -l -i foomatic /etc/cups/ppd/*
/etc/cups/ppd/HP-LaserJet-P3015-HPLIP.ppd
/etc/cups/ppd/HP1320_hplip_hpijs.ppd
So I would not expect those particular PPDs to be updated, but why are none of the other PPDs updated, and what should I investigate or do to update them?
]]>