Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
178 views
Debian Jessie / Xfce4: hp-systray[PID]: error: option -s not recognized
Debian Jessie, Xfce4 ver. 4.10, HPLIP ver. 3.14.6 **UPDATE:** This issue is still present as of Debian Buster... After upgrading from Debian Wheezy to Jessie (yeah, I know...), started getting the following (level 1/alert) notice in the boot logs: hp-systray[PID]: error: option -s not recognized Clo...
Debian Jessie, Xfce4 ver. 4.10, HPLIP ver. 3.14.6 **UPDATE:** This issue is still present as of Debian Buster... After upgrading from Debian Wheezy to Jessie (yeah, I know...), started getting the following (level 1/alert) notice in the boot logs: hp-systray[PID]: error: option -s not recognized Closer scrutiny of the subject log entry revealed that the command /usr/bin/python /usr/bin/hp-systray -session .... had been attempted at some point during the login process. Running said command in a terminal does indeed produce the subject error squawk. Turns out that -session is not a valid switch for this command... Never saw said notice when running Wheezy. Internet research yielded the observation that this problem seems to be relatively rare, seemingly innocuous, has been around for at least 10 years, and has never been explained. I have noticed that, if I kill the hp-systray process before shutdown, the problem is not there upon the subsequent boot, but will return for any follow-on boot not preceded by said "kill" operation. Any ideas?
Digger (407 rep)
Aug 14, 2020, 08:42 PM • Last activity: Jul 19, 2025, 08:55 PM
2 votes
1 answers
4518 views
HPLIP -> HPAIO Error during device I/O
I'm running Chaos Calmer 15.05 (openwrt firmware) in a TPLINK WDR3600 and I'm trying to install SANE + HPLIP in order to get scanner over lan network. I installed sane-libs and sane-daemon + dependencies from official distribuition feed (for Chaos Calmer) and because HPLIP is not available for Chaos...
I'm running Chaos Calmer 15.05 (openwrt firmware) in a TPLINK WDR3600 and I'm trying to install SANE + HPLIP in order to get scanner over lan network. I installed sane-libs and sane-daemon + dependencies from official distribuition feed (for Chaos Calmer) and because HPLIP is not available for Chaos Calmer, I had to install HPLIP for 14.07 in third distribuition url , I don't know if the error below is because of this "version", but.... Well... Using sane-find-scanner I get scanner found out by the system, and scanimage -L returns me: > device > `hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000SS17TR2PR1a' > is a Hewlett-Packard HP_LaserJet_Professional_M1132_MFP all-in-one Although scanimage -T returns: > scanimage: open of device > hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000SS17TR2PR1a > failed: Error during device I/O Can someone help me? PS: Sane is returning me error: root@OpenWrt:~# saned -d [saned] main: starting debug mode (level 2) [saned] saned (AF-indep+IPv6) from sane-backends 1.0.25 starting up [saned] do_bindings: bind failed: Address already in use [saned] do_bindings: [1] bind failed: Address already in use [saned] do_bindings: couldn't bind an address. Exiting. [saned] FATAL ERROR; bailing out, waiting for children... [saned] bail_out: all children exited
Diego (21 rep)
Mar 29, 2016, 07:20 PM • Last activity: Jun 19, 2025, 08:09 AM
1 votes
1 answers
1959 views
hplip 3.16.2: no installed HP device found (while CUPS finds it)
I was investigating further an issue already reported [here][1]. The problem is: after having upgraded the **hplip** driver to **3.16.2**, the scanner in my all-in-one printer **HP Color LaserJet Pro MFP M277dw** does not work any longer (while the printer does). Today I found other oddities that se...
I was investigating further an issue already reported here . The problem is: after having upgraded the **hplip** driver to **3.16.2**, the scanner in my all-in-one printer **HP Color LaserJet Pro MFP M277dw** does not work any longer (while the printer does). Today I found other oddities that seem specific to **hplip** rather than to **sane**, whereby this other post. I use **Ubuntu Linux 14.04 LTS**. In all that follows the device is connected and powered-on. The hplip page for that device is here . # Evidences # **a.** Moving on from the **sane** community page on Ubuntu , I followed the suggestion to run sudo hp-setup. The answer is warning: CUPSEXT could not be loaded. Please check HPLIP installation. **b.** If run hp-doctor, the welcome message is error: This distro (i.e ubuntu 14.04) is either deprecated or not yet supported. This sounds utterly odd to me, because the previous hplip did not dare to complain this far of the very same distro. The complete output of hp-doctor is available from here on Paste Ubuntu . **c.** Ever more puzzling, if I open the HP device manager, I am presented with the window enter image description here which seems a false statement to me, since the device works as a printer at the very least. If I click on Setup device... I get again the same dialogue window. And **CUPS** on localhost:631 indeed confirms that the printer is there ready to be found, nice and idle. # Questions # Is there a way to have the commands hp-setup and hp-doctor run smoothly so that I can fix the scanner issue down the line? If not, how do I downgrade the hplip driver to the previous stable version? Installing 3.16.2 has led to more havoc than joy.
XavierStuvw (1179 rep)
Jul 9, 2016, 07:35 PM • Last activity: May 29, 2025, 06:07 AM
0 votes
2 answers
6402 views
Can't print from HP printer with CUPS: "Filter failed"
Using my BananaPi as a printer server (Armbian Debian 10 (buster)) Ran the following commands: - aptitude install cups - aptitude install printer-driver-escpr - aptitude install hplip - aptitude install hpcups Printers were added to the CUPS server through the webgui. The Epson printer works, but se...
Using my BananaPi as a printer server (Armbian Debian 10 (buster)) Ran the following commands: - aptitude install cups - aptitude install printer-driver-escpr - aptitude install hplip - aptitude install hpcups Printers were added to the CUPS server through the webgui. The Epson printer works, but sending jobs to the HP printer causes the following error:
"Filter failed"
(I did have this working on my raspberry pi at one point, but after an apt-get update/upgrade it started getting the filter error, so I erased the OS and started new on a new device) All the solutions I could find for this problem seem to indicate I need new drivers. I found two driver sources for this printer (hp m1319f): - https://developers.hp.com/hp-linux-imaging-and-printing/gethplip (Latest: 3.20.6) - https://www.openprinting.org/driver/foo2zjs-z1 The driver installed by aptitude was 3.18.12. From what I can tell there are no older/newer versions I can choose from in the package manager. I tried manually downloading the latest hplip and executing the .run file but that results in this: Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 70, in import traceback ValueError: bad marshal data (unknown type code) Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 70, in import traceback ValueError: bad marshal data (unknown type code) ./hplip-install: line 20: [: : integer expression expected Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 70, in import traceback ValueError: bad marshal data (unknown type code) If I manually execute ./configure I get the following output: ... checking for python3 version... 3.7 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.7/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.7/site-packages checking for path to Python.h... Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils.sysconfig' "using .... python3.7/Python.h" checking python3.7/Python.h usability... no checking python3.7/Python.h presence... no checking for python3.7/Python.h... no checking python3.7mu/Python.h usability... no checking python3.7mu/Python.h presence... no checking for python3.7mu/Python.h... no checking python3.7m/Python.h usability... no checking python3.7m/Python.h presence... no checking for python3.7m/Python.h... no configure: error: cannot find python-devel support However python-dev is already installed, and python-devel doesn't exist. sudo aptitude install python-dev python-dev is already installed at the requested version (2.7.16-1) python-dev is already installed at the requested version (2.7.16-1) No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. /var/log/cups/error_log: E [04/Aug/2020:11:33:01 -0400] [Job 12] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details. D [04/Aug/2020:11:33:01 -0400] [Job 12] The following messages were recorded from 11:32:38 AM to 11:33:01 AM D [04/Aug/2020:11:33:01 -0400] [Job 12] Applying default options... D [04/Aug/2020:11:33:01 -0400] [Job 12] Adding start banner page "none". D [04/Aug/2020:11:33:01 -0400] [Job 12] Adding end banner page "none". D [04/Aug/2020:11:33:01 -0400] [Job 12] File of type application/vnd.cups-pdf-banner queued by "bananapi". D [04/Aug/2020:11:33:01 -0400] [Job 12] hold_until=0 D [04/Aug/2020:11:33:01 -0400] [Job 12] Queued on "HP_LaserJet_M1319f_MFP" by "bananapi". D [04/Aug/2020:11:33:01 -0400] [Job 12] time-at-processing=1596555158 D [04/Aug/2020:11:33:01 -0400] [Job 12] 4 filters for job: D [04/Aug/2020:11:33:01 -0400] [Job 12] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32) D [04/Aug/2020:11:33:01 -0400] [Job 12] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66) D [04/Aug/2020:11:33:01 -0400] [Job 12] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99) D [04/Aug/2020:11:33:01 -0400] [Job 12] hpcups (application/vnd.cups-raster to printer/HP_LaserJet_M1319f_MFP, cost 0) D [04/Aug/2020:11:33:01 -0400] [Job 12] job-sheets=none,none D [04/Aug/2020:11:33:01 -0400] [Job 12] argv="HP_LaserJet_M1319f_MFP" D [04/Aug/2020:11:33:01 -0400] [Job 12] argv="12" D [04/Aug/2020:11:33:01 -0400] [Job 12] argv="bananapi" D [04/Aug/2020:11:33:01 -0400] [Job 12] argv="Test Page" D [04/Aug/2020:11:33:01 -0400] [Job 12] argv="1" D [04/Aug/2020:11:33:01 -0400] [Job 12] argv="job-uuid=urn:uuid:adfed0df-3ddc-3aa7-4824-6e3bd8baa838 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1596555158 time-at-processing=1596555158" D [04/Aug/2020:11:33:01 -0400] [Job 12] argv="/var/spool/cups/d00012-001" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_CACHEDIR=/var/cache/cups" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_DATADIR=/usr/share/cups" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_DOCROOT=/usr/share/cups/doc-root" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_FONTPATH=/usr/share/cups/fonts" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_REQUESTROOT=/var/spool/cups" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_SERVERBIN=/usr/lib/cups" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_SERVERROOT=/etc/cups" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_STATEDIR=/run/cups" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="HOME=/var/spool/cups/tmp" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="SERVER_ADMIN=root@bananapi" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="SOFTWARE=CUPS/2.2.10" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="TMPDIR=/var/spool/cups/tmp" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="USER=root" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_MAX_MESSAGE=2047" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_SERVER=/run/cups/cups.sock" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_ENCRYPTION=IfRequested" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="IPP_PORT=631" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CHARSET=utf-8" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="LANG=en_US.UTF-8" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="PPD=/etc/cups/ppd/HP_LaserJet_M1319f_MFP.ppd" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="RIP_MAX_CACHE=128m" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CONTENT_TYPE=application/vnd.cups-pdf-banner" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="DEVICE_URI=hp:/usb/HP_LaserJet_M1319f_MFP?serial=N810GF4" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="PRINTER_INFO=HP LaserJet M1319f MFP" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="PRINTER_LOCATION=" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="PRINTER=HP_LaserJet_M1319f_MFP" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="PRINTER_STATE_REASONS=none" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="CUPS_FILETYPE=document" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="FINAL_CONTENT_TYPE=application/vnd.cups-raster" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp="AUTH_I****" D [04/Aug/2020:11:33:01 -0400] [Job 12] Started filter /usr/lib/cups/filter/bannertopdf (PID 2147) D [04/Aug/2020:11:33:01 -0400] [Job 12] Started filter /usr/lib/cups/filter/pdftopdf (PID 2148) D [04/Aug/2020:11:33:01 -0400] [Job 12] Started filter /usr/lib/cups/filter/gstoraster (PID 2149) D [04/Aug/2020:11:33:01 -0400] [Job 12] Started filter /usr/lib/cups/filter/hpcups (PID 2150) D [04/Aug/2020:11:33:01 -0400] [Job 12] Started backend /usr/lib/cups/backend/hp (PID 2151) D [04/Aug/2020:11:33:01 -0400] [Job 12] pdftopdf: Last filter determined by the PPD: hpcups; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log. D [04/Aug/2020:11:33:01 -0400] [Job 12] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster D [04/Aug/2020:11:33:01 -0400] [Job 12] PDF template file doesn\'t have form. It\'s okay. D [04/Aug/2020:11:33:01 -0400] [Job 12] PID 2147 (/usr/lib/cups/filter/bannertopdf) exited with no errors. D [04/Aug/2020:11:33:01 -0400] [Job 12] PID 2148 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [04/Aug/2020:11:33:01 -0400] [Job 12] Color Manager: Calibration Mode/Off D [04/Aug/2020:11:33:01 -0400] [Job 12] Calling FindDeviceById(cups-HP_LaserJet_M1319f_MFP) D [04/Aug/2020:11:33:01 -0400] [Job 12] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files D [04/Aug/2020:11:33:01 -0400] [Job 12] Failed to get find device cups-HP_LaserJet_M1319f_MFP D [04/Aug/2020:11:33:01 -0400] [Job 12] Calling FindDeviceById(cups-HP_LaserJet_M1319f_MFP) D [04/Aug/2020:11:33:01 -0400] [Job 12] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files D [04/Aug/2020:11:33:01 -0400] [Job 12] Failed to get device cups-HP_LaserJet_M1319f_MFP D [04/Aug/2020:11:33:01 -0400] [Job 12] Color Manager: no profiles specified in PPD D [04/Aug/2020:11:33:01 -0400] [Job 12] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO D [04/Aug/2020:11:33:01 -0400] [Job 12] Color Manager: ICC Profile: None D [04/Aug/2020:11:33:01 -0400] [Job 12] Ghostscript using Any-Part-of-Pixel method to fill paths. D [04/Aug/2020:11:33:01 -0400] [Job 12] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsRowCount=1 -dcupsRowStep=2 -dcupsInteger0=1 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c \'>setpagedevice\' -f -_ D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_CACHEDIR=/var/cache/cups\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_DATADIR=/usr/share/cups\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_DOCROOT=/usr/share/cups/doc-root\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_FONTPATH=/usr/share/cups/fonts\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_REQUESTROOT=/var/spool/cups\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_SERVERBIN=/usr/lib/cups\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_SERVERROOT=/etc/cups\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_STATEDIR=/run/cups\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"HOME=/var/spool/cups/tmp\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"SERVER_ADMIN=root@bananapi\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"SOFTWARE=CUPS/2.2.10\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"TMPDIR=/var/spool/cups/tmp\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"USER=root\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_MAX_MESSAGE=2047\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_SERVER=/run/cups/cups.sock\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_ENCRYPTION=IfRequested\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"IPP_PORT=631\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CHARSET=utf-8\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"LANG=en_US.UTF-8\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"PPD=/etc/cups/ppd/HP_LaserJet_M1319f_MFP.ppd\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"RIP_MAX_CACHE=128m\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CONTENT_TYPE=application/vnd.cups-pdf-banner\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"DEVICE_URI=hp:/usb/HP_LaserJet_M1319f_MFP?serial=N810GF4\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"PRINTER_INFO=HP LaserJet M1319f MFP\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"PRINTER_LOCATION=\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"PRINTER=HP_LaserJet_M1319f_MFP\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"PRINTER_STATE_REASONS=none\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"CUPS_FILETYPE=document\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\" D [04/Aug/2020:11:33:01 -0400] [Job 12] envp=\"AUTH_INFO_REQUIRED=none\" D [04/Aug/2020:11:33:01 -0400] [Job 12] Start rendering... D [04/Aug/2020:11:33:01 -0400] [Job 12] Set job-printer-state-message to "Start rendering...", current level=INFO D [04/Aug/2020:11:33:01 -0400] [Job 12] Processing page 1... D [04/Aug/2020:11:33:01 -0400] [Job 12] Set job-printer-state-message to "Processing page 1...", current level=INFO D [04/Aug/2020:11:33:01 -0400] [Job 12] STATE: +connecting-to-device D [04/Aug/2020:11:33:01 -0400] [Job 12] STATE: +hplip.plugin-error D [04/Aug/2020:11:33:01 -0400] [Job 12] prnt/hpcups/HPCupsFilter.cpp 489: m_Job initialization failed with error = 48 D [04/Aug/2020:11:33:01 -0400] [Job 12] double free or corruption (!prev) D [04/Aug/2020:11:33:01 -0400] [Job 12] PID 2150 (/usr/lib/cups/filter/hpcups) crashed on signal 6. D [04/Aug/2020:11:33:01 -0400] [Job 12] Hint: Try setting the LogLevel to "debug" to find out more. D [04/Aug/2020:11:33:01 -0400] [Job 12] Processing page 2... D [04/Aug/2020:11:33:01 -0400] [Job 12] STATE: -connecting-to-device D [04/Aug/2020:11:33:01 -0400] [Job 12] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other D [04/Aug/2020:11:33:01 -0400] [Job 12] Rendering completed D [04/Aug/2020:11:33:01 -0400] [Job 12] PID 2149 (/usr/lib/cups/filter/gstoraster) exited with no errors. D [04/Aug/2020:11:33:01 -0400] [Job 12] prnt/backend/hp.c 376: read new pjl status: 10023 D [04/Aug/2020:11:33:01 -0400] [Job 12] prnt/backend/hp.c 378: read pjl job_end: 0 D [04/Aug/2020:11:33:01 -0400] [Job 12] prnt/backend/hp.c 376: read new pjl status: 10001 D [04/Aug/2020:11:33:01 -0400] [Job 12] ready to print D [04/Aug/2020:11:33:01 -0400] [Job 12] PID 2151 (/usr/lib/cups/backend/hp) exited with no errors. D [04/Aug/2020:11:33:01 -0400] [Job 12] End of messages D [04/Aug/2020:11:33:01 -0400] [Job 12] printer-state=3(idle) D [04/Aug/2020:11:33:01 -0400] [Job 12] printer-state-message="ready to print" D [04/Aug/2020:11:33:01 -0400] [Job 12] printer-state-reasons=none The ppd from openprinting doesn't fix the problem either. One oddity I noticed is that driver says my printer is color: (HP LaserJet m1319f MFP, hpcups 3.18.12, requires proprietary plugin (color, 2-sided printing)) I am stumped. I saw this solution for bad marshal data, but I don't it will work in my case: https://stackoverflow.com/questions/30861493/how-to-fix-python-valueerrorbad-marshal-data
The Muffin Boy (161 rep)
Aug 4, 2020, 04:39 PM • Last activity: Jul 4, 2023, 06:18 PM
3 votes
3 answers
1605 views
Hplip cannot be installed on system with disabled root-user (password incorrect, can't install dependencies)
This thread is derived from [an askubuntu-thread][1] There the thread-opener tried to install hplip-libraries, but failed because hplip handled his system as a pure Debian one, instead of an Ubuntu one. A very related problem affects users of distros other than Ubuntu -- because Ask Ubuntu is for Ub...
This thread is derived from an askubuntu-thread There the thread-opener tried to install hplip-libraries, but failed because hplip handled his system as a pure Debian one, instead of an Ubuntu one. A very related problem affects users of distros other than Ubuntu -- because Ask Ubuntu is for Ubuntu only, I am opening this thread here to hopefully help some people of other distros. The symptom of the problem is: during the execution of hplip-*.run, you are asked for your root password, but, entering your correct password, the installer will tell you your password is wrong. This only affects people with a disabled root account (people using sudo). How can one fix this problem and install the hplip on a machine that has the superuser disabled?
LeonTheProfessional (253 rep)
Jan 5, 2021, 11:15 AM • Last activity: Jun 12, 2023, 04:01 PM
0 votes
1 answers
140 views
Raspberry Pi doesn't recognize HP PSC 750xi Scanner
I posted this to [raspberrypi.stackexchange][1] yesterday with no responses and only 4 views, so I'm reposting and expanding the original post here to reach a wider/different audience. I have an old Pi-3 running Stretch. I have what `apt-get install` tells me is the latest version of everything inst...
I posted this to raspberrypi.stackexchange yesterday with no responses and only 4 views, so I'm reposting and expanding the original post here to reach a wider/different audience. I have an old Pi-3 running Stretch. I have what apt-get install tells me is the latest version of everything installed. I plug in an old HP PSC 750xi All-In-One USB printer/scanner. The Pi recognizes the printer features of the device, and I can successfully configure CUPS to use the printer. But I cannot get the Pi to recognize the device's scanner. I have a separate laptop running Ubuntu 20. When I plug the USB device into that laptop, I can use hplip's hp-scan tool to successfully scan. But none of the Pi's hplip or sane tools (hp-setup, hp-probe, hp-check, hp-scan, scanimage, sane-find-scanner ...) recognize the USB scanner. Clearly, as the Ubuntu test proves, hplip **does** support scanning for this all-in-one printer/scanner. And hplip documentation indicates that the device is supported both for the Pi hplip version (3.16.11) and for the Ubuntu version (3.20). I also have an HP 6978 Network printer/scanner that the Ubuntu system sees on the network and can manipulate with the hplip tools. The Pi's CUPS server sees and can use that network printer. But, like the USB device, the Pi fails to 'see' the network scanner. My understanding is that these scanners are supported through use of the libsane-hpaio backend. Yes, I have installed the libsane-hpaio package on the Pi. I've run scanimage on the Pi with SANE_DEBUG_DLL=128 and SANE_DEBUG_HPAIO=128 but the output simply reports no scanners found without indicating any errors of any kind. On the Ubuntu system, the same debug output shows successful discovery of both the network scanner and the USB-connected scanner. But there appear to be more fundamental issues. The full lsusb output is now reporting:
theadmin@RASSERVER:~ $ lsusb
Protocol spec without prior Class and Subclass spec at line 23291
Bus 001 Device 005: ID 0bc2:231a Seagate RSS LLC Expansion Portable
Bus 001 Device 006: ID 03f0:1511 HP, Inc PSC 750xi
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
It's that very first line I'm concerned about. I'm thinking this is a possible Python version issue as python -V reports Python 2.7.13. But Python3.5 is installed too (though I have no idea which package might have installed it,) and python3 -V reports Python 3.5.3. So, I'm thinking half the packages are using python v2 and half are using v3 and I don't know which is using which. Nor do I know how to configure them to use a different version. Plus, I'm a bit hesitant to even try to reconfigure/upgrade the base python from v2 to v3 for fear of breaking the entire system. And I'm concerned that the libusb and usbutil packages are so old, while hplip and its companions are much newer ... some kind of a mismatch somewhere, but I hardly know where to start. I hate to rebuild the Pi from scratch because I don't want to have to rebuild its LAMP stack, web server, nextcloud server, etc. but that may be my only option. I cannot find any missing packages or dependencies on the Pi. I have tried removing and re-installing hplip and a number of other packages. Clearly, there is some configuration difference between the Pi and the Ubuntu platforms. But after several days of struggle, I'm stumped. Anyone have any ideas?
Chucko (31 rep)
Jan 1, 2022, 12:51 PM • Last activity: Jan 6, 2022, 07:00 PM
0 votes
2 answers
1520 views
HP LaserJet Pro MFP M28a: unable to reach the scanner from XSane under Debian 11 using HPLIP
My OS is Debian 11 and my printer is an HP LaserJet Pro MFP M28a. After the first install using the `hplip` package, both printing and scanning were working fine but, for some reason, I had to reinstall the printer and then the scanner became unreachable from `XSane` at all. I have tried several opt...
My OS is Debian 11 and my printer is an HP LaserJet Pro MFP M28a. After the first install using the hplip package, both printing and scanning were working fine but, for some reason, I had to reinstall the printer and then the scanner became unreachable from XSane at all. I have tried several options and I either get error message code 9 ("error: SANE: Error during device I/O") or 10 ("error: SANE: Out of memory (code=10)") when trying to launch XSane. Is it actually an error from XSane or from the whole configuration on my computer? By the way, here is the output from hp-check:
-check: info: :
hp-check: info: :[01mHP Linux Imaging and Printing System (ver. 3.21.2)[0m
hp-check: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check: info: :
hp-check: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check: info: :This is free software, and you are welcome to distribute it
hp-check: info: :under certain conditions. See COPYING file for more details.
hp-check: info: :
hp-check: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the
hp-check: info: :proper dependencies are installed to successfully compile HPLIP.
hp-check: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP
hp-check: info: :supplied tarball has the proper dependencies installed to successfully run.
hp-check: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time
hp-check: info: :dependencies).
hp-check: info: :
hp-check: info: :Check types:
hp-check: info: :a. EXTERNALDEP - External Dependencies
hp-check: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check: info: :c. COMPILEDEP - Compile time Dependencies
hp-check: info: :d. [All are run-time checks]
hp-check: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check: info: :
hp-check: info: :Status Types:
hp-check: info: : OK
hp-check: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check: info: :
warning: [01mdebian-11 version is not supported. Using debian-10.7 versions dependencies to verify and install...[0m
hp-check: info: :
hp-check: info: :---------------
hp-check: info: :| SYSTEM INFO |
hp-check: info: :---------------
hp-check: info: :
hp-check: info: : Kernel: 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) GNU/Linux
 Host: Aragorn
 Proc: 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) GNU/Linux
 Distribution: debian 11
hp-check: info: : Bitness: 64 bit

hp-check: info: :
hp-check: info: :-----------------------
hp-check: info: :| HPLIP CONFIGURATION |
hp-check: info: :-----------------------
hp-check: info: :
hp-check: info: :HPLIP-Version: HPLIP 3.21.2
hp-check: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro 11 version
hp-check: info: :
hp-check: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.21.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.21.2
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no

hp-check: info: :
hp-check: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check: info: :[plugin]
installed = 1
eula = 1
version = 3.21.2

hp-check: info: :
hp-check: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check: info: :[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[fax]
email_address =
voice_phone =

[installation]
date_time = 08/16/21 17:03:40
version = 3.21.2

[last_used]
device_uri = escl:http://127.0.0.1:60001 
printer_name = Imprimante
working_dir = .

[polling]
device_list =
enable = false
interval = 5

[refresh]
enable = true
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 1

[upgrade]
last_upgraded_time = 1607445828
notify_upgrade = true
pending_upgrade_time = 0

hp-check: info: :       
hp-check: info: :
hp-check: info: :-------------------------
hp-check: info: :| External Dependencies |
hp-check: info: :-------------------------
hp-check: info: :
hp-check: info: :[31;01m error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'[0m
hp-check: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.53.3 OK -
hp-check: info: : xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
hp-check: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.31 OK -
hp-check: info: : dbus DBus - Message bus system REQUIRED - 1.12.20 OK -
hp-check: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check: info: : network network -wget OPTIONAL - 1.21 OK -
hp-check: info: : avahi-utils avahi-utils OPTIONAL - 0.8 OK -
hp-check: info: :
hp-check: info: :------------------------
hp-check: info: :| General Dependencies |
hp-check: info: :------------------------
hp-check: info: :
hp-check: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - OK -
hp-check: info: : cups-image CUPS image - CUPS image development files REQUIRED - - OK -
hp-check: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
hp-check: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check: info: : sane-devel SANE - Scanning library development files REQUIRED - - OK -
hp-check: info: : libavahi-dev libavahi-dev REQUIRED - - OK -
hp-check: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9 OK -
hp-check: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
hp-check: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.9.2 OK -
hp-check: info: : python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
hp-check: info: :[31;01m error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'[0m
hp-check: info: :[31;01m error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'[0m
hp-check: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
hp-check: info: : python3-xml Python XML libraries REQUIRED - 2.2.10 OK -
hp-check: info: : python3-devel Python devel - Python development files REQUIRED 2.2 3.9.2 OK -
hp-check: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 8.1.2 OK -
hp-check: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.59 OK -
hp-check: info: :
hp-check: info: :--------------
hp-check: info: :| COMPILEDEP |
hp-check: info: :--------------
hp-check: info: :
hp-check: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 10.2.1 OK -
hp-check: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.3 OK -
hp-check: info: :
hp-check: info: :---------------------
hp-check: info: :| Python Extentions |
hp-check: info: :---------------------
hp-check: info: :
hp-check: info: : cupsext CUPS-Extension REQUIRED - 3.21.2 OK -
hp-check: info: : hpmudext IO-Extension REQUIRED - 3.21.2 OK -
hp-check: info: :
hp-check: info: :----------------------
hp-check: info: :| Scan Configuration |
hp-check: info: :----------------------
hp-check: info: :
hp-check: info: :'/etc/sane.d/dll.d/hpaio' not found.
hp-check: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.21.2 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check: info: : scanext Scan-SANE-Extension REQUIRED - 3.21.2 OK -
hp-check: info: :
hp-check: info: :------------------------------
hp-check: info: :| DISCOVERED SCANNER DEVICES |
hp-check: info: :------------------------------
hp-check: info: :
hp-check: info: :device `escl:http://127.0.0.1:60001 ' is a HP LaserJet MFP M28a (A7B2AA) (USB) flatbed scanner
device `hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=VNC3R77190' is a Hewlett-Packard HP_LaserJet_MFP_M28-M31 all-in-one
device `hpaio:/net/hp_laserjet_mfp_m28-m31?ip=127.0.0.1&queue=false' is a Hewlett-Packard hp_laserjet_mfp_m28-m31 all-in-one
device `escl:http://127.0.0.1:60001 ' is a HP LaserJet MFP M28a (A7B2AA) (USB) flatbed scanner
device `hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=VNC3R77190' is a Hewlett-Packard HP_LaserJet_MFP_M28-M31 all-in-one
device `hpaio:/net/hp_laserjet_mfp_m28-m31?ip=127.0.0.1&queue=false' is a Hewlett-Packard hp_laserjet_mfp_m28-m31 all-in-one

hp-check: info: :
hp-check: info: :--------------------------
hp-check: info: :| DISCOVERED USB DEVICES |
hp-check: info: :--------------------------
hp-check: info: :
hp-check: info: : Device URI Model
hp-check: info: : ------------------------------------------------- ----------------------------
hp-check: info: : hp:/usb/HP_LaserJet_MFP_M28-M31?serial=VNC3R77190 HP LaserJet MFP M28-M31
hp-check: info: :
hp-check: info: :---------------------------------
hp-check: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check: info: :---------------------------------
hp-check: info: :
hp-check: info: :
hp-check: info: :[01m[0m
hp-check: info: :[01m[0m
hp-check: info: :Type: Unknown
hp-check: info: :Device URI: implicitclass://HP_LaserJet_MFP_M28a_A7B2AA_USB_/
hp-check: info: :
hp-check: info: :[01m[0m
hp-check: info: :[01m[0m
hp-check: info: :Type: Printer
hp-check: info: :Device URI: hp:/usb/HP_LaserJet_MFP_M28-M31?serial=VNC3R77190
hp-check: info: :Communication status: Good
hp-check: info: :
hp-check: info: :
hp-check: info: :--------------
hp-check: info: :| PERMISSION |
hp-check: info: :--------------
hp-check: info: :
hp-check: info: :USB Imprimante Required - - OK Node:'/dev/bus/usb/001/006' Perm:' root lp rw- rw- rw- rw- rw- r--'
hp-check: info: :
hp-check: info: :-----------
hp-check: info: :| SUMMARY |
hp-check: info: :-----------
hp-check: info: :
hp-check: info: :[01mMissing Required Dependencies[0m
hp-check: info: :[01m-----------------------------[0m
error: 'cups' package is missing or 'cups' service is not running.
error: 'libcups2' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
hp-check: info: :
hp-check: info: :[01mMissing Optional Dependencies[0m
hp-check: info: :[01m-----------------------------[0m
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
hp-check: info: :
hp-check: info: :Total Errors: 3
hp-check: info: :Total Warnings: 0
hp-check: info: :
hp-check: info: :
hp-check: info: :Done.
I know there is some warning telling me Debian 11 is *not supported* and that some required packages are *missing* (and I did not remove them since then), but I **did manage** to make the scanner work at first, so there must be a way to get it back running (without messing too much with the packages).
Olivier (165 rep)
Aug 16, 2021, 08:30 PM • Last activity: Oct 14, 2021, 07:43 AM
0 votes
1 answers
253 views
fix dependencies for hplip on old debian
I have (LMDE2) debian 8 (jessie) and want to install network printer. My printer is supported in hplip v3.18.5 but only v3.14.6 is available, therefore I need to compile hplip from source. There is list of [Dependency Packages][1] which I am looking for. Can someone translate this into valid package...
I have (LMDE2) debian 8 (jessie) and want to install network printer. My printer is supported in hplip v3.18.5 but only v3.14.6 is available, therefore I need to compile hplip from source. There is list of Dependency Packages which I am looking for. Can someone translate this into valid package names for (jessie)? mint@debian ~ $ uname -a Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux mint@debian ~ $ sudo apt install cupsys cupsys-client cupsddk cupsddk-drivers libcupsys2-dev cupsys-bsd libcupsimage2-dev libdbus-1-dev gcc g++ gs-esp libssl-dev libjpeg-dev libsnmp9-dev libc6 libtool libusb-1.0-0-dev make wget python-imaging policykit python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab sane libsane-dev sane-utils xsane Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libsnmp-dev' instead of 'libsnmp9-dev' Package cupsys-client is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package cupsddk is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package cupsys-bsd is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Unable to locate package cupsys E: Package 'cupsys-client' has no installation candidate E: Package 'cupsddk' has no installation candidate E: Unable to locate package cupsddk-drivers E: Unable to locate package libcupsys2-dev E: Package 'cupsys-bsd' has no installation candidate E: Unable to locate package gs-esp E: Unable to locate package policykit mint@debian ~ $
alecxs (594 rep)
Sep 5, 2021, 10:05 AM • Last activity: Sep 5, 2021, 08:50 PM
2 votes
1 answers
253 views
Print text using black ink on HP Laserjet color printer
I have a HP LaserJet CP1025NW (color) printer installed on a Linux Mint 20.1 machine using HPLIP (required plugin installed, version 3.20.11). For some reason, whenever I try to print a document (e.g. PDF, a text file, etc.) with black text inside, the text is *always* printed using the three CMY co...
I have a HP LaserJet CP1025NW (color) printer installed on a Linux Mint 20.1 machine using HPLIP (required plugin installed, version 3.20.11). For some reason, whenever I try to print a document (e.g. PDF, a text file, etc.) with black text inside, the text is *always* printed using the three CMY colors. The result is not as pretty looking as if the text had been printed using the black cartridge only; also, it is a waste of ink. Notice that if the *same* document is printed via a Windows machine on the *same* printer, I get the expected result of black text printed in pure black. I could not find any option (neither in CUPS, nor in HPLIP) to adjust this undesired behavior. Any help is appreciated.
Corrado (41 rep)
May 18, 2021, 05:51 PM • Last activity: Jun 1, 2021, 03:07 PM
2 votes
2 answers
2229 views
sane does not work as saned but as root it does
I have a plug computer that I want to use as scanner server using sane. It already worked with a different plug, so I know for sure that the scanner and sane are workable together. If I issue `scanimage -L` as `root` I get this output: device `hpaio:/usb/Deskjet_F300_series?serial=CN73CGJ05504KH' is...
I have a plug computer that I want to use as scanner server using sane. It already worked with a different plug, so I know for sure that the scanner and sane are workable together. If I issue scanimage -L as root I get this output: device `hpaio:/usb/Deskjet_F300_series?serial=CN73CGJ05504KH' is a Hewlett-Packard Deskjet_F300_series all-in-one which is what I am expecting, but when I call the command as saned I get this output: No scanners were identified. [...] If I call sane-find-scanner as saned it brings up: found USB scanner (vendor=0x03f0, product=0x5511) at libusb:001:015 Now the interesting part is that the vendor and product is not detected here, but when I do the same as root this is the result: found USB scanner (vendor=0x03f0 [HP], product=0x5511 [Deskjet F300 series]) at libusb:001:015 So, somehow the root user has access to the list of vendors (and thus is able to detect the scanner) while saned is not. I don't want to run the saned server as root so I need to figure this out. All settings I did in saned.conf are for the network interaction, but my problem is on the local host, so I skip the config file (but of course can provide it if necessary) saned groups: saned scanner I assume that I need to change the privileges of the file where vendor and product are mapped (/etc/sane.d/hp.conf), but that is already readable by sane. -rw-r--r-- 1 saned scanner 396 Dec 12 2010 hp3900.conf -rw-r--r-- 1 saned scanner 76 Dec 12 2010 hp4200.conf -rw-r--r-- 1 saned scanner 238 Dec 12 2010 hp5400.conf -rw-r--r-- 1 saned scanner 497 Dec 12 2010 hp.conf -rw-r--r-- 1 saned scanner 22 Dec 12 2010 hpsj5s.conf Same for /etc/sane.d/dll.d/ -rw-r--r-- 1 saned scanner 38 Dec 10 2013 hplip Interesting is that neither of these files contain the Deskjet_F300_series information, so maybe there is another file? Also, while the scanner does have a printing option, I'm not interested in this. I did read [this post](https://unix.stackexchange.com/q/184367/54677) , but I would prefer not to do what is described there, because somewhere the information is already present and I would like to access that place, from the saned user.
Angelo Fuchs (193 rep)
Mar 24, 2015, 07:40 PM • Last activity: Apr 26, 2021, 08:46 PM
0 votes
0 answers
1135 views
Printer not working on Void Linux
I have installed [Void linux][1] which is otherwise working very well. It certainly is a smooth and stable distribution with a great package manager (xbps) which does dependency resolution also. The packages in repository (e.g. LibreOffice) are fairly recent. However, I have not been able to make my...
I have installed Void linux which is otherwise working very well. It certainly is a smooth and stable distribution with a great package manager (xbps) which does dependency resolution also. The packages in repository (e.g. LibreOffice) are fairly recent. However, I have not been able to make my Void Linux installation work with my HP Laserjet M1136 MFP printer/scanner. I have installed hplip and cups. I have tried to install it using command sudo hp-setup -i and also using localhost:631 on browser. The printer is recognized but on there is always 'Filter failed' error on trying to print. This printer/scanner works well with a Debian Stable Linux installation on a separate partition of same desktop computer. I found that there is a package called hplip-data installed on Debian but this package is not present in Void Linux repository. What could be the problem and how can it be solved? Thanks for your help. Edit: /etc/printers.conf file is shown below: NextPrinterId 12 PrinterId 11 UUID urn:uuid:64208fbb-c084-36f7-6ffd-55aa73ae7885 Info HP LaserJet Professional M1136 MFP Location rnhome MakeModel HP LaserJet Professional m1136 MFP hpijs, 3.20.9 DeviceURI hp:/usb/HP_LaserJet_Professional_M1136_MFP?serial=000000000QHBV1CYPR1a State Idle StateTime 1617539017 ConfigTime 1617539027 Type 8425484 Accepting Yes Shared No JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Edit: Printer started working after I used hp-plugin -i command. It downloaded required plugin and installed it. Thanks.
rnso (323 rep)
Apr 3, 2021, 05:01 PM • Last activity: Apr 6, 2021, 06:08 PM
0 votes
1 answers
1014 views
Fix HP printer software after upgrade (on Arch Linux)
I am trying to run HP's printer software which was upgraded recently and broke all my printing. I run a constantly upgraded Arch (which is 5.10.14 as of Feb 28, 2021). Apparently they use Qt now so it is some kind of requirement so I spent 2 hours building all this Qt stuff. It seems crazy that HP i...
I am trying to run HP's printer software which was upgraded recently and broke all my printing. I run a constantly upgraded Arch (which is 5.10.14 as of Feb 28, 2021). Apparently they use Qt now so it is some kind of requirement so I spent 2 hours building all this Qt stuff. It seems crazy that HP is requiring linux users to spend hours building obscure packages just so they can print. lpstat -a says the printers are ready and working/idle, but nothing can print to them. The cups log says the print failed to a "backend error". Anyway, hp-setup now just hangs on startup and hp-check gives an error that PyQt4 cannot import QtCore, which is the standard way PyQt users try to verify the version of Qt they are running under. So, apparently there is some kind of version conflict between the two. Here is the relevant section of my pip list:
PyOpenGL              3.1.5
pyOpenSSL             20.0.1
pyparsing             2.4.7
PyQt3D                5.15.2
PyQt4-sip             4.19.24
PyQt5                 5.15.2
PyQt5-sip             12.8.1
PyQtChart             5.15.2
PyQtDataVisualization 5.15.2
PyQtPurchasing        5.15.2
PyQtWebEngine         5.15.2
So, is the problem that I have PyQt5 on my system and the HP software wants PyQt4? If so, can I have both on the same system? What is the procedure to diagnose this?
$ sudo find /usr -name "PyQt*"
/usr/share/qt/qsci/api/python/PyQtDataVisualization.api
/usr/share/qt/qsci/api/python/PyQtPurchasing.api
/usr/share/qt/qsci/api/python/PyQtWebEngine.api
/usr/share/qt/qsci/api/python/PyQt3D.api
/usr/share/qt/qsci/api/python/PyQt5.api
/usr/share/qt/qsci/api/python/PyQtChart.api
/usr/lib/qt/plugins/PyQt5
/usr/lib/python3.9/site-packages/PyQtChart-5.15.3.dist-info
/usr/lib/python3.9/site-packages/PyQt5_sip-12.8.1-py3.9.egg-info
/usr/lib/python3.9/site-packages/PyQtPurchasing-5.15.3.dist-info
/usr/lib/python3.9/site-packages/PyQt4
/usr/lib/python3.9/site-packages/PyQt5
/usr/lib/python3.9/site-packages/PyQt3D-5.15.3.dist-info
/usr/lib/python3.9/site-packages/PyQtDataVisualization-5.15.3.dist-info
/usr/lib/python3.9/site-packages/PyQt4_sip-4.19.24.dist-info
/usr/lib/python3.9/site-packages/PyQt5-5.15.3.dist-info
/usr/lib/python3.9/site-packages/PyQtWebEngine-5.15.3.dist-info
/usr/lib/python2.7/site-packages/PyQt4
/usr/lib/python2.7/site-packages/PyQt4_sip-4.19.24.dist-info
The output from HPLIP_DEBUG=1 hp-setup:
HP Linux Imaging and Printing System (ver. 3.21.2)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-setup: debug: param=
hp-setup: debug: selected_device_name=None
hp-setup: debug: Using PyQt5
hp-setup: debug: Sys.argv=['/usr/bin/hp-setup'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup: debug: Starting GUI Event Loop...
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 http://hplipopensource.com/node/374 
Tyler Durden (6193 rep)
Feb 10, 2021, 03:04 PM • Last activity: Mar 7, 2021, 06:02 AM
10 votes
4 answers
27170 views
"Filter failed" from hplip
Problem Description - Unable to print Device name : HP LaserJet M1005 MFP USB printer OS : Linux 3.8.13-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux Error Description : 1. Cups is working well and fine. 2. I am able to access localhost:631 3. Hplip is installed 4. Tried to print a PDF file. 5. After is...
Problem Description - Unable to print Device name : HP LaserJet M1005 MFP USB printer OS : Linux 3.8.13-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux Error Description : 1. Cups is working well and fine. 2. I am able to access localhost:631 3. Hplip is installed 4. Tried to print a PDF file. 5. After issuing print command, the print queue shows the error "Processing - Not connected?" 6. Further exploration for the print job error led me to an error "Filter failed" What I have tried so far : - Removed and added the printer through the cups web interface - Tried installing the printer using hp-setup under root. I am not sure what to do at this point. Could someone please tell me what to do or atleast where to look next to have a chance at solving my problem...
Jay (709 rep)
May 26, 2013, 08:38 AM • Last activity: Oct 26, 2020, 10:33 AM
2 votes
2 answers
12241 views
How to install python3-pyqt4 on Linux Mint 20? HPLIP dependency
In order to install HPLIP 3.20.6 I need to install the dependency python3-pyqt4. > error: A required dependency 'python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing. > error: Installation cannot continue without this dependency. > error: Please manually install thi...
In order to install HPLIP 3.20.6 I need to install the dependency python3-pyqt4. > error: A required dependency 'python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing. > error: Installation cannot continue without this dependency. > error: Please manually install this dependency and re-run this installer. When trying to install through apt I get the error that it cannot be found. > E: Unable to locate package python3-pyqt4 How can I install this dependency? I need to install HPLIP 3.20.5 or greater in order to be able to use a new printer so any help in resolving this is much appreciated. Thank you. Edit: To further clarify. The printer I am trying to connect to is HP Envy 6020. On the HPLIP list of supported devices the Envy 6000 series is supported but it requires a minimum of 3.20.5 HPLIP to run. Ergo, I need to install that version and it is requiring python3-pyqt4 in order to install.
joe92 (163 rep)
Jul 29, 2020, 05:07 PM • Last activity: Aug 4, 2020, 11:39 AM
0 votes
1 answers
1140 views
Setting up a usb HP printer on Linux Mint 19.3
I am dual booting my Windows 10 laptop and I chose the Linux Mint 19.3 distro to run alongside windows with the dual boot option. When I boot into Linux I'm not having any success connecting to my USB printer which is a LaserJet M1212nf MFP and that printer is supported by HP. I've got hplip 3.17.10...
I am dual booting my Windows 10 laptop and I chose the Linux Mint 19.3 distro to run alongside windows with the dual boot option. When I boot into Linux I'm not having any success connecting to my USB printer which is a LaserJet M1212nf MFP and that printer is supported by HP. I've got hplip 3.17.10 and hplip-gui 3.17.10 installed and I also ran hp-plugin to install the plugin. When I run hp-setup from the command line I select USB on page one and then when I click on Next I get a "No devices found" message. Just for good measure I plugged in my usb printer before running hp-setup. Update: I've tried running hplip.3.20.5.run and I'm getting this message: Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed. Package-Name Component Required/Optional xsane scan OPTIONAL python3-notify2 gui_qt5 OPTIONAL python3-pyqt4-dbus gui_qt4 OPTIONAL python3-pyqt4 gui_qt4 REQUIRED python3-pyqt5-dbus gui_qt5 OPTIONAL python3-pyqt5 gui_qt5 REQUIRED python3-dbus fax REQUIRED python3-reportlab fax OPTIONAL Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y INSTALL MISSING REQUIRED DEPENDENCIES ------------------------------------- note: Installation of dependencies requires an active internet connection. warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x)) warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version. error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer. I checked to see if I have python3-pyqt4 installed and it looks like I do: (base) david@david-Inspiron-3520:~/Downloads$ dpkg -l | grep python3-pyqt4 ii python3-pyqt4 4.12.1+dfsg-2 amd64 Python3 bindings for Qt4 Please let me know your thoughts! Thanks, David
David Watson (1 rep)
May 26, 2020, 02:07 AM • Last activity: Jun 13, 2020, 06:13 AM
1 votes
1 answers
1141 views
Print multiple documents and finish all of them with stapler using lp in linux?
I'm using this command to print multiple files with lp in linux but each document is being finished with stapler: lp -d printername -o "HPPaperSource=Tray3" -o "HPStaplerOptions=1StapleRightAngled" /file/1.pdf /file/2.pdf Printer driver is HPLIP. What i want to achieve is to finish both documents wi...
I'm using this command to print multiple files with lp in linux but each document is being finished with stapler: lp -d printername -o "HPPaperSource=Tray3" -o "HPStaplerOptions=1StapleRightAngled" /file/1.pdf /file/2.pdf Printer driver is HPLIP. What i want to achieve is to finish both documents with one staple and not each document with one staple.
je134 (11 rep)
Apr 30, 2018, 11:21 AM • Last activity: Mar 9, 2020, 03:10 PM
2 votes
0 answers
43 views
How can I make the printer not turn the sheet if I print a single page?
* OS: Arch Linux * `uname -r`: 5.5.4-arch1-1 * `pacman -Q hplip`: hplip 1:3.19.12-1 I usually leave the setting for printing double-sided on "Long Edge" or whatever exactly it is called in English. Printing a document which has only 1 page makes the printer print the document in double-sided mode, w...
* OS: Arch Linux * uname -r: 5.5.4-arch1-1 * pacman -Q hplip: hplip 1:3.19.12-1 I usually leave the setting for printing double-sided on "Long Edge" or whatever exactly it is called in English. Printing a document which has only 1 page makes the printer print the document in double-sided mode, which is expected behavior. So the printer then prints one page of the document, turns the sheet, does not print anything on the empty page and then ejects it. Is it possible to have the printer/driver automatically recognize that the document is only 1 page long and can get printed in single-sided mode, i.e. without the sheet turn?
henry (964 rep)
Feb 23, 2020, 10:02 PM • Last activity: Feb 24, 2020, 11:24 PM
1 votes
0 answers
913 views
HPlip cannot find printer/scanner (HP Envy 5010)
Santa brought me a new printer - an HP Envy 5010 but I can't get it working. The paper documentation supplied with the printer was useless (omitted to mention that you need to / how to open the case and install ink cartridges) and the only setup information was to "download the app for iphone or and...
Santa brought me a new printer - an HP Envy 5010 but I can't get it working. The paper documentation supplied with the printer was useless (omitted to mention that you need to / how to open the case and install ink cartridges) and the only setup information was to "download the app for iphone or android". Running this app on my tablet, it discovered the device without any problem. hp-setup cannot find the printer - I've tried the 3 auto-discovery methods in hplip (SLP, bonjour/mdns, avahi) even if I tell it the printer's IP address (as reported in lcd screen on the printer). I have tried each of 1-4 as options for "jetdirect port". There is no firewall between my Linux host and the printer. From the command line, I can connect to ports 631 and 9100 using telnet, and to the http and https admin consoles. But I can't connect to 161 and 162 which are described in the troubleshooting at https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootNetwork Cups has discovered the printer (twice!): Discovered Network Printers: HP ENVY 5000 series [0531AC] (HP HP ENVY 5000 series) ENVY 5000 All-in-One Printer series (HP ENVY 5000 series) Meanwhile, HP says they don't provide *any* drivers for it at https://support.hp.com/us-en/drivers/selfservice/model/14095645 (but that is auto-detecting my Linux OS, shame HPLIP wasn't so good) Unfortunately none of the drivers listed for other OS seem to have a seperate PPD file and my CUPS installation doesn't have one for an Envy 5010. The one for a HP Envy 5530 seems to be working with the test page). Has anyone successfully configured an HP Envy 5010 to scan? How? Should I expect to have to reconfigure CUPS if the IP address changes?
symcbean (6301 rep)
Dec 26, 2019, 05:29 PM • Last activity: Jan 3, 2020, 07:41 AM
1 votes
1 answers
659 views
HP LaserJet Pro MFP m26nw won't print as a network printer on Linux Mint 19
I can get it working over USB, but we really want this on the network. The printer is an HP LaserJet Pro MFP m26nw, the OS is Mint 19.1 64 bit Mate. After installing, the test page job changes to a "stopped" status and an error pops up that says, "there was a problem processing document 'test page'"...
I can get it working over USB, but we really want this on the network. The printer is an HP LaserJet Pro MFP m26nw, the OS is Mint 19.1 64 bit Mate. After installing, the test page job changes to a "stopped" status and an error pops up that says, "there was a problem processing document 'test page'". Here's the log output: Feb 12 14:27:01 desktop systemd: Started CUPS Scheduler. Feb 12 15:15:36 desktop /hpfax: : error: Failed to create /var/spool/cups/tmp/.hplip Feb 12 15:16:48 desktop hpcups: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1 Feb 12 15:16:48 desktop hpcups: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory Feb 12 15:16:48 desktop hpcups: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state] Feb 12 15:16:48 desktop hpcups: common/utils.c 157: Plugin version is not matching Feb 12 15:16:48 desktop hpcups: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48 Feb 12 15:17:53 desktop hpcups: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1 Feb 12 15:17:53 desktop hpcups: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory Feb 12 15:17:53 desktop hpcups: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state] Feb 12 15:17:53 desktop hpcups: common/utils.c 157: Plugin version is not matching Feb 12 15:17:53 desktop hpcups: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48 Feb 12 15:18:47 desktop systemd: cups.service: Main process exited, code=exited, status=1/FAILURE Feb 12 15:18:47 desktop systemd: cups.service: Failed with result 'exit-code'. Feb 12 15:18:47 desktop systemd: cups.service: Service hold-off time over, scheduling restart. Feb 12 15:18:47 desktop systemd: cups.service: Scheduled restart job, restart counter is at 1. Feb 12 15:19:04 desktop systemd: Stopped CUPS Scheduler. Feb 12 15:19:04 desktop systemd: Started CUPS Scheduler. Feb 12 15:27:16 desktop /hpfax: : error: Failed to create /var/spool/cups/tmp/.hplip Feb 12 15:33:35 desktop hpcups: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1 Feb 12 15:33:35 desktop hpcups: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory Feb 12 15:33:35 desktop hpcups: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state] Feb 12 15:33:35 desktop hpcups: common/utils.c 157: Plugin version is not matching Feb 12 15:33:35 desktop hpcups: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48 Feb 12 15:33:35 desktop hp: prnt/backend/hp.c 919: ERROR: null print job total=0 Feb 12 15:33:56 desktop hpcups: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1 Feb 12 15:33:56 desktop hpcups: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory Feb 12 15:33:56 desktop hpcups: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state] Feb 12 15:33:56 desktop hpcups: common/utils.c 157: Plugin version is not matching Feb 12 15:33:56 desktop hpcups: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48 Feb 12 15:33:56 desktop hp: prnt/backend/hp.c 919: ERROR: null print job total=0 It looks like there's some issues there, but I'm not sure how to fix them. I've tried with Jetdirect and IPP and the hp protocol. I'm using an exact match driver from Hplip / foomatic when prompted for one (although one of the methods didn't ask for a driver). All produce the same results. What can I try?
Nick (1181 rep)
Feb 12, 2019, 08:52 PM • Last activity: Jul 17, 2019, 06:58 AM
3 votes
0 answers
2118 views
HPLIP: Some packages not installing
I installed HPLIP on my raspberry pi to use CUPS as per [here](https://unix.stackexchange.com/questions/511669/cups-selecting-a-driver-for-a-hp-printer/511673#511673) but some packages are simply not installing. I have tried:```sudo apt-get -f install hplip```, ```sudo apt-get install qt4-default qt...
I installed HPLIP on my raspberry pi to use CUPS as per [here](https://unix.stackexchange.com/questions/511669/cups-selecting-a-driver-for-a-hp-printer/511673#511673) but some packages are simply not installing. I have tried:
apt-get -f install hplip
,
apt-get install qt4-default qt4-designer qt4-doc qt4-dev-tools python-qt4
and the same for PYQT5,
apt-get install qt5-default
and countless other things. Does anyone know what to do. My latest string (after doing all of the above and more for nearly 2 hours) is this: **couldn't get the code snippet mode to work - don't know why.** MISSING DEPENDENCIES -------------------- Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed. Package-Name Component Required/Optional pyqt5-dbus gui_qt5 OPTIONAL pyqt5 gui_qt5 REQUIRED Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y INSTALL MISSING REQUIRED DEPENDENCIES ------------------------------------- note: Installation of dependencies requires an active internet connection. warning: Missing REQUIRED dependency: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x)) INSTALL MISSING OPTIONAL DEPENDENCIES ------------------------------------- note: Installation of dependencies requires an active internet connection. warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5) CHECKING FOR NETWORK CONNECTION ------------------------------- Network connection present. RUNNING PRE-PACKAGE COMMANDS ---------------------------- su -c "dpkg --configure -a" (Pre-depend step 1) su -c "apt-get install -f" (Pre-depend step 2) su -c "apt-get update" (Pre-depend step 3) OK DEPENDENCY AND CONFLICT RESOLUTION ---------------------------------- Running 'su -c "apt-get install --force-yes -y gtk2-engines-pixbuf"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y python-pyqt5"' Please wait, this may take several minutes... Running 'su -c "apt-get install --force-yes -y python-dbus.mainloop.pyqt5"' Please wait, this may take several minutes... error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing. error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing. RUNNING POST-PACKAGE COMMANDS ----------------------------- OK RE-CHECKING DEPENDENCIES ------------------------ error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing. error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing. error: Installation cannot continue without these dependencies. error: Please manually install this dependency and re-run this installer.```
Jeremy (63 rep)
Apr 10, 2019, 06:55 PM
Showing page 1 of 20 total questions