gtk2-ng/modules/printbackends
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daemonratte a1ab76063d lpr: mark backend printer as accepting PDF and PostScript
Construct the LPR printer with explicit is-virtual, accepts-pdf and
accepts-ps properties so the backend advertises the formats it can
handle.

This follows the GTK2 LPR backend fix referenced by OpenBSD ports and
GNOME, using GTK2's GtkPrinter:is-virtual property name and keeping the
printer non-virtual as in the referenced patch.

Make sure to enable the LPR print backend when using this feature, for
example by setting gtk-print-backends in the user's GTK2 rc file:

    gtk-print-backends = "file,cups,lpr"

For normal application startup, put this setting in ~/.gtkrc-2.0 so GTK2
applications pick it up automatically.

Ported-from: OpenBSD ports x11/gtk+2 patch-modules_printbackends_lpr_gtkprintbackendlpr_c
2026-04-30 11:28:48 +02:00
..
cups build: replace deprecated INCLUDES with AM_CPPFLAGS 2026-04-28 21:14:00 +02:00
file Set file GtkPrinter accepts_pdf/ps based on selected format 2011-01-06 12:52:17 -05:00
lpr lpr: mark backend printer as accepting PDF and PostScript 2026-04-30 11:28:48 +02:00
papi build: replace deprecated INCLUDES with AM_CPPFLAGS 2026-04-28 21:14:00 +02:00
test Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
Makefile.am Add papi to DIST_SUBDIRS 2009-05-19 16:31:52 +08:00