I have an HP 3700 model printer scanner that I very seldom use to scan legal size documents. I had forgotten all about it when we were testing Pep 11 Alfas and Betas. Yesterday, I tried to use it in an older computer that has pep OS exclusively installed in it's hard drive. After installing the printer using HPLIP, I get a communications error code 5012. I searched for a solution but none of the suggested fixes worked. I ran 'hp-check -i' and got a bunch of errors, Almost all of them concerned packages that were not installed or were of an earlier version no longer supplied. To make a long story short, I was using this printer prior to yesterday in Pep 10. To verify, I rebooted this machine and logged into Pep 10 and installed the printer as per normal procedure with HPLIP. And of course, the printer works fine, scanning job completed. So what's up Debian?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Partway down the page there are instructions for this
with $USER being the user name for the account to add sudo usermod -a -G lp $USER sudo usermod -a -G lpadmin $USER
This may take care of it for you.
Otherwise it could be a configuration issue when setting up the printer/scanner that it is expecting to find your printer at an IP address instead of at the end of a USB cable, identifying with a serial # .
Either way, the link I gave has some other things to check for.
I regularly use system-config-printer with the cups backend to add a system printer and have good success this way.
I don't scan documents often.
If scanning doesn't come up when the printer is added this way I'll look into that for you too.
Thanks
KsWoodsMan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In one of the first lines of the output from hp-check -i , to the far right it says
INCOMPAT 'CUPS may not be installed or not running'
Using system-config-printer to install the printer should take care of starting cups, plus finding the printer and setting it up to use on your system.
For a printer connected directly to the printer or for a networked printer , it has never failed me.
At least it always finds my networked printer when it is in the same network subnet.
Using Print Settings from the menu to add a printer may give better results.
No, not entirely.
We haven't dumped systemd but we are near the point we can offer an alternative.
We have an amd64 version based on Debian stable that uses systemd.
We have the Intel x86_32 version also based on Debian stable that uses systemd.
In the final phases of testing, We have a Devuan version for Intel x86_32 CPUs that uses sysinit instead of systemd.
Following the Devuan_32 version , the 64 bit intel x86 architecture will also be non-systemd.
We will soon have both publicly available.
Thanks
KsWoodsMan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been trying to install the latest version of hplip as a .run file. The installation process does not recognize my password when it asks for root/superuser password. I found a script that I think installs the file using python. Does this look right? https://fossies.org/linux/hplip/installer/text_install.py
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i jump in.
i got that password question to thinking it is my system password but is is not.
i have tried different installations and i can start the printer options in de hp device manager window but when i try to do a test print nothing works.
now i am stuck in this and don't know how to get the HP P1102 to work.
So, all the reading I've done suggests that hplip will not enable all printers in debian, but with the printer installed using the hplip backend, the printer will function. The drawback is that no printer information, ie ink levels, are available in hplip. I clicked on a button on the printer that looks like it might be an antenna, and enabled wifi. I don't have wifi in this computer but with the usb cable I think that was a bridge. The printer was printing before but was not scanning. After enabling wifi, in Document Scanner I got an option for this printer as eSCL HPxxxxxx. That wasn't there before and I'm not sure if enabling wifi was the only reason it showed up but it scans. So now I have to see if I can enable this printer in the computer that it will be hooked up to.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i tried this hp-check -i
(ps: this is done without the printer because that staid at a friends house where this laptop will go to)
and got this
---------------|SYSTEMINFO|---------------Kernel:5.10.0-21-amd64#1SMPDebian5.10.162-1(2023-01-21)GNU/LinuxHost:fleurigkleurigProc:5.10.0-21-amd64#1SMPDebian5.10.162-1(2023-01-21)GNU/LinuxDistribution:linuxmint11.6Bitness:64bit-----------------------|HPLIPCONFIGURATION|-----------------------HPLIP-Version:HPLIP3.21.4HPLIP-Home:/usr/share/hplipwarning:HPLIP-Installation:Autoinstallationisnotsupportedforlinuxmintdistro11.6versionCurrentcontentsof'/etc/hp/hplip.conf'file:#hplip.conf.Generatedfromhplip.conf.inbyconfigure.[hplip]version=3.21.4[dirs]home=/usr/share/hpliprun=/var/runppd=/usr/share/ppd/hplip/HPppdbase=/usr/share/ppd/hplipdoc=/usr/share/doc/hpliphtml=/usr/share/doc/hplip-docicon=nocupsbackend=/usr/lib/cups/backendcupsfilter=/usr/lib/cups/filterdrv=/usr/share/cups/drvbin=/usr/binapparmor=/etc/apparmor.d#Followingvaluesaredeterminedatconfiguretimeandcannotbechanged.[configure]network-build=yeslibusb01-build=nopp-build=nogui-build=yesscanner-build=yesfax-build=yesdbus-build=yescups11-build=nodoc-build=yesshadow-build=nohpijs-install=yesfoomatic-drv-install=yesfoomatic-ppd-install=nofoomatic-rip-hplip-install=nohpcups-install=yescups-drv-install=yescups-ppd-install=nointernal-tag=3.21.4restricted-build=noui-toolkit=qt5qt3=noqt4=noqt5=yespolicy-kit=yeslite-build=noudev_sysfs_rules=nohpcups-only-build=nohpijs-only-build=noapparmor_build=noclass-driver=noCurrentcontentsof'/var/lib/hp/hplip.state'file:Pluginsarenotinstalled.Couldnotaccessfile:NosuchfileordirectoryCurrentcontentsof'~/.hplip/hplip.conf'file:warning:Couldnotaccessfile:Nosuchfileordirectory<Package-name><Package-Desc><Required/Optional><Min-Version><Installed-Version><Status><Comment>-------------------------|ExternalDependencies|-------------------------error:cupsCUPS-CommonUnixPrintingSystemREQUIRED1.1-INCOMPAT'CUPS may not be installed or not running'gsGhostScript-PostScriptandPDFlanguageinterpreterandpreviewerREQUIRED7.059.53.3OK-xsanexsane-GraphicalscannerfrontendforSANEOPTIONAL0.90.999OK-scanimagescanimage-ShellscanningprogramOPTIONAL1.01.0.31OK-dbusDBus-MessagebussystemREQUIRED-1.12.24OK-policykitPolicyKit-AdministrativepolicyframeworkOPTIONAL-0.105OK-networknetwork-wgetOPTIONAL-1.21OK-avahi-utilsavahi-utilsOPTIONAL-0.8OK-------------------------|GeneralDependencies|------------------------libjpeglibjpeg-JPEGlibraryREQUIRED--OK-cups-develCUPSdevel-CommonUnixPrintingSystemdevelopmentfilesREQUIRED--OK-cups-imageCUPSimage-CUPSimagedevelopmentfilesREQUIRED--OK-libpthreadlibpthread-POSIXthreadslibraryREQUIRED-b'2.31'OK-libusblibusb-USBlibraryREQUIRED-1.0OK-saneSANE-ScanninglibraryREQUIRED--OK-sane-develSANE-ScanninglibrarydevelopmentfilesREQUIRED--OK-libavahi-devlibavahi-devREQUIRED--OK-libnetsnmp-devellibnetsnmp-devel-SNMPnetworkinglibrarydevelopmentfilesREQUIRED5.0.95.9OK-libcryptolibcrypto-OpenSSLcryptographiclibraryREQUIRED-1.1.1OK-python3XPython2.2orgreater-PythonprogramminglanguageREQUIRED2.23.9.2OK-python3-notify2Pythonlibnotify-PythonbindingsforthelibnotifyDesktopnotificationsOPTIONAL--OK-error:python3-pyqt4-dbusPyQt4DBus-DBusSupportforPyQt4OPTIONAL4.0-MISSING'python3-pyqt4-dbus needs to be installed'error:python3-pyqt4PyQt4-QtinterfaceforPython(forQtversion4.x)REQUIRED4.0-MISSING'python3-pyqt4 needs to be installed'python3-dbusPythonDBus-PythonbindingsforDBusREQUIRED0.80.01.2.16OK-python3-xmlPythonXMLlibrariesREQUIRED-2.2.10OK-python3-develPythondevel-PythondevelopmentfilesREQUIRED2.23.9.2OK-python3-pilPIL-PythonImagingLibrary(requiredforcommandlinescanningwithhp-scan)OPTIONAL-9.3.0OK-python3-reportlabReportlab-PDFlibraryforPythonOPTIONAL2.03.5.59OK---------------|COMPILEDEP|--------------libtoollibtool-LibrarybuildingsupportservicesREQUIRED-2.4.6OK-gccgcc-GNUProjectCandC++CompilerREQUIRED-10.2.1OK-makemake-GNUmakeutilitytomaintaingroupsofprogramsREQUIRED3.04.3OK----------------------|PythonExtentions|---------------------cupsextCUPS-ExtensionREQUIRED-3.21.4OK-hpmudextIO-ExtensionREQUIRED-3.21.4OK-----------------------|ScanConfiguration|----------------------'/etc/sane.d/dll.d/hpaio'notfound.hpaioHPLIP-SANE-BackendREQUIRED-3.21.4OK'hpaio found in /etc/sane.d/dll.conf'scanextScan-SANE-ExtensionREQUIRED-3.21.4OK-------------------------------|DISCOVEREDSCANNERDEVICES|------------------------------NoScannerfound.--------------------------|DISCOVEREDUSBDEVICES|--------------------------Nodevicesfound.---------------------------------|INSTALLEDCUPSPRINTERQUEUES|---------------------------------HP-LaserJet-Professional-P1102------------------------------Type:PrinterDeviceURI:hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81BMQBSI1cPPD:/etc/cups/ppd/HP-LaserJet-Professional-P1102.ppdPPDDescription:HPLaserJetProfessionalp1102,hpcups3.21.4,requiresproprietarypluginPrinterstatus:printerHP-LaserJet-Professional-P1102isidle.enabledsincedi25apr202314:17:58CESTerror:Requiredplug-instatus:Notinstallederror:Unabletocommunicatewithdevice(code=12):hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q81BMQBSI1cerror:Devicenotfounderror:Communicationstatus:Failed--------------|PERMISSION|-------------------------|SUMMARY|-----------MissingRequiredDependencies-----------------------------error:'libcups2'packageismissing/incompatibleMissingOptionalDependencies-----------------------------NonePlug-inStatus--------------error:Plug-insneedtobeinstalledTotalErrors:5TotalWarnings:1
so i see that the plugin ???? is missing
libcups2 needs to be installed (but synaptic shows it installed including dev version)
python3-pyqt4 PyQt 4- Qt interface for Python is missing
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
(but this one is installed: 2.3.3op2-3+deb11u2)
and maybe there is more wrong?
Last edit: To Me 2023-04-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an HP 3700 model printer scanner that I very seldom use to scan legal size documents. I had forgotten all about it when we were testing Pep 11 Alfas and Betas. Yesterday, I tried to use it in an older computer that has pep OS exclusively installed in it's hard drive. After installing the printer using HPLIP, I get a communications error code 5012. I searched for a solution but none of the suggested fixes worked. I ran 'hp-check -i' and got a bunch of errors, Almost all of them concerned packages that were not installed or were of an earlier version no longer supplied. To make a long story short, I was using this printer prior to yesterday in Pep 10. To verify, I rebooted this machine and logged into Pep 10 and installed the printer as per normal procedure with HPLIP. And of course, the printer works fine, scanning job completed. So what's up Debian?
Are you connecting to your printer wirelessly or by USB for print and scan services ?
Hi KsWoodsMan, this is a usb connected printer.
I did a few searches and it might be because the initial user wasn't add to the "lp" group.
https://askubuntu.com/questions/1012562/device-communication-error-5012-hp-printer
Partway down the page there are instructions for this
with $USER being the user name for the account to add
sudo usermod -a -G lp $USER
sudo usermod -a -G lpadmin $USER
This may take care of it for you.
Otherwise it could be a configuration issue when setting up the printer/scanner that it is expecting to find your printer at an IP address instead of at the end of a USB cable, identifying with a serial # .
Either way, the link I gave has some other things to check for.
I regularly use
system-config-printer
with the cups backend to add a system printer and have good success this way.I don't scan documents often.
If scanning doesn't come up when the printer is added this way I'll look into that for you too.
Thanks
KsWoodsMan
Those two codes didn't do anything noticeable.
Here is the output from "hp-check -i"
libnetsnmp-devel is not available in synaptics and libcups2 is installed, version 2.3.3op2-3+deb11.
Even if I do manage to find all that is needed, why? Why is debian so difficult whereas Pep 10 was simple?
I think I found out what happened to Debian that screwed everything up.
Not sure what to do with this though.
In one of the first lines of the output from
hp-check -i
, to the far right it saysUsing
system-config-printer
to install the printer should take care of starting cups, plus finding the printer and setting it up to use on your system.For a printer connected directly to the printer or for a networked printer , it has never failed me.
At least it always finds my networked printer when it is in the same network subnet.
Using Print Settings from the menu to add a printer may give better results.
Thanks
KsWoodsMan
Last edit: KsWoodsMan 2022-06-13
Didn't we dump systemd?
No, not entirely.
We haven't dumped systemd but we are near the point we can offer an alternative.
We have an amd64 version based on Debian stable that uses systemd.
We have the Intel x86_32 version also based on Debian stable that uses systemd.
In the final phases of testing, We have a Devuan version for Intel x86_32 CPUs that uses sysinit instead of systemd.
Following the Devuan_32 version , the 64 bit intel x86 architecture will also be non-systemd.
We will soon have both publicly available.
Thanks
KsWoodsMan
I've been trying to install the latest version of hplip as a .run file. The installation process does not recognize my password when it asks for root/superuser password. I found a script that I think installs the file using python. Does this look right?
https://fossies.org/linux/hplip/installer/text_install.py
i jump in.
i got that password question to thinking it is my system password but is is not.
i have tried different installations and i can start the printer options in de hp device manager window but when i try to do a test print nothing works.
now i am stuck in this and don't know how to get the HP P1102 to work.
Last edit: To Me 2023-04-25
So, all the reading I've done suggests that hplip will not enable all printers in debian, but with the printer installed using the hplip backend, the printer will function. The drawback is that no printer information, ie ink levels, are available in hplip. I clicked on a button on the printer that looks like it might be an antenna, and enabled wifi. I don't have wifi in this computer but with the usb cable I think that was a bridge. The printer was printing before but was not scanning. After enabling wifi, in Document Scanner I got an option for this printer as eSCL HPxxxxxx. That wasn't there before and I'm not sure if enabling wifi was the only reason it showed up but it scans. So now I have to see if I can enable this printer in the computer that it will be hooked up to.
Okay, I now know that the eSCL option is from installing sane-airscan, very important. Printer is now working on the other computer.
i tried this
hp-check -i
(ps: this is done without the printer because that staid at a friends house where this laptop will go to)
and got this
(but this one is installed: 2.3.3op2-3+deb11u2)
and maybe there is more wrong?
Last edit: To Me 2023-04-25