I believe I found the cause. There is a gtk property that tells GTK (which
iceweasel uses) which printer backends are available, gtk-print-backends. I
added this to my ~/.gtkrc-2.0 file:

gtk-print-backends = "file,lpr"

and now "Print to LPR" appears in the print dialog as well as "Print to File",
and printing to LPR works. My guess is that the values of that property are
used to find the backends in /usr/lib/gtk-2.0/2.10.0/printbackends/ by
prepending "libprintbackend-" and appending ".so".  There were four choices
already there on my machine: cups, file, lpr and test.

I found this page that described the property gtk-print-backends:

http://library.gnome.org/devel/gtk/unstable/GtkSettings.html

The property should really be set in a system level config file during the gtk
installation by somehow determining the print systems available on the
machine. I'd also say that iceweasel should set this property using the value
of its print.printer_list property. It should not require users to put the
above in their local GTK config, but I hope that helps as a work around until
this bug is fixed the right way.

-- 
Neil Roeth



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to