GNOME Bugzilla – Bug 122741
The Default cups printer is not set while printing
Last modified: 2004-12-22 21:47:04 UTC
When you want to print something, the default printer selected in
gnome-print dialog is not the default CUPS printer you've set with xpp or
gnome-cups-manager. It is quite problematic on networks with a lot of
This appears to be a libcups bug rather than a gnomeprint bug.
In my setup, I have 2 printers: lp and work-fac
cupsGetDefault() is supposed to return the default printer name but it
always returns lp even when I have set the default printer to work-fac
with lpoptions or xpp.
I have committed a fix (workaround) to cvs HEAD. This is the same
workaround used by xpp, namely using cupsGetDests and its is_default
fields rather than cupsGetDefault.