summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/ps-print.patch
blob: 18c74d1746d6d3dc3e863862e245c8d95efd4b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 |