Need troubleshooting help with HP Printer 25 March 2025, 23:23:56 I'm getting a "filter failed" error message every time I try to print. Would anyone be so kind as to offer some advice on how to start troubleshooting this error?I'm running a fresh install of Artix w/ openrc, printer is HP Laserjet Professional 1102w connected usb. This printer works great on other pc's btw.Much gratitude
Re: Need troubleshooting help with HP Printer Reply #1 – 26 March 2025, 03:12:56 I had a similar error recently, it was solved by updating:https://forum.artixlinux.org/index.php/topic,7921.0.htmlYou could check /var/log/cups/error_log to see if you also have a message about libqpdf.so.29, if not it must be something different, and in that case, perhaps post the errors in that log here for some more relevant suggestions .
Re: Need troubleshooting help with HP Printer Reply #2 – 26 March 2025, 07:12:19 Thank you for the link but no luck. I have the most up to date libcupsfilters. I haven't tried to downgrade qpdf as I didn't locate libqpdf.so.29 in my error log.here is what I did dig upD [25/Mar/2025:20:40:24 -0400] [Job 16] STATE: +connecting-to-deviceD [25/Mar/2025:20:40:24 -0400] [Job 16] STATE: +hplip.plugin-errorD [25/Mar/2025:20:40:24 -0400] [Job 16] prnt/hpcups/HPCupsFilter.cpp 503: m_Job initialization failed with error = 48D [25/Mar/2025:20:40:24 -0400] [Job 16] PID 16248 (/usr/lib/cups/filter/hpcups) stopped with status 1.D [25/Mar/2025:20:40:24 -0400] [Job 16] Hint: Try setting the LogLevel to "debug" to find out more.D [25/Mar/2025:20:40:24 -0400] [Job 16] STATE: -connecting-to-deviceD [25/Mar/2025:20:40:24 -0400] [Job 16] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,ot>D [25/Mar/2025:20:40:24 -0400] [Job 16] cfFilterGhostscript: Processing page 2...D [25/Mar/2025:20:40:24 -0400] [Job 16] cfFilterGhostscript: Rendering completedD [25/Mar/2025:20:40:24 -0400] [Job 16] cfFilterGhostscript: Ghostscript (PID 16253) exited with no errors.D [25/Mar/2025:20:40:24 -0400] [Job 16] cfFilterGhostscript: Logging (PID 16254) exited with no errors.D [25/Mar/2025:20:40:24 -0400] [Job 16] cfFilterChain: ghostscript completed with status 0.D [25/Mar/2025:20:40:24 -0400] [Job 16] cfFilterChain: ghostscript (PID 16252) exited with no errors.So I'm uncertain how to set the logLevel to "debug" and btw the printer is not jammed or have any other physical problems as I am able to plug the usb into my laptop and print just fine.
Re: Need troubleshooting help with HP Printer Reply #3 – 26 March 2025, 09:18:48 Could this article help?https://wiki.archlinux.org/title/CUPS/TroubleshootingIt details the process of enabling debug logs. Further down it has a small note on the "filter failed" message.FWIW, hplip/prnt/hpcups/CommonDefinitions.h says:Code: [Select]PLUGIN_LIBRARY_MISSING = 0x30, //!< a required plugin (dynamic) library is missing(0x30 being the hex representation for decimal 48 if I am not mistaken?)
Re: Need troubleshooting help with HP Printer Reply #4 – 26 March 2025, 11:45:05 well I was able to enable the debug setting in the conf file...but I wanted to know where the logs started for the print job so I thought I would be clever and clear out the old logs by copying the error_log to a new file and creating a blank error_log. Now my error_log does not log errors. I restored the error_log with the original file but still no new logs. Here is what I had in my error_log before I screwed it up. Thank you for the Plugin_library_missing lead. I think you are onto something but I have no idea how to check for the missing library plugin or how to insert it once found.Sorry I'm not sure how to format this into a scroll boxmcgee@H97N-WIFI /var/log/cups $ tail -n 100 -f /var/log/cups/error_logD [26/Mar/2025:06:06:35 -0400] [Job 26] Started filter /usr/lib/cups/filter/universal (PID 28069)D [26/Mar/2025:06:06:35 -0400] [Job 26] Started filter /usr/lib/cups/filter/hpcups (PID 28070)D [26/Mar/2025:06:06:35 -0400] [Job 26] Started backend /usr/lib/cups/backend/usb (PID 28071)D [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterLoadPPD: Color profile qualifier determined from job and PPD data \'Gray.Plain.\'D [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterLoadPPD: No ICC profiles specified in PPDD [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterLoadPPD: Searching for profile \"-/Plain\"...D [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterLoadPPD: Last filter determined by the PPD: hpcups; Final data MIME type: application/vnd.cups-raster => PDF filter will not log pages in page_log.D [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterUniversal: \"*cupsFilter(2): ...\" lines in the PPD file:D [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterUniversal: application/vnd.cups-raw application/octet-stream 0 -D [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterUniversal: application/vnd.cups-raster 0 hpcupsD [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterUniversal: PPD uses \"*cupsFilter: ...\" lines, so we always convert to format given by FINAL_CONTENT_TYPED [26/Mar/2025:06:06:35 -0400] [Job 26] ppdFilterUniversal: Converting from application/vnd.cups-pdf-banner to application/vnd.cups-rasterD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterUniversal: Converting from application/vnd.cups-pdf-banner to application/vnd.cups-rasterD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterUniversal: Final output format for job: application/vnd.cups-rasterD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterUniversal: Adding bannertopdf to chainD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterUniversal: Adding pdftopdf to chainD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterUniversal: Adding ghostscript to chainD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: Running filter: bannertopdfD [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: Running filter: bannertopdf", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: Running filter: pdftopdfD [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: Running filter: pdftopdf", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: Running filter: ghostscriptD [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: Running filter: ghostscript", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterBannerToPDF: Copying input to temp file \"/var/spool/cups/tmp/06da867e8e638\"D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: bannertopdf (PID 28072) started.D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: bannertopdf (PID 28072) started.", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterPDFToPDF: Suppressed page logging selected by options.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: pdftopdf (PID 28073) started.D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: pdftopdf (PID 28073) started.", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: ghostscript (PID 28074) started.D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: ghostscript (PID 28074) started.", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: bannertopdf completed with status 0.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterPDFToPDF: Processing PDF input with QPDF: Page-ranges, page-set, number-up, booklet, size adjustment, ...D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterPDFToPDF: \"print-scaling\" IPP attribute: autoD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterPDFToPDF: Print scaling mode: Do not scale, center, crop if neededD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterPDFToPDF: After Cropping: 595.275574 841.889771 595.275574 841.889771D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: pdftopdf completed with status 0.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: bannertopdf (PID 28072) exited with no errors.D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: bannertopdf (PID 28072) exited with no errors.", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: pdftopdf (PID 28073) exited with no errors.D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterChain: pdftopdf (PID 28073) exited with no errors.", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] Loading USB quirks from \"/usr/share/cups/usb\".D [26/Mar/2025:06:06:35 -0400] [Job 26] Loaded 120 quirks.D [26/Mar/2025:06:06:35 -0400] [Job 26] Printing on printer with URI: usb://HP/LaserJet%20Professional%20P%201102w?serial=000000000W431VPDPR1aD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Output format: CUPS RasterD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Copying input to temp file \"/var/spool/cups/tmp/06daa67e920f4\"D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Input format: PDFD [26/Mar/2025:06:06:35 -0400] [Job 26] Color space requested: DefaultD [26/Mar/2025:06:06:35 -0400] [Job 26] Final output format: CUPS RasterD [26/Mar/2025:06:06:35 -0400] [Job 26] Format of the input document: application/vnd.cups-pdf-bannerD [26/Mar/2025:06:06:35 -0400] [Job 26] Document\'s input format does not provide absolute size dimensions for each page, falling back to US Letter if no output page size is provided.D [26/Mar/2025:06:06:35 -0400] [Job 26] Print rendering intent = autoD [26/Mar/2025:06:06:35 -0400] [Job 26] Color Manager: Calibration Mode/OffD [26/Mar/2025:06:06:35 -0400] [Job 26] libusb_get_device_list=12D [26/Mar/2025:06:06:35 -0400] [Job 26] STATE: +connecting-to-deviceD [26/Mar/2025:06:06:35 -0400] [Job 26] Calling FindDeviceById(cups-HP_LaserJet_Professional_P_1102w)D [26/Mar/2025:06:06:35 -0400] [Job 26] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service filesD [26/Mar/2025:06:06:35 -0400] [Job 26] Failed to get find device cups-HP_LaserJet_Professional_P_1102wD [26/Mar/2025:06:06:35 -0400] [Job 26] Calling FindDeviceById(cups-HP_LaserJet_Professional_P_1102w)D [26/Mar/2025:06:06:35 -0400] [Job 26] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service filesD [26/Mar/2025:06:06:35 -0400] [Job 26] Failed to get device cups-HP_LaserJet_Professional_P_1102wD [26/Mar/2025:06:06:35 -0400] [Job 26] Color Manager: ICC Profile: NoneD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Ghostscript using Any-Part-of-Pixel method to fill paths.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dUsePDFX3Profile -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsRowCount=1 -dcupsRowStep=2 -dcupsInteger0=9 -scupsRenderingIntent=auto -scupsPageSizeName=A4 -dcupsManualCopies -I/usr/share/cups/fonts -c \'<</.HWMargins[18.000000 15.505512 18.000000 15.505493] /Margins[0 0]>>setpagedevice\' -f -_D [26/Mar/2025:06:06:35 -0400] [Job 26] STATE: -connecting-to-deviceD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Started Ghostscript (PID 28077)D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Started logging (PID 28078)D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Input data feed completedD [26/Mar/2025:06:06:35 -0400] [Job 26] iSerialNumber=\"000000000W431VPDPR1a\"D [26/Mar/2025:06:06:35 -0400] [Job 26] Printer found with device ID: MFG:Hewlett-Packard;MDL:HP LaserJet Professional P 1102w;CMD:ZJS,URF,PCLm,PJL,ACL,HTTP;CLS:PRINTER;DES:HP LaserJet Professional P 1102w;FWVER:20150114;CID:HPLJPCLMSMV1; Device URI: usb://HP/LaserJet%20Professional%20P%201102w?serial=000000000W431VPDPR1aD [26/Mar/2025:06:06:35 -0400] [Job 26] Device protocol: 2D [26/Mar/2025:06:06:35 -0400] [Job 26] Sending data to printer.D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "Sending data to printer.", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Start rendering...D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterGhostscript: Start rendering...", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Processing page 1...D [26/Mar/2025:06:06:35 -0400] [Job 26] Set job-printer-state-message to "cfFilterGhostscript: Processing page 1...", current level=INFOD [26/Mar/2025:06:06:35 -0400] [Job 26] Read 91 bytes of print data...D [26/Mar/2025:06:06:35 -0400] [Job 26] Wrote 91 bytes of print data...D [26/Mar/2025:06:06:35 -0400] [Job 26] STATE: +hplip.plugin-errorD [26/Mar/2025:06:06:35 -0400] [Job 26] prnt/hpcups/HPCupsFilter.cpp 503: m_Job initialization failed with error = 48D [26/Mar/2025:06:06:35 -0400] [Job 26] Read 16 bytes of print data...D [26/Mar/2025:06:06:35 -0400] [Job 26] Wrote 16 bytes of print data...D [26/Mar/2025:06:06:35 -0400] [Job 26] Sent 107 bytes...D [26/Mar/2025:06:06:35 -0400] [Job 26] PID 28070 (/usr/lib/cups/filter/hpcups) stopped with status 1.D [26/Mar/2025:06:06:35 -0400] [Job 26] Hint: Try setting the LogLevel to "debug" to find out more.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Processing page 2...D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Rendering completedD [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Ghostscript (PID 28077) exited with no errors.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterGhostscript: Logging (PID 28078) exited with no errors.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: ghostscript completed with status 0.D [26/Mar/2025:06:06:35 -0400] [Job 26] cfFilterChain: ghostscript (PID 28074) exited with no errors.D [26/Mar/2025:06:06:35 -0400] [Job 26] PID 28069 (/usr/lib/cups/filter/universal) exited with no errors.D [26/Mar/2025:06:06:35 -0400] [Job 26] Waiting for read thread to exit...D [26/Mar/2025:06:06:35 -0400] [Job 26] Read thread still active, aborting the pending read...D [26/Mar/2025:06:06:35 -0400] [Job 26] PID 28071 (/usr/lib/cups/backend/usb) exited with no errors.D [26/Mar/2025:06:06:35 -0400] [Job 26] End of messagesD [26/Mar/2025:06:06:35 -0400] [Job 26] printer-state=3(idle)D [26/Mar/2025:06:06:35 -0400] [Job 26] printer-state-message="cfFilterChain: ghostscript (PID 28074) exited with no errors."D [26/Mar/2025:06:06:35 -0400] [Job 26] printer-state-reasons=hplip.plugin-error
Re: Need troubleshooting help with HP Printer Reply #5 – 26 March 2025, 12:36:57 Are you using hplip ?
Re: Need troubleshooting help with HP Printer Reply #6 – 26 March 2025, 14:43:02 Searching the error, this might help:https://bbs.archlinux.org/viewtopic.php?id=200767From the last post here:https://discussion.fedoraproject.org/t/hp1000-no-longer-prints-since-the-system-update-a-few-days-ago/134142/206QuoteNote that hplip is included with fedora and gets updated along with all other software (but the plugin is not automatically updated when hplip has a version update). The plugin update is manual.hp-setup is the command to configure the printer and it prompts to download the plugin. There is the additional command hp-plugin to download the plugin without running setup.If you do ls -l in /var/log/cups you see the file permissions, you probably need to do # chown root:nobody /var/log/cups/error_log to get it working again.There might be more reliable newer ways to get a printer working without the old hplip drivers, but as this model was launched in 2010 perhaps it requires the older drivers, I don't know if you have tried other approaches yet.Also go into the cups web interface and cancel any pending jobs before fixing the printer, if you have been repeatedly trying and failing to print it will quite likely store all those requests and waste all your paper if it starts working again, and test it with a single sheet in the feed tray.