Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: HPLIP Error 5012

  1. #1
    Join Date
    Mar 2007
    Location
    Shenzhen, Guangdong China
    Beans
    135
    Distro
    Ubuntu 13.04 Raring Ringtail

    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.

    System:

    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)

    Summary:

    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.

  2. #2
    Join Date
    Sep 2008
    Location
    Colorado
    Beans
    Hidden!
    Distro
    Xubuntu

    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.

  3. #3
    Join Date
    Apr 2008
    Location
    Mirpur, Kashmir, Pakistan
    Beans
    110
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HPLIP Error 5012

    Is it connected by a LAN cable? If yes then try setting up a static IP address. Should work wonders!

  4. #4
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    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.

  5. #5
    Join Date
    Mar 2007
    Location
    Shenzhen, Guangdong China
    Beans
    135
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HPLIP Error 5012

    Thanks for the replies.

    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.

    Thanks, again!

  6. #6
    Join Date
    Mar 2007
    Location
    Shenzhen, Guangdong China
    Beans
    135
    Distro
    Ubuntu 13.04 Raring Ringtail

    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

    **************************

    rocky@rocky-desktop:~$ hp-check -t

    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

    ---------------
    | SYSTEM INFO |
    ---------------

    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


    ------------------------------------
    | COMPILE AND RUNTIME DEPENDENCIES |
    ------------------------------------

    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.


    ----------------------
    | HPLIP INSTALLATION |
    ----------------------


    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.

    [hplip]
    version=2.8.7

    [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



    -------------------------------
    | DISCOVERED PARALLEL DEVICES |
    -------------------------------

    No devices found.

    --------------------------
    | DISCOVERED USB DEVICES |
    --------------------------

    No devices found.

    ---------------------------------
    | INSTALLED CUPS PRINTER QUEUES |
    ---------------------------------


    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


    ----------------------
    | SANE CONFIGURATION |
    ----------------------

    '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.

    ---------------------
    | PYTHON EXTENSIONS |
    ---------------------

    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.


    -----------------
    | USB I/O SETUP |
    -----------------


    Checking for permissions of USB attached printers...

    -----------
    | SUMMARY |
    -----------

    error: 16 errors and/or warnings.

    Please refer to the installation instructions at:
    http://hplip.sourceforge.net/install/index.html


    Done.
    rocky@rocky-desktop:~$
    Last edited by rhardie; November 21st, 2008 at 01:24 PM.

  7. #7
    Join Date
    Apr 2008
    Location
    Mirpur, Kashmir, Pakistan
    Beans
    110
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HPLIP Error 5012

    Please set a static IP adress for your wired connection in the network manager.

  8. #8
    Join Date
    Mar 2007
    Location
    Shenzhen, Guangdong China
    Beans
    135
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HPLIP Error 5012

    got it fixed. Reset IP address. It appears the IP address range I assumed we had was not valid. Moved to a lower IP address and all works OK. This makes sense when the message says that the printer may not be connected.

    I guess the system can detect the printer even if it can not send a print job to that IP address.

    The IP address range did not occur to me as I "assumed" (wrongly) that just because the system detected the printer that it would also "print" to the printer.

    The HPLIP tool really is a class act in Linux tools!

    Thanks for everyone's help!

  9. #9
    Join Date
    Jan 2010
    Beans
    23
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HPLIP Error 5012

    I'm getting the same error with my HPC6180.

    I tried to open the network manager like Rayaz suggested, but it's not anywhere.I've checked every single menu and flyout and I can't find it.

    Anyhow I'm a novice with linux and would appreciate your help.

  10. #10
    Join Date
    Apr 2008
    Location
    Mirpur, Kashmir, Pakistan
    Beans
    110
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HPLIP Error 5012

    Hi

    Right click on the network manager icon in the system tray. From there select "Edit Connections".

    Hope this helps.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •