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

PGNet Dev pgnet.dev at gmail.com
Sun Apr 7 09:13:37 PDT 2019


On 4/7/19 8:29 AM, Brian Potkin wrote:
> On Fri 05 Apr 2019 at 17:59:36 +0100, Brian Potkin wrote:
> 
>> 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
> 
> That was by way of a hint to try and report on the outcome of the
> command. See Debian Bug#926576:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576

cat test.txt
	test

gs --version
	9.27

APP:Kate>Print 'test.txt' to PRINTER -->

	FAILS!, NO OUTPUT

print 'test.txt' to PDF --> 'test.pdf'

gs -o - -dNODISPLAY test.pdf
	GPL Ghostscript 9.27 (2019-04-04)
	Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
	This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
	see the file COPYING for details.
	Processing pages 1 through 1.
	Page 1

downgrade to gs v9.26* ...

rpm -qa | grep -i ghostscript | sort
	ghostscript-9.26a-lp150.2.17.2.x86_64
	ghostscript-devel-9.26a-lp150.2.17.2.x86_64
	ghostscript-fonts-9.06-lp150.4.3.noarch
	ghostscript-fonts-other-9.06-lp150.4.3.noarch
	ghostscript-fonts-std-9.06-lp150.4.3.noarch
	ghostscript-x11-9.26a-lp150.2.17.2.x86_64
	OpenPrintingPPDs-ghostscript-4.0.0.2-lp150.1.6.noarch

gs --version
	9.26

APP:Kate>Print 'test.txt' to PRINTER -->

	WORKS!, PRINTED CORRECTLY

at Deb bug=926576 thread,

 > I have released cups-filters 1.22.5 upstream now with the fix.

here,

	rpm -qa | grep cups-filters
		cups-filters-1.20.4-lp150.86.1.x86_64

currently, 1.22.x pkgs are failing build @

	https://build.opensuse.org/package/show/Printing/cups-filters

working on a local build of it to see if it cures the issue ...


More information about the cups mailing list