[cups] printer-state-message="Filter failed" ? is it cups, ghostscript, or other?

Brian Potkin claremont102 at gmail.com
Fri Apr 5 09:59:36 PDT 2019


On Fri 05 Apr 2019 at 16:15:53 +0200, Johannes Meixner wrote:

> so the next step is to find out what the actual root cause is:
> The original PDF file from the application that prints it
> or the PDF output from /usr/lib/cups/filter/pdftopdf
> or Ghostscript itself.

The OP's error_log has:

> D [04/Apr/2019:21:56:34 -0700] [Job 742] GPL Ghostscript 9.27: Unrecoverable error, exit code 1
> D [04/Apr/2019:21:56:34 -0700] [Job 742] Process is dying with \"Unable to determine number of pages, page count: -1

The error message is from foomatic-rip, which is using gs to get the
number of pages in the file. gs fails, so the filter fails.

I think the command being used is based on something like:

gs -o - -dNODISPLAY input.pdf

Regards,

Brian.


More information about the cups mailing list