cannot use my scanner HP Laserjet M1212nf MFP

Asked by shai fisher

Hi guys, i was setting up my HP Laserjet M1212nf MFP to work with Ubuntu 18.4 LTS,
following the hplip setup guide.
right now the Print function is working flawless but scanning document isn't and fax also does not seems to work.

that's the output of the hp-check command

hp-check[7087]: info: :
hp-check[7087]: info: :[01mHP Linux Imaging and Printing System (ver. 3.18.5)[0m
hp-check[7087]: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check[7087]: info: :
hp-check[7087]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[7087]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[7087]: info: :This is free software, and you are welcome to distribute it
hp-check[7087]: info: :under certain conditions. See COPYING file for more details.
hp-check[7087]: info: :
hp-check[7087]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[7087]: 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 proper dependencies are installed to successfully compile
hp-check[7087]: info: :HPLIP.
hp-check[7087]: 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 supplied tarball has the proper dependencies installed to
hp-check[7087]: info: :successfully run.
hp-check[7087]: 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 dependencies).
hp-check[7087]: info: :
hp-check[7087]: info: :Check types:
hp-check[7087]: info: :a. EXTERNALDEP - External Dependencies
hp-check[7087]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[7087]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[7087]: info: :d. [All are run-time checks]
hp-check[7087]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[7087]: info: :
hp-check[7087]: info: :Status Types:
hp-check[7087]: info: : OK
hp-check[7087]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[7087]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[7087]: info: :
hp-check[7087]: info: :
hp-check[7087]: info: :---------------
hp-check[7087]: info: :| SYSTEM INFO |
hp-check[7087]: info: :---------------
hp-check[7087]: info: :
hp-check[7087]: info: : Kernel: 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 GNU/Linux
 Host: yair-HP-Compaq-8000-Elite-SFF-PC
 Proc: 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 GNU/Linux
 Distribution: 12 18.04
hp-check[7087]: info: : Bitness: 64 bit

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

[hplip]
version=3.18.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.18.5
html=/usr/share/doc/hplip-3.18.5
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
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=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.18.5
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no

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

hp-check[7087]: info: :
hp-check[7087]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[7087]: info: :[upgrade]
notify_upgrade = true
last_upgraded_time = 1528659525
pending_upgrade_time = 0

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hpaio:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ3536EPR1a
printer_name =
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

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

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 06/11/18 00:53:20
version = 3.18.5

hp-check[7087]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[7087]: info: :
hp-check[7087]: info: :-------------------------
hp-check[7087]: info: :| External Dependencies |
hp-check[7087]: info: :-------------------------
hp-check[7087]: info: :
hp-check[7087]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
hp-check[7087]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.22 OK -
hp-check[7087]: info: : xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
hp-check[7087]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
hp-check[7087]: info: : dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
hp-check[7087]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[7087]: info: : network network -wget OPTIONAL - 1.19.4 OK -
hp-check[7087]: info: : avahi-utils avahi-utils OPTIONAL - 0.7 OK -
hp-check[7087]: info: :
hp-check[7087]: info: :------------------------
hp-check[7087]: info: :| General Dependencies |
hp-check[7087]: info: :------------------------
hp-check[7087]: info: :
hp-check[7087]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[7087]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
hp-check[7087]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
hp-check[7087]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.27' OK -
hp-check[7087]: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check[7087]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[7087]: info: : sane-devel SANE - Scanning library development files REQUIRED - - OK -
hp-check[7087]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
hp-check[7087]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 OK -
hp-check[7087]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.5 OK -
hp-check[7087]: info: : python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
hp-check[7087]: info: : python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.12.1 OK -
hp-check[7087]: info: : python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
hp-check[7087]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
hp-check[7087]: info: : python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
hp-check[7087]: info: : python3-devel Python devel - Python development files REQUIRED 2.2 3.6.5 OK -
hp-check[7087]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
hp-check[7087]: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
hp-check[7087]: info: :
hp-check[7087]: info: :--------------
hp-check[7087]: info: :| COMPILEDEP |
hp-check[7087]: info: :--------------
hp-check[7087]: info: :
hp-check[7087]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[7087]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.3.0 OK -
hp-check[7087]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
hp-check[7087]: info: :
hp-check[7087]: info: :---------------------
hp-check[7087]: info: :| Python Extentions |
hp-check[7087]: info: :---------------------
hp-check[7087]: info: :
hp-check[7087]: info: : cupsext CUPS-Extension REQUIRED - 3.18.5 OK -
hp-check[7087]: info: : hpmudext IO-Extension REQUIRED - 3.18.5 OK -
hp-check[7087]: info: :
hp-check[7087]: info: :----------------------
hp-check[7087]: info: :| Scan Configuration |
hp-check[7087]: info: :----------------------
hp-check[7087]: info: :
hp-check[7087]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.18.5 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[7087]: info: : scanext Scan-SANE-Extension REQUIRED - 3.18.5 OK -
hp-check[7087]: info: :
hp-check[7087]: info: :------------------------------
hp-check[7087]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[7087]: info: :------------------------------
hp-check[7087]: info: :
hp-check[7087]: info: :device `hpaio:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ3536EPR1a' is a Hewlett-Packard HP_LaserJet_Professional_M1212nf_MFP all-in-one

hp-check[7087]: info: :
hp-check[7087]: info: :--------------------------
hp-check[7087]: info: :| DISCOVERED USB DEVICES |
hp-check[7087]: info: :--------------------------
hp-check[7087]: info: :
hp-check[7087]: info: : Device URI Model
hp-check[7087]: info: : ------------------------------------------------------------------------ ----------------------------------------
hp-check[7087]: info: : hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ3536EPR1a HP LaserJet Professional M1212nf MFP
hp-check[7087]: info: :
hp-check[7087]: info: :---------------------------------
hp-check[7087]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[7087]: info: :---------------------------------
hp-check[7087]: info: :
hp-check[7087]: info: :
hp-check[7087]: info: :[01mHP_LaserJet_Professional_M1212nf_MFP[0m
hp-check[7087]: info: :[01m------------------------------------[0m
hp-check[7087]: info: :Type: Printer
hp-check[7087]: info: :Device URI: hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ3536EPR1a
hp-check[7087]: info: :PPD: /etc/cups/ppd/HP_LaserJet_Professional_M1212nf_MFP.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_Professional_M1212nf_MFP.ppd ppd file
hp-check[7087]: info: :PPD Description:
hp-check[7087]: info: :Printer status: printer HP_LaserJet_Professional_M1212nf_MFP is idle. enabled since IDT 00:38:02 2018 יונ 11 ב'
hp-check[7087]: info: :Required plug-in status: Installed
hp-check[7087]: info: :Communication status: Good
hp-check[7087]: info: :
hp-check[7087]: info: :
hp-check[7087]: info: :--------------
hp-check[7087]: info: :| PERMISSION |
hp-check[7087]: info: :--------------
hp-check[7087]: info: :
hp-check[7087]: info: :USB HP_LaserJet_Professional_M1212nf_MFP Required - - OK Node:'/dev/bus/usb/002/005' Perm:' root lp rw- rw- rw- rw- rw-'
hp-check[7087]: info: :[32;01mNo errors or warnings.[0m
hp-check[7087]: info: :
hp-check[7087]: info: :Done.

my system is running with hebrew display language, that's why the log is a bit broken...
anyways, i've tried putting my user inside lp group, no changes,
tried sudo chmod 666 /etc/cups/ppd/HP_LaserJet_Professional_M1212nf_MFP.ppd.
still no change.
Thank you guys for your time investment!
will keep the post updated with future changes.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ayushi (ayushi18) said :
#1

Hi Shai,

The device supports scan feature. Can you reduce the dpi to less than 300 and check if the scan works as this device does not support scan for more than 300dpi. Kindly check with the changes and let me know if the issue still persists.

Also kindly share the logs if the issue persists.

Regards,
Ayushi

Revision history for this message
shai fisher (shai50) said :
#2

forgot to mention,
when trying hp-scan theres the normal strouput but then this error massages are prompted

warning: No destinations specified. Adding 'file' destination by default.
merror: SANE: Error during device I/O (code=9)

when trying using xsane it's giving:

Failed to open device 'hpaio:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ3536EPR1a':
Error during device I/O

Revision history for this message
shai fisher (shai50) said :
#3

Hey Ayushi,
Thank you for your comment, could you please guide me through this process?
What is DPI and how can i reduce it?

Revision history for this message
Ayushi (ayushi18) said :
#4

Hi Shai,

Before we start an important question:

Did you download the package from HPLIP site or from Ubuntu's package? This is important since the scan has issues with ubuntu package. so, if you are using ubuntu package can you please go to the below mentioned site and download the latest HPLIP and do a fresh install.

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
Select your distro and click the download HPLIP button.

If the issue still persists, we can start with the next steps.

Regards,
Ayushi

Revision history for this message
shai fisher (shai50) said :
#5

I've actually downloaded it from Ubuntu package but then reinstalled from HPLIP site.
Should i delete it and start again?

Revision history for this message
Ayushi (ayushi18) said :
#6

Hi Shai,

Yes ,please do a fresh install .

Regards,
Ayushi

Revision history for this message
shai fisher (shai50) said :
#7

trying to download but can't pass through the plugin part.
it cant find a working server to download the plugins from..

Revision history for this message
Ayushi (ayushi18) said :
#8

Hi Shai,

You can also download plugin manually from the below location :
https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/

Regards,
Ayushi

Revision history for this message
shai fisher (shai50) said :
#9

how bad is it if i can't find my printer here?

Revision history for this message
Ayushi (ayushi18) said :
#10

Hi Shai,

It's not an issue. You can download the plugin file for 3.18.5 version.

Regards,
Ayushi

Can you help with this problem?

Provide an answer of your own, or ask shai fisher for more information if necessary.

To post a message you must log in.