Printer troubleshooting technician providing live chat help

Joe B.

Reviewed for technical accuracy

Specialities: macOS, Linux (Ubuntu/Debian), CUPS, IPP Everywhere, Print Drivers

CUPS “Filter failed” — missing PPD, broken raster filter, driverless IPP fix on macOS & Linux

Technician avatar Technician
Hey! We’ll get rid of CUPS “Filter failed” where the printer is detected but jobs stop in the queue. A few quick details: macOS or Linux (Ubuntu/Debian/Fedora)? Model (HP/Canon/Brother/Epson)? Connection type (IPP/driverless, AirPrint, USB)? And do you see lines like Missing filter or Stopped due to filter errors in /var/log/cups/error_log?
Customer
macOS Sonoma. CUPS sees my HP via AirPrint/IPP. Jobs say “Filter failed” almost instantly. The printer prints from iPhone, just not this Mac. I installed nothing extra.
Technician avatar Technician
Understood. “Filter failed” means a CUPS filter program (e.g., rastertohp, gutenprint, foomatic-rip) crashed or wasn’t found. Causes:
• Missing/incorrect PPD (printer description).
• Broken or quarantined filter binary (macOS Gatekeeper/xattr).
• Driverless IPP Everywhere queue mis-detected media/color.
• Wrong backend (ippusbxd/USB) or permissions in /usr/libexec/cups/filter.
We’ll check logs, reinstall filters/PPD, and rebuild the queue with driverless IPP or the proper vendor driver.
Customer
How do I see the error details on macOS? The system dialog is vague.
Technician avatar Technician
Let’s pull CUPS logs:
1) Open Terminal and run sudo cupsctl --debug-logging to increase verbosity.
2) Re-print a test page; then run grep -i "filter" /var/log/cups/error_log | tail -n 40.
Expect lines like Missing filter: rastertohp or PID #### stopped with status 1. That tells us which filter or PPD is failing.
Customer
The log shows “Missing filter: rastertohp.” It’s an HP OfficeJet over Wi-Fi (IPP).
Technician avatar Technician
Perfect — missing rastertohp.
• Easiest path: use driverless IPP Everywhere. Remove the old queue, then run:
lpadmin -p HP-IPP -E -v ipp://PRINTER_IP/ipp/print -m everywhere
• Or install the vendor package that supplies the filter (HP). After install, reset the queue using the correct PPD.
• If the filter exists but won’t run, clear quarantine: sudo xattr -r -d com.apple.quarantine /usr/libexec/cups/filter, then sudo launchctl kickstart -k system/org.cups.cupsd.
Customer
What about Linux? My other laptop on Ubuntu shows “Filter failed” with a Canon USB printer.
Technician avatar Technician
On Ubuntu/Debian:
• Install driver stacks/filters: sudo apt update then sudo apt install printer-driver-gutenprint printer-driver-foomatic cups-filters (brand packages if available).
• Rebuild a driverless queue: lpadmin -p Canon-IPP -E -v ipps://PRINTER/ipp/print -m everywhere.
• For USB issues, confirm backend: lpinfo -v | grep usb and check permissions; sometimes ippusbxd or snap sandboxes interfere — try IPP over network if supported.
• Restart printing: sudo systemctl restart cups and test with lpstat -t.
Customer
I don’t have a PPD file. Is IPP Everywhere good enough, or should I hunt a model-specific PPD?
Technician avatar Technician
If your device supports AirPrint/IPP Everywhere, driverless is reliable and avoids PPD/filter mismatches. Use -m everywhere and CUPS will create a driverless queue with color/duplex detected via Bonjour/DNSSD.
Only use a vendor PPD when you need special finishing (staple/booklet) or proprietary color modes. Always match the PPD to the exact model and architecture to prevent “missing filter” errors.
Customer
After switching to IPP Everywhere, the job spooled but still failed once. Any other checks?
Technician avatar Technician
Final checks to eliminate Filter failed:
• Make sure /usr/libexec/cups/filter/* (macOS) or /usr/lib/cups/filter/* (Linux) are executable (chmod 755).
• Remove stale queues: lpadmin -x OldPrinter.
• Reset printing system (macOS: System Settings → Printers & Scanners → Right-click list → Reset). Then add only one queue (driverless or correct PPD).
• Firmware matters: enable AirPrint/IPP on the device and connect to the same subnet; avoid double NAT/VPN for setup.
Customer
That did it — the new driverless queue prints. If it breaks again, what should I capture for support?
Technician avatar Technician
Grab this bundle: lpstat -t, last 100 lines of /var/log/cups/error_log, output of lpinfo -m | head -n 40 (to see PPDs/driverless), and your queue URI from lpoptions -p <queue> -l. With those, we can pinpoint a bad filter vs. wrong PPD in minutes.
Customer
Great — printing works again. Thanks for fixing the CUPS filter error!
Technician avatar Technician
Summary: Fix CUPS “Filter failed” by reading the CUPS error log, installing the correct PPD or switching to IPP Everywhere, restoring missing filters (rastertohp, gutenprint, foomatic-rip), and rebuilding one clean queue. Need hands-on help? Open the chat.

Quick answer: the accepted fix

Accepted fix when CUPS sees the printer but shows “Filter failed”: enable debug logging, identify the missing/broken filter in /var/log/cups/error_log, reinstall the correct PPD or create a driverless IPP Everywhere queue, confirm executable permissions for cups/filter, restart CUPS, and test with a simple PDF.


Why CUPS reports “Filter failed” (PPD mismatch, missing raster filter, IPP driverless)

Most failures come from a mismatched or missing PPD, absent raster filter (rastertohp, rastertoepson), or a mis-configured IPP Everywhere queue. On macOS, Gatekeeper may quarantine filter binaries; on Linux, missing cups-filters or gutenprint packages cause filter crashes. Rebuilding a driverless queue often resolves the issue fast.

How to verify the repair (macOS & Linux)

Print a one-page PDF and a simple text job. Run lpstat -t to ensure the queue is idle. Check the last lines of error_log for a clean run. If color/duplex options are missing after switching to driverless, confirm the printer advertises AirPrint/IPP capabilities on the same subnet and re-add using -m everywhere.

“Filter failed” — quick troubleshooting checklist

Install filters, pick the right PPD, or go driverless with IPP Everywhere.

Quick path: enable CUPS debug → trigger the error → locate the missing filter → install cups-filters/gutenprint or vendor driver → rebuild as IPP Everywhere if supported → remove stale queues → restart CUPS. This resolves the majority of CUPS filter failed cases on macOS & Linux.

Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.

Expert will respond in minutes

We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.

Save time & money

No scheduling hassles or expensive consults. Membership can save you significant time and money each month.

FAQ

What does “Filter failed” mean in CUPS?

A required CUPS filter crashed or is missing, or the selected PPD calls a filter that isn’t installed. Check /var/log/cups/error_log to identify the exact filter (e.g., rastertohp, gutenprint, foomatic-rip).

Is IPP Everywhere better than installing a PPD?

If the printer supports AirPrint/IPP Everywhere, a driverless queue is simpler and avoids filter mismatches. Use lpadmin ... -m everywhere. For special finishing, use a vendor PPD.

Where are CUPS filters located?

macOS: /usr/libexec/cups/filter. Linux: /usr/lib/cups/filter. Ensure executables have permissions like 755 and are not quarantined (macOS: remove xattr quarantine if needed).

How do I restart CUPS?

macOS: sudo launchctl kickstart -k system/org.cups.cupsd. Linux systemd: sudo systemctl restart cups.

Common CUPS filter problems and quick fixes
SymptomLikely causeQuick fix
“Filter failed” immediately Missing raster filter Install cups-filters/gutenprint or vendor driver; rebuild queue
Queue found but no options Wrong PPD or driverless not detected Create IPP Everywhere queue (-m everywhere)
Works from iPhone, not Mac/Linux PPD mismatch / quarantined binaries Use driverless IPP; clear xattr; restart CUPS
USB only fails Backend/permissions Check lpinfo -v; try IPP over network; fix udev perms

Step-by-step (macOS & Linux)

  1. Enable CUPS debug: sudo cupsctl --debug-logging, re-print, then read /var/log/cups/error_log.
  2. If you see “Missing filter: <name>” — install cups-filters, gutenprint, or the vendor package supplying that filter.
  3. Rebuild the queue as IPP Everywhere: lpadmin -p YourPrinter -E -v ipp://IP/ipp/print -m everywhere.
  4. If using a PPD, match exact model; verify executable permissions on filters, then restart CUPS.

Notes for mixed environments

  1. AirPrint devices advertise capabilities via Bonjour/DNSSD; ensure the Mac/Linux host is on the same subnet.
  2. If finishing options disappear with driverless, switch to the correct vendor PPD temporarily.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant