12.2 KDE - Unable to get list of printer drivers:

Fresh install of 12.2 KDE.

Cannot install printers because message “Unable to get list of printer drivers:” occurs as CUPS prepares to present the drivers list.

Help

Mike Cebula

Update: Been fooling with this all afternoon. I found a hit on another Linux forum about problems with /usr/share/cups/model/manufacturer-PPDs. It said deleting that was his fix. Didn’t do the job for me. But I continued and deleted the /usr/share/cups/model/OpenPrintingPPDs directory and then things started working. I had my own PPDs for my printers and installed both lpd (as a wireless printer) and two remote Samba printers successfully.

I’m not sure exactly what the problem is, but I currently have no additional printers and don’t see a need to re-establish those two directories.

Mike Cebula

Update: Couldn’t let this go. I had copied the entire /usr/share/cups/model directory to a backup. I restored each of the subdirectories from the backup and tested after each one and couldn’t repeat the failure. I am back where I started and everything works normally. My only guess is that one or more of the .gz files was unreadable (although the copy and copy back seemed to work), and now there are no unreadable files. At no time did I get any indication a specific file was corrupted.

If I knew how to rebuild these directories with the printer drivers from scratch, this could have been a much quicker process.

Mike Cebula

On 10/06/2012 05:46 AM, Relative wrote:
> Couldn’t let this go.

am happy you persistence paid off!! congrats…

truth is i have no idea why it didn’t work the first time…well, maybe
a permissions problem…hmmm…did you try adding the printer via YaST >
Hardware > Printer first, or did you first start and deal directly with
CUPS?

WARNING: i have not had a printer in years, so have not been through the
steps lately, and my question above may be a foolish as can be…but, i
think if the CUPS daemon is running you can access CUPS directly via a
browser to http://127.0.0.1:631/ or other was as a user while adding
printers is a system level job open only to root and therefore before
you talk as a user to CUPS you must have already done something in YaST,
as root . . . BUT woooops, i have exceeded my actual
knowledge/understanding of the printing system…maybe a real guru will
clear it up for you.

ps: on average i print about a dozen pages a year…and, each is an
excellent excuse to visit a friend with a printer.


dd http://tinyurl.com/DD-Caveat

I only go in through localhost:631/admin to deal with printers. It forces root id and root’s password if you attempt any changes.

Mike Cebula

On 2012-10-06 05:46, Relative wrote:

> If I knew how to rebuild these directories with the printer drivers
> from scratch, this could have been a much quicker process.


cer@Telcontar:~> rpm -qf /usr/share/cups/model/* | uniq
OpenPrintingPPDs-postscript-4.0.0-11.1.2.noarch
OpenPrintingPPDs-ghostscript-4.0.0-11.1.2.noarch
OpenPrintingPPDs-hpijs-4.0.0-11.1.2.noarch
cups-1.5.0-2.1.3.x86_64
gutenprint-5.2.7-13.1.2.x86_64
file /usr/share/cups/model/jp is not owned by any package
manufacturer-PPDs-10.2-260.1.2.noarch
hplip-hpijs-3.11.10-3.1.2.x86_64
ghostscript-library-9.00-13.4.1.x86_64


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)