- Arch Linux
- #1 2021-03-16 22:53:47
- [SOLVED] printer driver/ hplip problem
- Thread: HPLIP Error 5012
- HPLIP Error 5012
- Re: HPLIP Error 5012
- Re: HPLIP Error 5012
- Re: HPLIP Error 5012
- Re: HPLIP Error 5012
- Re: HPLIP Error 5012
- Linux Mint Forums
- HPLIP Fails on Mint 20 and Kubuntu 20.04
- HPLIP Fails on Mint 20 and Kubuntu 20.04
- Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
- Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
- Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
- Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
- Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
- Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
- Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Arch Linux
You are not logged in.
#1 2021-03-16 22:53:47
[SOLVED] printer driver/ hplip problem
Dear friends,
I have an HP Photosmart 5520 printer which used to work, but then it didn’t anymore and I tried to figure out why and how to make it work again.
The printer works well from 3 Android Smartphones over WIFI.
The printer works over a browser entering 192.168.1.170 and successfully sending test page.
The printer works over an old Kubuntu version on the same computer sending a test page.
So I assume the printer itsself is intact and the cable is intact too.
The printer is directly connected with a USB cable to the computers USB port, no hub. But tested over a different USB port and over a hub, the problem stays the same.
I reinstalled the cups and hplip packets without success.
I can add the printer over the cups web interface without errors, but it’ll stuck, not sending the test page.
I can add the printer over KDE system settings, but it’ll not print, stuck at sending.
If I add the printer over the hplip interface including the hook «send test page to printer», it’ll give this error
If I add the printer over the hplip interface without the hook «send test page to printer», it’ll jump back to page 1 «no installed HP devices found».
If I use hp-setup over console, it’ll give no error, but just say done, but no printer was added.
lsusb gives this output:
lpinfo gives this output
hp-check gives this output:
I tried a lot of things to make this work and I’m out of ideas now, if you can see the problem or can help tp find out, please reply.
Last edited by alocacoc (2021-03-28 12:17:58)
Источник
Thread: HPLIP Error 5012
Thread Tools
Display
HPLIP Error 5012
I used the HPLIP HP Linux Imaging and Printing ( http://hplipopensource.com/hplip-web/index.html ) to detect and set up my HP 4100MFP (Multifunction Printer).
The printer was automatically detected in moments and set up took a few seconds. I attempted to print a test page and received a «communication error 5012).
Previous attempts to print using the Ubuntu printer set up would also set up the printer with the same results of not being able to print. Error box kept appearing suggesting the printer was not turned on (form of communication error, I suppose).
Printer does print test page OK.
I did Google search and have found some references to other printers with mention of permissions or setting something up in root. Not sure that anything like this applies.
OS: Ubuntu 8.10
Processor: AMD 64 Athlon 3200
Memory: 3 GB
Printer Networking: Ethernet
Printer address: Mfg default 192.0.0.192 (detected by HPLIP)
PPD/Driver: HP Laserjet 4100 MFP v.3010.107 Postscript (Recommended)
Printer self test = OK
Cat5 cable test = OK
HPLIP detects printer = OK
Print job successful = NO
Thanks in advance!
Last edited by rhardie; November 18th, 2008 at 03:37 PM .
Re: HPLIP Error 5012
Have you rebooted both the printer and the PC? Shut both down and star printer first. I had a similar problem until rebooting both devices. Hope it’s that simple for you to.
Re: HPLIP Error 5012
Is it connected by a LAN cable? If yes then try setting up a static IP address. Should work wonders!
Re: HPLIP Error 5012
You tried accessing and configuring the printer using localhost:631 in a browser? I use that to manage a networked HP printer, without using HPLIP, and it works great.
Re: HPLIP Error 5012
Yes, this is on an Ethernet connection.
Yes, I did the Local Host.
Yes, the printer’s IP address is static.
I’ll attempt to shut down both pretty soon and see if that has an effect.
Re: HPLIP Error 5012
Did the sequence recommended with same communication error 5012.
Powered down workstation
Powered down HP 4100
Restarted HP 4100
Hp 4100 completes self test and in online status (Green)
Power up workstation
Open HPLIP
Receive Communication error 5012
HP Linux Imaging and Printing System (ver. 2.8.7)
Dependency/Version Check Utility ver. 14.0
Copyright (c) 2001-8 Hewlett-Packard 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.
Note: hp-check can be run in three modes:
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 proper dependencies are installed
to successfully compile HPLIP.
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 supplied tarball has the proper
dependencies installed to successfully run.
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 dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait.
warning: Invalid ppd_dir value: None
Basic system information:
Linux rocky-desktop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux
Distribution:
ubuntu 8.10
HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, please remove HPOJ.
Checking Python version.
OK, version 2.5.2 installed
Checking PyQt version.
OK, version 3.17 installed.
Checking SIP version.
error: SIP not installed or version not found.
Checking for CUPS.
Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)
Checking for dbus/python-dbus.
dbus daemon is running.
python-dbus version: 0.82.4
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
Checking for dependency: cups — Common Unix Printing System.
OK, found.
Checking for dependency: cups-ddk — CUPS driver development kit.
OK, found.
Checking for dependency: cups-devel- Common Unix Printing System development files.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: dbus — Message bus system.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: gcc — GNU Project C and C++ Compiler.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: GhostScript — PostScript and PDF language interpreter and previewer.
OK, found.
Checking for dependency: libcrypto — OpenSSL cryptographic library.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libjpeg — JPEG library.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libnetsnmp-devel — SNMP networking library development files.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libpthread — POSIX threads library.
OK, found.
Checking for dependency: libtool — Library building support services.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libusb — USB library.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: make — GNU make utility to maintain groups of programs.
OK, found.
Checking for dependency: PIL — Python Imaging Library (required for commandline scanning with hp-scan).
OK, found.
Checking for dependency: ppdev — Parallel port support kernel module.
OK, found.
Checking for dependency: PyQt — Qt interface for Python.
OK, found.
Checking for dependency: python-ctypes — A foreign function library for Python.
OK, found.
Checking for dependency: python-dbus — Python bindings for dbus.
OK, found.
Checking for dependency: python-devel — Python development files.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: Python 2.3 or greater — Required for fax functionality.
OK, found.
Checking for dependency: Python 2.2 or greater — Python programming language.
OK, found.
Checking for dependency: Reportlab — PDF library for Python.
OK, found.
Checking for dependency: SANE — Scanning library.
OK, found.
Checking for dependency: SANE — Scanning library development files.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: scanimage — Shell scanning program.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: xsane — Graphical scanner frontend for SANE.
OK, found.
Currently installed HPLIP version.
HPLIP 2.8.7 currently installed in ‘/usr/share/hplip’.
Current contents of ‘/etc/hp/hplip.conf’ file:
# hplip.conf. Generated from hplip.conf.in by configure.
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.7.3
restricted-build=no
No devices found.
No devices found.
HP_LaserJet_4100_MFP
———————
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/HP_LaserJet_4100_MFP?ip=192.0.0.192
PPD: /etc/cups/ppd/HP_LaserJet_4100_MFP.ppd
PPD Description: HP LaserJet 4100 MFP v.3010.107 Postscript (recommended)
Printer status: printer HP_LaserJet_4100_MFP is idle. enabled since Fri 21 Nov 2008 06:05:17 AM CST
error: Unable to communicate with device (code=12): hp:/net/HP_LaserJet_4100_MFP?ip=192.0.0.192
‘hpaio’ in ‘/etc/sane.d/dll.conf’.
error: Not found. SANE backend ‘hpaio’ NOT properly setup (needs to be added to /etc/sane.d/dll.conf).
Checking output of ‘scanimage -L’.
error: scanimage not found.
Checking ‘cupsext’ CUPS extension.
OK, found.
Checking ‘pcardext’ Photocard extension.
OK, found.
Checking ‘hpmudext’ I/O extension.
OK, found.
Checking ‘scanext’ SANE scanning extension.
OK, found.
Checking for permissions of USB attached printers.
error: 16 errors and/or warnings.
Last edited by rhardie; November 21st, 2008 at 01:24 PM .
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
HPLIP Fails on Mint 20 and Kubuntu 20.04
HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by gh4snow » Wed Jul 29, 2020 9:24 am
HPLIP works ok on Mint 19.3 and Kubuntu 19.10
HPLIP fails with the same hardware on Mint 20 and Kubuntu 20.04
It gives a Device Communication Error 5012.
I have posted an Bug Report on the HPLIP website.
They are working on a fix, but if you have an All-in-One printer,
you may need HPLIP-GUI, which means stick with Mint 19.3 or Kubuntu 19.10.
If you have a print only printer (no scanner), you can probably use it without HPLIP,
but you will be missing some features that HPLIP provides.
New Printers from HP and Epson do NOT provide drivers for Linux, only Windows.
So it would seem that one must eventually create a Win10 Print Server that would
allow Linux PC’s to print to the Win10 Print Server. Perhaps Samba can do this ?
If you know how to set up a Win10 Print Server to print the files from a Linux PC,
then please email the info to me at gh4wi@gmx.us Thanks.
Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by gh4snow » Sat Aug 01, 2020 12:32 pm
Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by hydrurga » Sat Aug 01, 2020 12:39 pm
Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by Middlegear » Tue Aug 04, 2020 4:07 am
Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by brian_p » Tue Aug 04, 2020 3:14 pm
HPLIP works ok on Mint 19.3 and Kubuntu 19.10
HPLIP fails with the same hardware on Mint 20 and Kubuntu 20.04
It gives a Device Communication Error 5012.
Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by gh4snow » Sun Aug 09, 2020 9:37 am
Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by brian_p » Sun Aug 09, 2020 12:10 pm
HPLIP is not the only game in town and I haven’t any desire to play with it.
Please give the outputs from
Re: HPLIP Fails on Mint 20 and Kubuntu 20.04
Post by gh4snow » Tue Aug 11, 2020 10:42 am
Mint 20 /w HP 8620 and NO HPLIP-GUI.
$ systemctl list-units «ippusbxd*» | grep service
ippusbxd@001:004.service loaded active running Daemon to make IPP-over-USB printers available as network printers (001:004)
Источник