summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/ps-print.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/ps-print.patch')
-rw-r--r--patches/www-client/chromium-73.0.3683.75/ps-print.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/ps-print.patch b/patches/www-client/chromium-73.0.3683.75/ps-print.patch
new file mode 100644
index 0000000..18c74d1
--- /dev/null
+++ b/patches/www-client/chromium-73.0.3683.75/ps-print.patch
@@ -0,0 +1,13 @@
+description: add postscript (ps) printing capability
+author: Salvatore Bonaccorso
+
+--- a/chrome/browser/ui/libgtkui/print_dialog_gtk.cc
++++ b/chrome/browser/ui/libgtkui/print_dialog_gtk.cc
+@@ -333,6 +333,7 @@ void PrintDialogGtk::ShowDialog(
+ // Since we only generate PDF, only show printers that support PDF.
+ // TODO(thestig) Add more capabilities to support?
+ GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>(
++ GTK_PRINT_CAPABILITY_GENERATE_PS |
+ GTK_PRINT_CAPABILITY_GENERATE_PDF |
+ GTK_PRINT_CAPABILITY_PAGE_SET |
+ GTK_PRINT_CAPABILITY_COPIES |