Skip to content

Commit 8ad676e

Browse files
committed
Clarify Poppler grayscale warning message. Fixes #640
Many printer queue viewers show only the latest status message while printing, which results in confusing message when using Poppler pdftops backend when printing: >Use "pdftops-renderer" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion. And the first line is omitted. Simplify the text and add more details into cups-filters readme.
1 parent 7378c22 commit 8ad676e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ POSTSCRIPT PRINTING RENDERER AND RESOLUTION SELECTION
164164
generating PostScript level 1. So its support is only experimental
165165
and distributions should not choose it as default.
166166

167+
Poppler does not explicitly support turning colored PDF files into
168+
grayscale PostScript, that's why grayscale/monochrome printing
169+
could result in color output.
170+
Use alternative backends, such as Ghostscript or MuPDF, if this is
171+
the case with your printer.
172+
167173
The selection is done by the "pdftops-renderer" option, setting it
168174
to "gs", "pdftops", "pdftocairo", "acroread", "mupdf", or "hybrid":
169175

filter/pdftops.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,7 @@ main(int argc, /* I - Number of command-line args */
924924
/* pdf_argv[1] = (char *)"-level1";
925925
pdf_argv[pdf_argc++] = (char *)"-optimizecolorspace"; */
926926
/* Issue a warning message when printing a grayscale job with Poppler */
927-
fprintf(stderr, "WARNING: Grayscale/monochrome printing requested for this job but Poppler is not able to convert to grayscale/monochrome PostScript.\n");
928-
fprintf(stderr, "WARNING: Use \"pdftops-renderer\" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion.\n");
927+
fprintf(stderr, "WARNING: Grayscale/monochrome may be printed as color with Poppler. See cups-filters README file (\"pdftops-renderer\" option).\n");
929928
}
930929
pdf_argv[pdf_argc++] = filename;
931930
pdf_argv[pdf_argc++] = (char *)"-";

0 commit comments

Comments
 (0)