]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
libcupsfilters: In ghostscript() update comment about PDF-Image output
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 24 Oct 2021 15:10:30 +0000 (17:10 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 24 Oct 2021 15:10:30 +0000 (17:10 +0200)
Streaming out raster-only PDF in Ghostscript works now, starting from
version 9.55.0. These bugs are fixed now:

raster-only PDF and PCLm output need seekable output device

    https://bugs.ghostscript.com/show_bug.cgi?id=704160

PCLm does not support back side orientation for duplex printing

    https://bugs.ghostscript.com/show_bug.cgi?id=704161

Updated the comment for the code to set the Ghostscript command line
options for the OUTPUT_FORMAT_PDF_IMAGE and OUTPUT_FORMAT_PCLM
appropriately.

cupsfilters/ghostscript.c

index 4061080355f07b2d9151059c9fa8e356bb29bfb8..d8926cd0077b6bdcda193e6da147af7d6ebbb6bd 100644 (file)
@@ -1164,18 +1164,7 @@ ghostscript(int inputfd,         /* I - File descriptor input stream */
   /* We use PCLm instead of general raster PDF here if the printer
      supports it, as PCLm can get streamed by the printer */
 
-  /* Note that these output formats are not fully usable yet:
-
-     1. Ghostscript needs a seekable output, so they do not work
-       in the usual print filter chains. Bug report:
-       https://bugs.ghostscript.com/show_bug.cgi?id=704160
-
-     2. In PCLm back side orientation for duplex printing is not
-       supported, making duplex printing on many printers not
-       working correctly. Bug report:
-       https://bugs.ghostscript.com/show_bug.cgi?id=704161
-
-   */
+  /* Note that these output formats require Ghostscript 9.55.0 or later */
 
   if (outformat == OUTPUT_FORMAT_PDF_IMAGE ||
       outformat == OUTPUT_FORMAT_PCLM) {