HP Laserjet pro M12W printer not working

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
WM7793
Level 2
Level 2
Posts: 54
Joined: Fri May 04, 2012 12:50 pm

HP Laserjet pro M12W printer not working

Post by WM7793 »

Hi to everybody. I am hoping you can help me please.

My old printer a HP laserjet 1102W has given up the ghost and I purchased a replacement, a Laserjet pro M12W. Now although Linux Mint 18.1 on my machine sees the printer, but will not print anything despite going through the motions.

Now I did have a quick look to see whether the printer would work with Mint 18, I must have made a mistake as when I have also tried the HPLIP toolbox to install the correct driver, I get this:

HP Linux Imaging and Printing System (ver. 3.16.3)
Self Diagnse Utility and Healing Utility ver. 1.0

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

Checking for Deprecated items....
error: This distro (i.e linuxmint 18.1) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):

When pressing Y to continue I get the following message:
Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: linuxmint-18.1 version is not supported. Using linuxmint-17.3 versions dependencies to verify and install...

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

Kernel: 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 GNU/Linux
Host: clive
Proc: 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 GNU/Linux
Distribution: linuxmint 18.1
Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.16.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for linuxmint distro 18.1 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.16.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.3
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.16.3



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = "hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W44BPT6PR1a"
printer_name = HP-LaserJet-Professional-P-1102w
working_dir = /home/clive/Downloads/hplip-3.15.11.run

[settings]
systray_visible = 0
systray_messages = 0

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

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

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = true
last_upgraded_time = 1450377313
pending_upgrade_time = 0

[installation]
date_time = 02/26/18 20:24:15
version = 3.16.3


<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

--------------------------
| External Dependencies |
--------------------------

scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
network network -wget OPTIONAL - 1.17.1 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
error: dbus DBus - Message bus system REQUIRED - 1.10.6 MISSING 'DBUS may not be installed or not running'

-------------------------
| General Dependencies |
-------------------------

python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'
sane SANE - Scanning library REQUIRED - - OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
error: libpthread libpthread - POSIX threads library REQUIRED - b'2.23' MISSING 'libpthread needs to be installed'
error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 OK -
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'

---------------
| COMPILEDEP |
---------------

error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 MISSING 'gcc needs to be installed'
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'

----------------------
| Python Extentions |
----------------------

cupsext CUPS-Extension REQUIRED - 3.16.3 OK -
hpmudext IO-Extension REQUIRED - 3.16.3 OK -

-----------------------
| Scan Configuration |
-----------------------

'/etc/sane.d/dll.d/hpaio' not found.
hpaio HPLIP-SANE-Backend REQUIRED - 3.16.3 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.16.3 OK -

-----------------------
| Other Dependencies |
-----------------------


------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

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

No devices found.

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


lpstat
------
Type: Unknown
Device URI: No destinations added.


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

error: Unsupported model: HP_LaserJet_Pro_M12w
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'libcups2-dev' package is missing or 'cups' service is not running.
error: 'cups-bsd' package is missing or 'cups' service is not running.
error: 'cups-client' package is missing or 'cups' service is not running.
error: 'build-essential' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'libjpeg8-dev' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
error: 'libtool' package is missing/incompatible
Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (clive)'s password:

Now although I use Linux and love it, I am by no means that clever to be able to understand what i would need to do with respect to the errors etc in the listings.

Would anybody be able to help me please? I would be so grateful for any help and advice, even if it means that the printer has to go back to the shop and be exchanged for one that works out of the box.

Best regards,
Clive Simpson
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
hrmcrm

Re: HP Laserjet pro M12W printer not working

Post by hrmcrm »

The HPLIP list of supported printers at https://developers.hp.com/hp-linux-imag ... ices/index does not include the M12W. It may be too new to work with Linux.

The diagnosis states
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.16.3
and
Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = "hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W44BPT6PR1a"
printer_name = HP-LaserJet-Professional-P-1102w
working_dir = /home/clive/Downloads/hplip-3.15.11.run
There seem to be remnants of an older version, and the 1102w is still seen as installed.

It may be better to exchange the M12W for something listed as HPLIP supported. If it needs a version newer than 3.16.3, you will need to install HPLIP manually, which is not difficult.
Regards,
Howard
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: HP Laserjet pro M12W printer not working

Post by pdc_2 »

I agree this device is not listed in hplip;

and Karl reported that installing the latest version of hplip would likely upset scanning; where one had a multi-function device;

however this device is solely a printer;

so ....................... I would suggest downloading and installing the latest version of hplip; and see if it will make the printer work;

this is the page to get the latest hplip from https://developers.hp.com/hp-linux-imag ... g/gethplip

and this page tells you how to .......... https://developers.hp.com/hp-linux-imag ... tall/index

.......... and please ask for interpretations of this if you need it ............
WM7793
Level 2
Level 2
Posts: 54
Joined: Fri May 04, 2012 12:50 pm

Re: HP Laserjet pro M12W printer not working

Post by WM7793 »

Thank you so much, both Howard and pdc_2 for your swift replies.

I have installed the newer hplip (hplip 3.17.11) and followed all instructions in doing so. Unfortunately, and as expected, this has not resolved the problem.

I will taken your advice and will return the printer and exchange one from the list of supported printers. A similar printer for home use is the Laserjet Pro M102A which needs the minimum version hplip 3.16.11 to run.

I will delete the current printer via the system settings and sit tight until the new printer arrives. A lesson learnt !

Again, many thanks for your help on this matter.

Best regards,
Clive Simpson
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: HP Laserjet pro M12W printer not working

Post by pdc_2 »

Clive: when I look back at the detailed hplip printout you gave us ....... you seem to have many missing dependencies
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'libcups2-dev' package is missing or 'cups' service is not running.
error: 'cups-bsd' package is missing or 'cups' service is not running.
error: 'cups-client' package is missing or 'cups' service is not running.
error: 'build-essential' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'libjpeg8-dev' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
error: 'libtool' package is missing/incompatible
I guess if I plodded through Synaptic on our machine, (or ran

Code: Select all

hp-check
.. I might get fewer messages

........eg it thinks you are missing openssl
error: 'openssl' package is missing/incompatible
so I guess you would feel you had a standard install .... everthing went fine .. ?? but I think you need to get some of this stuff sorted surely; some folks just give up and do a fresh install if they have only started out; that's just some folks
WM7793
Level 2
Level 2
Posts: 54
Joined: Fri May 04, 2012 12:50 pm

Re: HP Laserjet pro M12W printer not working

Post by WM7793 »

Hi pdc_2 thank you for your reply.

When I ran and installed the latest hplip 3.17.11, it did pick up on missing dependencies, and I simply followed the instructions and the software replaced them if I remember correctly!

I have ordered a replacement printer which is listed as having hplip support and it is arriving tomorrow.

As I mentioned, being a convert from Windows, I really like the software. But although from an engineering background involving programmable logic controllers, I am no software whiz kid. I take my hat off to you guys out there who code down to machine level and can help people like myself.

Best regards,
Clive
ps I will let you know if the new printer works

pps Many thanks again for all your help
WM7793
Level 2
Level 2
Posts: 54
Joined: Fri May 04, 2012 12:50 pm

Re: HP Laserjet pro M12W printer not working

Post by WM7793 »

Hi, just to let you know that although my new printer didn't arrive until today due to the inclement weather here in the UK, it works a treat!

Thank you once again for all your help.

Best regards,
Clive
Locked

Return to “Printers & Scanners”