Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Current wisdom on printing from Firefox



On Sun, 29 Dec 2019 at 20:43, David Brownlee <abs%absd.org@localhost> wrote:
>
> What is the current wisdom on printing from Firefox?
>
> It appears that from firefox-60 the ability to generale ps was
> removed, so the lpd backend was also removed.
>
> There is a reference and a patch to add back print to lpd (but not
> generate ps) for FreeBSD at:
>
> https://lists.freebsd.org/pipermail/freebsd-gecko/2018-May/008327.html
>
> Currently I have a google cloudprint enabled printer, so for anything
> where I don't mind the print data bouncing via any number of cloud
> boxes I can print to a PDF file, then just upload to cloudprint.
>
> However this feels... suboptimal :)
>
> I can easily setup lpd, and probably throw in a PDF and PS to
> whatever-my-random-epson supports filter, but if Firefox won't print
> to lpd then its not ideal - though presumably we could add a patch to
> add back in the lpd backend
>
> Its been about two decades since I last setup cups :), - I ran through
> the basic setup, but even though cupsd was running and I could see the
> printer firefox did not show it (did all the standard reset printer
> values in firefox & restart, but the print dialog still just shows
> print to file). Also I then have the stupid joy of /usr/bin/lpd and
> /usr/pkg/bin/lpd and friends.
>
> What are other people doing?

I haven't had the particular need to print from  firefox on NetBSD
recently; after reading this I tried...

The moment I hit the 'Print'  menu item to get the dialog, my firefox
process goes in an endless loop, becoming completely unresponsive; the
trace is as follows (just an excerpt; it repeats ad inf.):

69     20 firefox  __clock_gettime50(0x3, 0x7c8abf31dc30) = 0
  2669      1 firefox  poll                        = 0
  2669     20 firefox  ___lwp_park60               Err#60 ETIMEDOUT
  2669     20 firefox  __clock_gettime50(0x3, 0x7c8abf31dc50) = 0
  2669     20 firefox  __clock_gettime50(0x3, 0x7c8abf31dc90) = 0

669     20 firefox  __clock_gettime50(0x3, 0x7c8abf31dc30) = 0
  2669      1 firefox  poll                        = 0
  2669      1 firefox  __socket30(0x2, 0x1, 0)     = 36
  2669      1 firefox  setsockopt(0x24, 0xffff, 0x4, 0x7f7fff480edc, 0x4) = 0
  2669      1 firefox  setsockopt(0x24, 0xffff, 0x200, 0x7f7fff480edc, 0x4) = 0
  2669      1 firefox  setsockopt(0x24, 0xffff, 0x800, 0x7f7fff480edc, 0x4) = 0
  2669      1 firefox  setsockopt(0x24, 0x6, 0x1, 0x7f7fff480edc, 0x4) = 0
  2669      1 firefox  fcntl(0x24, 0x2, 0x1)       = 0
  2669      1 firefox  fcntl(0x24, 0x3, 0)         = 16777218
  2669      1 firefox  fcntl(0x24, 0x4, 0x1000006) = 0
  2669      1 firefox  connect(0x24, 0x7c8ac39aa9c8, 0x10) Err#36 EINPROGRESS
  2669      1 firefox  fcntl(0x24, 0x4, 0x1000002) = 0
  2669     20 firefox  ___lwp_park60               Err#60 ETIMEDOUT
  2669     20 firefox  __clock_gettime50(0x3, 0x7c8abf31dc50) = 0

...

So no printing from firefox for me at all. This is 9.99.31 from today
(amd64), firefox 71.0.

>
> Thanks
>
> David

Chavdar



-- 
----


Home | Main Index | Thread Index | Old Index