Installing networked HP wireless M1213MFP printer via samba from kubuntu

Asked by S.S.Mani

My dualboot KUBUNTU system is able to share files with networked computers, thanks to help I got from this column.

The networked printer though appears under printer, but when I give a test page for printing it says rendering completed:
But it is not printing and the status messgae is 'Filter failed.'

When I give a configure command from the printer screen, under driver it says, Current - HP Laserjet proffessional m1213 MFP, hpcus 3.14.3, requires proprietary plugin.

Even if provide the original printer cd it is of no use. But i do not know whether the cd contans a driver for Linux or not.

Please help me get over this configurauon issue.

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; dpkg -l | grep hplip

Thanks

You are not connecting to the networked printer via Samba, this has nothing to do with Samba.

Revision history for this message
S.S.Mani (airomatic) said :
#2

thank you actionparsnip.

this is what i got

lsb_release -a; uname -a; dpkg -l | grep hplip
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Linux Kubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux
ii hplip 3.14.3-0ubuntu3.2 i386 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.14.3-0ubuntu3.2 all HP Linux Printing and Imaging - data files

Thanks again for your time

(hp lip alone appears in red colour in both lines)

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

In a terminal, run:

wget http://prdownloads.sourceforge.net/hplip/hplip-3.14.6.run
chmod +x ./hplip-3.14.6.run
./hplip-3.14.6.run

It will update HPLIP to 3.14.6 and may help

Revision history for this message
S.S.Mani (airomatic) said :
#4

Sorry for the long "paste"

I am just pasting the entire happenings here (I am afraid I misght have committed misteks as it asked many questions for whcih i was not sure of the correct answer. I went by guessing and the output is as folollows)

$ wget http://prdownloads.sourceforge.net/hplip/hplip-3.14.6.run
--2014-08-05 14:27:15-- http://prdownloads.sourceforge.net/hplip/hplip-3.14.6.run
Resolving prdownloads.sourceforge.net (prdownloads.sourceforge.net)... 216.34.181.59
Connecting to prdownloads.sourceforge.net (prdownloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/hplip/hplip/3.14.6/hplip-3.14.6.run [following]
--2014-08-05 14:27:16-- http://downloads.sourceforge.net/project/hplip/hplip/3.14.6/hplip-3.14.6.run
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Reusing existing connection to prdownloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://jaist.dl.sourceforge.net/project/hplip/hplip/3.14.6/hplip-3.14.6.run [following]
--2014-08-05 14:27:17-- http://jaist.dl.sourceforge.net/project/hplip/hplip/3.14.6/hplip-3.14.6.run
Resolving jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting to jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)|150.65.7.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21613788 (21M) [application/x-makeself]
Saving to: ‘hplip-3.14.6.run’

100%[==========================================================================================================================================>] 2,16,13,788 71.5KB/s in 3m 31s

2014-08-05 14:30:50 (99.9 KB/s) - ‘hplip-3.14.6.run’ saved [21613788/21613788]

kubuntu@Kubuntu:~$ chmod +x ./hplip-3.14.6.run
kubuntu@Kubuntu:~$ ./hplip-3.14.6.run
Creating directory hplip-3.14.6
Verifying archive integrity... All good.
Uncompressing HPLIP 3.14.6 Self Extracting Archive...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.14.6)
HPLIP Installer ver. 5.1

Copyright (c) 2001-13 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.

Installer log saved in: hplip-install_Tue-05-Aug-2014_14:31:38.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

Initializing. Please wait...

INTRODUCTION
------------
This installer will install HPLIP version 3.14.6 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 14.04.

Is "Ubuntu 14.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

ENTER USER PASSWORD
-------------------
Please enter the sudoer (kubuntu)'s password:

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 7 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: Missing REQUIRED dependency: python-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 8 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'network': libcrypto (libcrypto - OpenSSL cryptographic library)
warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing OPTIONAL dependency for option 'network': avahi-utils (avahi-utils)
warning: Missing REQUIRED dependency for option 'gui_qt4': pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: Missing OPTIONAL dependency for option 'gui_qt4': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing REQUIRED dependency for option 'fax': dbus (DBus - Message bus system)
warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes build-essential'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-bsd'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-client'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libusb-1.0.0-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libtool'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes openssl'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsnmp-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes snmp-mibs-downloader'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes avahi-utils'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-qt4'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libdbus-1-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsane-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes xsane'
Please wait, this may take several minutes...
HPLIP-3.14.3 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'o'= Overwrite, 'q'= Quit)? :o

RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK

RE-CHECKING DEPENDENCIES
------------------------

PRE-BUILD COMMANDS
------------------
OK

BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-udev-acl-rules --enable-qt4 --disable-libusb01_build --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'sudo make install'
Please wait, this may take several minutes...
Command completed successfully.

Build complete.

POST-BUILD COMMANDS
-------------------

CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...

HPLIP UPDATE NOTIFICATION
-------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : y

RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in when you started this installer, you will need to either restart your PC or unplug and re-plug in your
printer (USB cable only). If you choose to restart, run this command after restarting: hp-setup (Note: If you are using a parallel connection, you will have to restart your PC. If
you are using network/wireless, you can ignore and continue).

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : i

PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : u

RE-STARTING HP_SYSTRAY
----------------------

HP Linux Imaging and Printing System (ver. 3.14.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-13 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.

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)

i will check for printer working and come back again.

Thanks a lot for the guidance

Revision history for this message
S.S.Mani (airomatic) said :
#5

Right now when i give a print command it is giving errors only. i will see if i can understand anything it says and come back tomorrow again.

From an initial inspection/understanding it looks as if fax has been installed as it says it is sending a fax but askd for no number for fax sending etc.

Regards

mani

Revision history for this message
S.S.Mani (airomatic) said :
#6

At the right side bottom HP logo has got added.

But including my earlier installations, 3 printers and 1 fax are showing up if I go to printer link.

Since I am having problems even now, but as many new files have been downloaded now, can I simply remove all 3 +1 the printers/fax installed and try to newly search/install a network printer?

If my question does not make sense, please advice me is there anything else I can do to proceed further?

Thanks once again

Mani

Revision history for this message
S.S.Mani (airomatic) said :
#7

Wired, not wireless.

 I am sorry there is a fundamental mistake in my question.

 I don't know whether this mistake might be responsible still for my problems!

Revision history for this message
S.S.Mani (airomatic) said :
#8

I used the trouble shooting guide as follows, with results appearing correctyly as suggested in it
==========================================================================
FIRST Command.

hp-check -t

(As I could see no error anywhere I have not pasted it. In the following also there is no error message, but to show that it has diagonised the printer I am pasting the last few line only)

# 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=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

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

HP_LaserJet_Professional_M1213nf_MFP
------------------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_Professional_M1213nf_MFP?ip=192.168.0.120
PPD: /etc/cups/ppd/HP_LaserJet_Professional_M1213nf_MFP.ppd
PPD Description: HP LaserJet Professional m1213nf MFP, hpcups 3.14.6, requires proprietary plugin
Printer status: printer HP_LaserJet_Professional_M1213nf_MFP is idle. enabled since Wednesday 06 August 2014 12:28:17 PM IST
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_Professional_M1213nf_MFP_fax
----------------------------------------
Type: Fax
Device URI: hpfax:/net/HP_LaserJet_Professional_M1213nf_MFP?ip=192.168.0.120
PPD: /etc/cups/ppd/HP_LaserJet_Professional_M1213nf_MFP_fax.ppd
PPD Description: HP Fax3 hpcups
Printer status: printer HP_LaserJet_Professional_M1213nf_MFP_fax is idle. enabled since Wednesday 06 August 2014 12:28:58 PM IST
Required plug-in status: Installed
Communication status: Good

--------------
| PERMISSION |
--------------

No errors or warnings.

Done.
===============================================
Second command

hp-makeuri 192.168.0.120

HP Linux Imaging and Printing System (ver. 3.14.6)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-13 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.

CUPS URI: hp:/net/HP_LaserJet_Professional_M1213nf_MFP?ip=192.168.0.120
SANE URI: hpaio:/net/HP_LaserJet_Professional_M1213nf_MFP?ip=192.168.0.120
HP Fax URI: hpfax:/net/HP_LaserJet_Professional_M1213nf_MFP?ip=192.168.0.120

Done.
==================================================

But whatever I attempt, it says, UNABLE TO COMMUNICATE WITH THE PRINTER.

Any suggestion please. i have reinstalled the printer as per your suggestion a few times but the result stays the same

thank you

Revision history for this message
S.S.Mani (airomatic) said :
#9

With my understanding, i am failing in installing some plugin that is needed, though it says plug in installed successfully.

Following is the error message. Any help please?

Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.

Thanks

Revision history for this message
S.S.Mani (airomatic) said :
#10

Thank you, at last the printer is printing. Though I had to install it many times. Definitely your directions helped me.

Thanks a lot.

Revision history for this message
S.S.Mani (airomatic) said :
#11

Thanks actionparsnip, that solved my question.