Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2018 00:22:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 231110] GTK print dialogs falsely believe lpr cannot accept PDF
Message-ID:  <bug-231110-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231110

            Bug ID: 231110
           Summary: GTK print dialogs falsely believe lpr cannot accept
                    PDF
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: george@m5p.com
                CC: gecko@FreeBSD.org, gnome@FreeBSD.org

Created attachment 196805
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196805&action=
=3Dedit
Patch to tell GTK that lpr accepts PDF output

The LPR backend for GTK asserts that "lpr" cannot accept PDF files.  Grante=
d,
you can't tell in general whether lpr in a given situation will be able to
print a PDF or not, but declaring that it can't is needlessly restrictive. =
 The
attached patch (works for both GTK2 and GTK3) adds the "accepts-pdf" proper=
ty
to the lpr backend and fixes the problem.

This patch is suggested as an alternative to the patch from the freebsd-gec=
ko
email thread "firefox-60.0_2,1 missing 'Print to LPR'", from May 13, 2018,
which circumvents the problem by generating PostScript output instead of PD=
F.=20
Fixing the problem in GTK means that other users of GTK won't have to create
parallel workarounds.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231110-6497>