FreeBSD Port: firefox-60.0_2,1 missing 'Print to LPR'

Jan Beich jbeich at FreeBSD.org
Sun May 13 04:38:39 UTC 2018


Stephen Gunn <stephen at dreamaway.org> writes:

> I'm running Firefox 60.0_2,1 on 11.1-RELEASE-p10. In the print
> dialog, the option 'Print to LPR' no longer shows up, only 'Print to
> File'. If I install firefox-esr, then 'Print to LPR' is again
> present.

LPR backend doesn't support PDF, so 'Print to LPR' disappeared after
Firefox 59 removed GTK_PRINT_CAPABILITY_GENERATE_PS. Try the attached
patch to confirm.

https://bugzilla.mozilla.org/show_bug.cgi?id=1425188
https://bugzilla.mozilla.org/show_bug.cgi?id=1322653

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-revert-bug1425188
URL: <http://lists.freebsd.org/pipermail/freebsd-gecko/attachments/20180513/872f7a26/attachment.ksh>
-------------- next part --------------

> I strongly suspect it's related to a switch to gtk-3.0 in the most
> recent versions of Firefox. I think gtk3 by default expects CUPS
> printing, but I'm using LPD. There is supposed to be a way to specify
> that you still want printing in the gtk3 settings.ini file, by setting
> gtk-print-backends = "lpr, file", but it doesn't work.

Upstream appears to only test "cups" and "file". CUPS option is enabled
by default in x11-toolkits/gtk30 and x11-toolkits/gtk20.

Did /usr/bin/lpr (not /usr/local/bin/lpr from CUPS) really work with
your printer?


More information about the freebsd-gecko mailing list