Score:0

CUPS lp command fails with "stopped - Filter failed" with all the printers

in flag

My CUPS runs well from applications like gedit, Open Office or GIMP, but using command line fails. Example:

lp -d MFCJ470DW adeu.txt
request identifier is MFCJ470DW-40 (1 file (s))

Then, in localhost:631 -> Jobs we can see:

MFCJ470DW-40    adeu.txt    jordi   1k  Unknown     stopped 
"Filter failed"

Also I tried with CUPS-PDF package with the same results

lp -d Virtual_PDF_Printer_2 adeu.txt
request identifier is Virtual_PDF_Printer_2-41 (1 file (s))

and the web again:

Virtual_PDF_Printer_2-41    adeu.txt    jordi   1k  Unknown     stopped 
"Filter failed"

All the fixes I've found about the "filter failed" not works, the strange thing is CUPS runs well, is only the command lp that don't. Indeed, in the folder $HOME/PDF we have a file home_jordi_PDF-job_41.pdf but is in blank.

Lines related into /var/log/cups/error_log don't help me:

D [02/Nov/2021:17:44:22 +0100] [CGI] cgiSetArray: job_printer_state_message[2]=\"Filter failed\"
D [02/Nov/2021:17:44:22 +0100] [CGI] cgiSetVariable: SERVER_NAME=\"localhost\"
D [02/Nov/2021:17:44:22 +0100] [CGI] cgiSetVariable: REMOTE_USER=\"jordi\"
D [02/Nov/2021:17:44:22 +0100] [CGI] cgiSetVariable: CUPS_VERSION=\"CUPS v2.3.1\"
D [02/Nov/2021:17:44:22 +0100] [CGI] cgiSetArray: job_preserved[3]=\"1\"
D [02/Nov/2021:17:44:22 +0100] [CGI] cgiSetArray: job_printer_name[3]=\"Virtual_PDF_Printer_2\"
D [02/Nov/2021:17:44:22 +0100] [CGI] cgiSetArray: job_printer_uri[3]=\"/printers/Virtual_PDF_Printer_2\"

What may be the error here?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.