]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
libcupsfilters, README: 2.x requires Ghostscript 10.00.0
authorTill Kamppeter <till.kamppeter@gmail.com>
Mon, 17 Oct 2022 10:57:39 +0000 (12:57 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Mon, 17 Oct 2022 10:57:39 +0000 (12:57 +0200)
libcupsfilters 2.x (cfFilterGhostscript() filter function) requires
Ghostscript 10.00.0 for a "cups"/"pwgraster"/"appleraster"/"urf"
output device with full support for PPD-less use. Ghostscript 10.01.0
is recommended, to fix

https://github.com/OpenPrinting/cups-filters/issues/484

Updated comments in cupsfilters/ghostscript.c and README
appropriately.

README
cupsfilters/ghostscript.c

diff --git a/README b/README
index 276bb962af768c3efefeecdeec5dccf47e514c4b..c705d4a39911c308c67b5a8a9ed1fe317b496e81 100644 (file)
--- a/README
+++ b/README
@@ -43,11 +43,12 @@ INTRODUCTION
     auto-install most of these packages.
 
     If Ghostscript is used (via the "gsto..." or the "universal" CUPS
-    filters), Ghostscript 9.56.0 is required and it has to be built at
-    least with the "pdfwrite", "ps2write", "cups", "pwgraster",
-    "appleraster", "pclm", "pclm8", "pdfimage24", "pdfimage8",
-    "pxlcolor", and "pxlmono" output devices. libcups of CUPS 2.2.2 or
-    newer is required to buid Ghostscript this way.
+    filters), Ghostscript 10.00.0 is required (10.01.0 is highly
+    recommended) and it has to be built at least with the "pdfwrite",
+    "ps2write", "cups", "pwgraster", "appleraster", "pclm", "pclm8",
+    "pdfimage24", "pdfimage8", "pxlcolor", and "pxlmono" output
+    devices. libcups of CUPS 2.2.2 or newer is required to buid
+    Ghostscript this way.
 
     The Poppler-based pdftoraster filter needs a C++ compiler which
     supports C++11 and Poppler being built with the "./configure"
index 6ce9cccbba82a842485ac99676eedbe911161b79..8b2d513f0c885bfeb4c5fae6eb88b1288d20f925 100644 (file)
@@ -1484,7 +1484,7 @@ cfFilterGhostscript(int inputfd,            // I - File descriptor input
   header_to_gs_args(&h, gs_args, outformat, pxlcolor);
 
   // CUPS Raster versions: 2 = compressed; 3 = uncompressed
-  // Requires Ghostscript 9.57 or later
+  // Requires Ghostscript 10.00.0 or later
   if (outformat == CF_FILTER_OUT_FORMAT_CUPS_RASTER &&
       (t = cupsGetOption("cups-raster-version",
                           num_options, options)) != NULL &&
@@ -1497,7 +1497,7 @@ cfFilterGhostscript(int inputfd,            // I - File descriptor input
   // Back side orientation for duplex printing: Normal, ManualTumble,
   // Rotated, Flipped
   // When printing duplex, margins on the back side meeds to get swapped?
-  // Requires Ghostscript 9.57 or later
+  // Requires Ghostscript 10.00.0 or later
   if (h.Duplex)
   {
     int backside;
@@ -1542,7 +1542,7 @@ cfFilterGhostscript(int inputfd,            // I - File descriptor input
   }
 
   // Manual Copies needed (no device copies functionality available)
-  // Requires Ghostscript 9.57 or later
+  // Requires Ghostscript 10.00.0 or later
   if ((t = cupsGetOption("hardware-copies",
                         num_options, options)) != NULL &&
       (!strcasecmp(t, "false") || !strcasecmp(t, "off") ||