Firefox does not list CUPS default printer as first printer

Martin Jacobs martin.jacobs at nexgo.de
Wed Sep 2 12:17:32 PDT 2009


I'm running CUPS 1.3.11 with two HP printers. List of configured printers shows 6 names, 5 times a PhotoSmart C7280 in different default configurations (quality, duplex) and one old Deskjet. One of those PhotoSmart printers is marked as default printer. CUPS web frontend lists that printer as default printer. There are no local lpoptions files.

Firefox (own compilation) lists all 6 CUPS printers and one Postscrit/default. It loads the only existing library libcups.so.1 existing on my machine on runtime.

But CUPS default printer is not presented as first entry. I've checked Firefox' source

    mozilla/gfx/src/psshared/nsPSPrinters.cpp

and could not find anything strange there, code is clear and straight forward. All CUPS-Printers are appended to list of printers. Printer marked as default is inserted at position 0. But printer presented first is not default printer. And list is not sorted!

Any idea what's going wrong there?

By the way, Thunderbird presents same "wrong" list (not very astonishing, it uses the same code).






More information about the cups mailing list