Ian, this looks like bug #68022 you reported before.
20 seconds or more is a lot, on a 5 year old machine it should be less than 10 
seconds. I assume you are not using that old hardware.

On my 5 year old computer (Athlon XP 1700+ 1500 MHz) with Feisty  it
takes:

$ time lpinfo -m > /dev/null
real    0m7.295s
user    0m0.328s
sys     0m0.104s

Can you provide the output of the following commands to know how long it takes 
and which foomatic database and PPD packages you have installed:
$ time lpinfo -m > /dev/null
$ dpkg -l 'foomatic-db*' '*ppd*' 'cupsys-driver*' | grep ii

I had the same issue in Edgy a while ago. It took several minutes to
load the list of printer models. After removing the cache file
/var/cache/cups/ppds.dat it loaded much faster, from minutes to 7
seconds in gnome-cups-manager and double that (14 s) when adding a
printer through cups web interface.

Michael Sweet comments:
WRT to the ppds.dat file, if you ever had a pre-1.2 version of CUPS
installed, the ppds.dat format *did* change. It might be worthwhile
to delete this file when a package is deleted or upgraded in case
cups-driverd doesn't detect the format change...
Anyways, deleting the cache file will force a full re-scan of the
PPDs...

-- 
gnome-cups-add takes ages to load
https://launchpad.net/bugs/94218

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to