On Sep 26 10:11:59, j...@openbsd.org wrote: > On Thu, 26 Sep 2019 at 16:36:08 +0200, Jan Stary wrote: > > This is current/amd64 with firefox-68.0.2 > > > > Firefox does not offer any prtinters in the printing dialogue > > except (Print to file"). > > > > lpd/lpr itself works fine. This is my /etc/printcap: > > lp:lp=:rm=147.32.232.36:rp=lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: > > Each of "date | lpr" and "lpr file.pdf" works. > > > > I removed the entire ~/.mozilla directory fo make sure > > it is not some of my firefox settings. > > > > Is this known? > > Is a fix known? > > Printing in Firefox is handled through Gtk 3. > > Gtk should present a "Print to LPR" option in that common print > dialog by way of > /usr/local/lib/gtk+3/3.0.0/printbackends/libprintbackend-lpr.so,
I do have /usr/local/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-lpr.so as provided by gtk+3-3.24.10 (was gtk-3.0 vs gtk+3.0 a typo?). > which is supposed to get loaded/registered dynamically according to > gtk_print_backends in ~/.config/gtk-3.0/settings.ini or the default > at build-time, which includes it according to x11/gtk+3: > > # configure will disable lpr in default gtk-print-backends if cups is > found > MAKE_FLAGS= GTK_PRINT_BACKENDS="file,lpr,cups,cloudprint" I didn't use that so far; now I have $ cat ~/.config/gtk-3.0/settings.ini gtk-print-backends="lpr" which is probably not the right syntax, as firefox/gtk says on startup (firefox:58612): Gtk-WARNING **: 17:21:25.416: Failed to parse /home/hans/.config/gtk-3.0/settings.ini: Key file does not start with a group > I'm taking a look into why that lpr backend doesn't load... Thank you Jan