[cups] Printer not usable from command line, "Filter failed"

Zdenek Dohnal zdohnal at redhat.com
Tue Jun 23 06:41:32 PDT 2020


Hi Jarvis,

from logs:

D [23/Jun/2020:15:06:23 +0200] [Job 20] Unsupported OTF font / glyf table

D [23/Jun/2020:15:06:23 +0200] [Job 20] Brother_MFC_L2710DN_series:
fontembed/sfnt.c:651: otf_get_width: Assertion `0\' failed.

D [23/Jun/2020:15:06:23 +0200] [Job 20] PID 9315
(/usr/lib/cups/filter/texttopdf) crashed on signal 6.


The printing crashes on texttopdf filter - please provide the file you
are trying to print, the latest file from /var/spool/cups which starts
with 'd' and the ppd file of your print queue (file from /etc/cups/ppd,
has the same name as your print queue).

With those information, please file a ticket on
https://github.com/OpenPrinting/cups-filters .

On 6/23/20 3:21 PM, Jarvis Wyatt wrote:
> Hi,
>
>> Sent: Tuesday, June 23, 2020 at 1:24 PM
>> From: "Helge Blischke" <helgeblischke at web.de>
>> To: "The CUPS user discussion list." <cups at cups.org>
>> Subject: Re: [cups] Printer not usable from command line, "Filter failed"
> [...]
>
>> your log snippets don#t show the document-type of the input file
>> nor the filters involved.
> It is a simple text file with few lines and only ASCII characters.
>
>> Switch on debug logging (cupsctl —debug-logging), print from the command line
>> and then extract all messages containing "[Job xxxx]“ from the error_log.
> I performed just two actions in this order:
> 1) turned on debug logging with `cupsctl --debug-logging';
> 2) launched again `lpr -P Brother_MFC_L2710DN_series somefile'.
> You can find the lines in error_log generated by these two actions here:
>
> https://pastebin.com/cxTZXNTD
>
> I decided to include all the lines, not only those regarding the job,
> for completeness. It is a very long log. I hope that you can filter anyway the
> lines you find interesting.
>
>> What I see from your snippets is:
>> the printer accepts one of these formats:
>> –	application/object-stream		(what means raw data)
>> –	image/pwg-raster
>> –	image/urf
>>
>> The filter chain for this printer needs to lead to one of these.
> In fact, with `lpr -P Brother_MFC_L2710DN_series' I just successfully managed
> to print a pdf file and a png image.
> Why instead the simple plain text file isn't accepted? Is there a way to send
> it to the printer?
> Thank you for your advices.
>
> Wyatt
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups

-- 
Zdenek Dohnal
Software Engineer
Red Hat Czech - Brno TPB-C



More information about the cups mailing list