Why is HP CM1312nfi not configured automatically?

Asked by Jarl

I have a HP Color laserjet CM1312nfi. In Intrepid, when I plugged it in, it was configured automatically, but in Jaunty, it is not configured automatically. I had to use 'sudo hp-setup' to configure it.

My other printer HP PSC 2170 is configured automatically in both Intrepid and Jaunty.

Below is output of hp-check -r *before* I ran hp-setup

Thanks, Jarl

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

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

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

Basic system information:
Linux hermes 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

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

Checking for CUPS...
Status: planlægger er aktiv
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.83.0

------------------------
| RUNTIME DEPENDENCIES |
------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
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 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
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 XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

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

Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
sudo aptitude install --assume-yes xsane

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

Currently installed HPLIP version...
HPLIP 3.9.2 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.9.2

[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=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/usb/PSC_2170_Series?serial=MY3CBF76H773

[installation]
version = 3.9.2.49
date_time = 06/03/09 12:11:49

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

No devices found.

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

  Device URI Model
  --------------------------------------------- -------------------------------
  hp:/usb/HP_Color_LaserJet_CM1312nfi_MFP?seria HP Color LaserJet CM1312nfi MFP
  l=00CNB884QQT5

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

warning: No queues found.

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

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

Checking output of 'scanimage -L'...
device `v4l:/dev/video0' is a Noname CKF7037 virtual device
device `hpaio:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=00CNB884QQT5' is a Hewlett-Packard HP_Color_LaserJet_CM1312nfi_MFP all-in-one

---------------------
| 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 0x4f17 at 002:005:
    Device URI: hp:/usb/HP_Color_LaserJet_CM1312nfi_MFP?serial=00CNB884QQT5
    Device node: /dev/bus/usb/002/005
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/005
# owner: root
# group: lp
user::rw-
user:jarl:rw-
group::rw-
mask::rw-
other::r--

HP Device 0x171d at 006:002:
warning: Device URI: (Makeuri FAILED)
    Device node: /dev/bus/usb/006/002
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/006/002
# owner: root
# group: root
user::rw-
group::rw-
other::r--

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

error: 2 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
sudo aptitude install --assume-yes xsane

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

Done.

Question information

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

Checking for CUPS...
Status: planlægger er aktiv
error: Version: (Not available. CUPS may not be installed or not running.)

Seems to imply cups is not installed or running

if you install cups-pdf:

sudo apt-get install cups-pdf

It should install cups with it, you can then retry the script.

Revision history for this message
Jarl (jarl-dk) said :
#2

Comments on the 'hp-check -r' output:

> Checking for CUPS...
> Status: planlægger er aktiv
> error: Version: (Not available. CUPS may not be installed or not running.)

cups is installed. 'dpkg -l cups | cat' shows
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Navn Version Beskrivelse
+++-=============================================-========================================-============================================
ii cups 1.3.9-17ubuntu3.1 Common UNIX Printing System(tm) - server

> Checking for dependency: xsane - Graphical scanner frontend for SANE...
> warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
> To install this dependency, execute this command:
> sudo aptitude install --assume-yes xsane

I have doen that, but of course it does not change anything, since xsane is also installed already. 'dpkg -l xsane | cat' shows
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Navn Version Beskrivelse
+++-=============================================-========================================-================================================================
ii xsane 0.996-1ubuntu2 featureful graphical frontend for SANE (Scanner Access Now Easy)

> ---------------------------------
> | INSTALLED CUPS PRINTER QUEUES |
> ---------------------------------
>
>
> warning: No queues found.

That is expected, because it has not yet been configured. However worse is, even after I have configured the printer using hp-setup, it still gives this report, even though 'lpstat -a' shows the printer is configured (and I can confirm it is working):
HP_Color_LaserJet_CM1312nfi_MFP accepterer anmodninger siden ons 03 jun 2009 12:26:43 CEST
HP_Color_LaserJet_CM1312nfi_MFP_fax accepterer anmodninger siden ons 03 jun 2009 12:26:19 CEST
PSC-2170-Series accepterer anmodninger siden tor 28 maj 2009 20:41:32 CEST

> HP Device 0x171d at 006:002:
> warning: Device URI: (Makeuri FAILED)
> Device node: /dev/bus/usb/006/002
> Mode: 0664

This seems to be a bug in hp-check, I have reported this seperately on https://bugs.launchpad.net/hplip/+bug/383121

Jarl

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

If this is a bug, please close as this is a question forum. Thanks

Revision history for this message
Jarl (jarl-dk) said :
#4