Installed HPLIP 3.11.10 for LaserJet M1212nf MFP but only prints garbage

Asked by Nic Deane

Here is my hp-check -t print out
nic@nic-inspiron1564 ~ $ hp-check -t

HP Linux Imaging and Printing System (ver. 3.11.10)
Dependency/Version Check Utility ver. 14.3

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

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

Basic system information:
Linux nic-inspiron1564 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64 GNU/Linux

Distribution:
linuxmint 1

Checking Python version...
OK, version 2.6.7 installed

Checking PyQt 4.x version...
OK, version 4.8.3 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.4.8
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.84.0

------------------------------------
| 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 devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

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: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

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...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

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

Currently installed HPLIP version...
HPLIP 3.11.10 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=3.11.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.11.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

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

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = HP-LaserJet-Professional-M1212nf-MFP
working_dir = .
device_uri = "hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ45AERSI1c"

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

[installation]
version = 3.11.10
date_time = 01/11/11 23:41:18

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

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

[polling]
enable = false
device_list =
interval = 5

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

  Device URI Model
  -------------------------------- --------------------------------
  hp:/usb/DeskJet_930C?serial=ES07 HP DeskJet 930C
  O13009JJ
  hp:/usb/HP_LaserJet_Professional HP LaserJet Professional M1212nf
  _M1212nf_MFP?serial=000000000QJ4 MFP
  5AERSI1c

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

Hewlett-Packard-DeskJet-930C
----------------------------
Type: Printer
Device URI: hp:/usb/DeskJet_930C?serial=ES07O13009JJ
PPD: /etc/cups/ppd/Hewlett-Packard-DeskJet-930C.ppd
PPD Description: HP Deskjet 930c, hpcups 3.11.5
Printer status: printer Hewlett-Packard-DeskJet-930C is idle. enabled since Tue 01 Nov ready to printGMT
Communication status: Good

HP-LaserJet-Professional-M1212nf-MFP
------------------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ45AERSI1c
PPD: /etc/cups/ppd/HP-LaserJet-Professional-M1212nf-MFP.ppd
PPD Description: HP LaserJet Professional m1212nf MFP hpijs, 3.11.10, requires proprietary plugin
Printer status: printer HP-LaserJet-Professional-M1212nf-MFP is idle. enabled since Tue 01 Nov 2011 22:45:21 GMT
Required plug-in status: Installed
Communication status: Good

HP-LaserJet-Professional-M1212nf-MFP-Fax-3
------------------------------------------
Type: Fax
Device URI: hpfax:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ45AERSI1c
PPD: /etc/cups/ppd/HP-LaserJet-Professional-M1212nf-MFP-Fax-3.ppd
PPD Description: HP Fax3 hpcups
Printer status: printer HP-LaserJet-Professional-M1212nf-MFP-Fax-3 is idle. enabled since Tue 01 Nov 2011 22:33:11 GMT
Required plug-in status: Installed
Communication status: Good

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

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ45AERSI1c' is a Hewlett-Packard HP_LaserJet_Professional_M1212nf_MFP all-in-one
device `v4l:/dev/video0' is a Noname Laptop_Integrated_Webcam_1.3M virtual device

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

HP Device 0x1204 at 002:009:
    Device URI: hp:/usb/DeskJet_930C?serial=ES07O13009JJ
    Device node: /dev/bus/usb/002/009
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/009
# owner: root
# group: lp
user::rw-
user:nic:rw-
group::rw-
mask::rw-
other::r--

HP Device 0x52a at 002:007:
    Device URI: hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ45AERSI1c
    Device node: /dev/bus/usb/002/007
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/007
# owner: root
# group: lp
user::rw-
user:nic:rw-
group::rw-
mask::rw-
other::r--

---------------
| USER GROUPS |
---------------

nic lp sudo

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

No errors or warnings.

Done.
nic@nic-inspiron1564 ~ $

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
Srikanth Edit question
Last query:
Last reply:
Revision history for this message
Srikanth (srikanth-lokare) said :
#1

Hi,

Thanks for posting the "hp-check" results. From the log I could found out that the print queue has picked up hpijs ppd. And HPLIP has stopped supporting hpijs. Can you please try the following steps.

1. Delete all the existing print queues.
2. Re-configure the queue using "hp-setup" from the terminal. Make sure that it picks the correct ppd.

Please let us know if the problem still persists.

Thanks for using HPLIP.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
Nic Deane (nic-ntbd) said :
#2

On 02/11/11 03:45, Srikanth wrote:
> Your question #177185 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/177185
>
> Status: Open => Answered
>
> Srikanth proposed the following answer:
> Hi,
>
> Thanks for posting the "hp-check" results. From the log I could found
> out that the print queue has picked up hpijs ppd. And HPLIP has stopped
> supporting hpijs. Can you please try the following steps.
>
> 1. Delete all the existing print queues.
> 2. Re-configure the queue using "hp-setup" from the terminal. Make sure that it picks the correct ppd.
>
> Please let us know if the problem still persists.
>
> Thanks for using HPLIP.
>
> Thanks and Regards,
> Srikanth Lokare
>
Brilliant! Many thanks! Did as you said and went back to the 3.11.5
hpcups driver (the only other alternative I had) and it printed! I'll
check the other functions of the printer later on today.

Thank you for such a speedy answer.

God bless,

Nic

Revision history for this message
Srikanth (srikanth-lokare) said :
#3

Hi,

Just to add, no need to go back to 3.11.5. You can try the following instructions.

1. Delete the existing print queue

2. Go to the hplip-3.11.10 source directroy.
3. Run the following commands from the terminal.

$"./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build"

$make

$sudo make install.

4. Re-configure the queue using "hp-setup" from the terminal.

Thanks for using HPLIP.

Thanks and Regards,
Srikanth Lokare

Can you help with this problem?

Provide an answer of your own, or ask Nic Deane for more information if necessary.

To post a message you must log in.