hp-devicesettings fails to find printer

Bug #417262 reported by martin_jacobs
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

To be able to use borderless printing with my PhotoSmart C7280 connected via WLAN, I wan't to switch off
"Fit-to-Page", which is not offered by CUPS printer administration. hp-devicesettungs fails to find device given by printer name, see trace at the end.

All Photosmart print queues are created with hp-setup, in total I've 5 queues of the same device with different base settings (chosen in CUPS) (draft, draft/duplex, best, best/duplex, photo/phototray).

Print control is done by CUPS 1.3.11, which works fine. pstoraster comes from ghostscript 8.64 with hplip-hpijs support.

Scanning based on sane-backends 1.0.19 and hpaio backend from hplip 3.9.6b works fine, xsane works fine, don't know why hp-check does not find xsane, even scanning from within gimp 2.6.7 works.

*** hp-check -r -t ********************************************************

hp-check[25441]: info: :
Initializing. Please wait...
Scheduler wird ausgefÃŒhrt

1.3.11

Linux Schnecke 2.4.21-273-smp #1 SMP Mon Jan 17 13:15:15 UTC 2005 i686 unknown

hp-check[25441]: info: :
hp-check[25441]: info: :---------------
hp-check[25441]: info: :| SYSTEM INFO |
hp-check[25441]: info: :---------------
hp-check[25441]: info: :
hp-check[25441]: info: :Basic system information:
hp-check[25441]: info: :Linux Schnecke 2.4.21-273-smp #1 SMP Mon Jan 17 13:15:15 UTC 2005 i686 unknown
hp-check[25441]: info: :
hp-check[25441]: info: :Distribution:
hp-check[25441]: info: :suse 8.1
hp-check[25441]: info: :
hp-check[25441]: info: :Checking Python version...
hp-check[25441]: info: :OK, version 2.6.0 installed
hp-check[25441]: info: :
hp-check[25441]: info: :Checking PyQt 4.x version...
error: NOT FOUND OR FAILED TO LOAD!
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for CUPS...
hp-check[25441]: info: :Status: Scheduler wird ausgefÃŒhrt
hp-check[25441]: info: :Version: 1.3.11
hp-check[25441]: info: :error_log is set to level: info
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dbus/python-dbus...
warning: dbus daemon is not running.
warning: python-dbus not installed.
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :------------------------
hp-check[25441]: info: :| RUNTIME DEPENDENCIES |
hp-check[25441]: info: :------------------------
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or run
ning HPLIP.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or run
ning HPLIP.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: Python XML libraries...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: SANE - Scanning library...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :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.
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :----------------------
hp-check[25441]: info: :| HPLIP INSTALLATION |
hp-check[25441]: info: :----------------------
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :Currently installed HPLIP version...
hp-check[25441]: info: :HPLIP 3.9.6b currently installed in '/usr/share/hplip'.
hp-check[25441]: info: :
hp-check[25441]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[25441]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.6b

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

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=no
scanner-build=yes
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.9.6b.4
restricted-build=no
ui-toolkit=no
qt3=no
qt4=no
policy-kit=no
hpijs-only-build=no
lite-build=no

hp-check[25441]: info: :
hp-check[25441]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[25441]: info: :# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

hp-check[25441]: info: :
hp-check[25441]: info: :Current contents of '~/.hplip/hplip.conf' file:
error: Could not access file: No such file or directory
hp-check[25441]: info: :
hp-check[25441]: info: :--------------------------
hp-check[25441]: info: :| DISCOVERED USB DEVICES |
hp-check[25441]: info: :--------------------------
hp-check[25441]: info: :
hp-check[25441]: info: :No devices found.
hp-check[25441]: info: :
hp-check[25441]: info: :---------------------------------
hp-check[25441]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[25441]: info: :---------------------------------
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :litfass
hp-check[25441]: info: :-------
hp-check[25441]: info: :Type: Printer
hp-check[25441]: info: :Device URI: hp:/net/Photosmart_C7200_series?ip=192.168.47.121
hp-check[25441]: info: :PPD: /etc/cups/ppd/litfass.ppd
hp-check[25441]: info: :PPD Description: HP Photosmart c7200 Series, hpcups 3.9.6b.4
hp-check[25441]: info: :Printer status: Drucker litfass ist inaktiv. Aktiviert seit Fre 21 Aug 2009 16:55:49 MEST
hp-check[25441]: info: :Communication status: Good
hp-check[25441]: info: :
hp-check[25441]: info: :litfass-duplex
hp-check[25441]: info: :--------------
hp-check[25441]: info: :Type: Printer
hp-check[25441]: info: :Device URI: hp:/net/Photosmart_C7200_series?ip=192.168.47.121
hp-check[25441]: info: :PPD: /etc/cups/ppd/litfass-duplex.ppd
hp-check[25441]: info: :PPD Description: HP Photosmart c7200 Series, hpcups 3.9.6b.4
hp-check[25441]: info: :Printer status: Drucker litfass-duplex ist inaktiv. Aktiviert seit Fre 21 Aug 2009 16:30:28 MEST
hp-check[25441]: info: :Communication status: Good
hp-check[25441]: info: :
hp-check[25441]: info: :psdjet
hp-check[25441]: info: :------
hp-check[25441]: info: :Type: Unknown
hp-check[25441]: info: :Device URI: parallel:/dev/lp0
hp-check[25441]: info: :PPD: /etc/cups/ppd/psdjet.ppd
hp-check[25441]: info: :PPD Description: HP Deskjet 500, hpcups 3.9.6b.4
hp-check[25441]: info: :Printer status: Drucker psdjet ist inaktiv. Aktiviert seit Fre 21 Aug 2009 16:16:08 MEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[25441]: info: :
hp-check[25441]: info: :rembrandt
hp-check[25441]: info: :---------
hp-check[25441]: info: :Type: Printer
hp-check[25441]: info: :Device URI: hp:/net/Photosmart_C7200_series?ip=192.168.47.121
hp-check[25441]: info: :PPD: /etc/cups/ppd/rembrandt.ppd
hp-check[25441]: info: :PPD Description: HP Photosmart c7200 Series, hpcups 3.9.6b.4
hp-check[25441]: info: :Printer status: Drucker rembrandt ist inaktiv. Aktiviert seit Fre 21 Aug 2009 16:53:09 MEST
hp-check[25441]: info: :Communication status: Good
hp-check[25441]: info: :
hp-check[25441]: info: :rembrandt-duplex
hp-check[25441]: info: :----------------
hp-check[25441]: info: :Type: Printer
hp-check[25441]: info: :Device URI: hp:/net/Photosmart_C7200_series?ip=192.168.47.121
hp-check[25441]: info: :PPD: /etc/cups/ppd/rembrandt-duplex.ppd
hp-check[25441]: info: :PPD Description: HP Photosmart c7200 Series, hpcups 3.9.6b.4
hp-check[25441]: info: :Printer status: Drucker rembrandt-duplex ist inaktiv. Aktiviert seit Fre 21 Aug 2009 16:43:39 MEST
hp-check[25441]: info: :Communication status: Good
hp-check[25441]: info: :
hp-check[25441]: info: :rembrandt-photo
hp-check[25441]: info: :---------------
hp-check[25441]: info: :Type: Printer
hp-check[25441]: info: :Device URI: hp:/net/Photosmart_C7200_series?ip=192.168.47.121
hp-check[25441]: info: :PPD: /etc/cups/ppd/rembrandt-photo.ppd
hp-check[25441]: info: :PPD Description: HP Photosmart c7200 Series, hpcups 3.9.6b.4
hp-check[25441]: info: :Printer status: Drucker rembrandt-photo ist inaktiv. Aktiviert seit Fre 21 Aug 2009 18:00:53 MEST
hp-check[25441]: info: :Communication status: Good
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :----------------------
hp-check[25441]: info: :| SANE CONFIGURATION |
hp-check[25441]: info: :----------------------
hp-check[25441]: info: :
hp-check[25441]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[25441]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking output of 'scanimage -L'...
hp-check[25441]: info: :device `rembrandt' is a Hewlett-Packard Photosmart_C7200_series all-in-one

hp-check[25441]: info: :
hp-check[25441]: info: :---------------------
hp-check[25441]: info: :| PYTHON EXTENSIONS |
hp-check[25441]: info: :---------------------
hp-check[25441]: info: :
hp-check[25441]: info: :Checking 'cupsext' CUPS extension...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking 'pcardext' Photocard extension...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking 'hpmudext' I/O extension...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :Checking 'scanext' SANE scanning extension...
hp-check[25441]: info: :OK, found.
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :
hp-check[25441]: info: :---------------
hp-check[25441]: info: :| USER GROUPS |
hp-check[25441]: info: :---------------
hp-check[25441]: info: :
hp-check[25441]: info: :root bin daemon sys adm disk wheel floppy shadow dialout audio scanner

hp-check[25441]: info: :
hp-check[25441]: info: :-----------
hp-check[25441]: info: :| SUMMARY |
hp-check[25441]: info: :-----------
hp-check[25441]: info: :
error: 10 errors and/or warnings.
hp-check[25441]: info: :
hp-check[25441]: info: :Please refer to the installation instructions at:
hp-check[25441]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[25441]: info: :
hp-check[25441]: info: :Done.

*********************************************************************

hp-devicesettings -g --printer=rembrandt-photo
warning: python-dbus not installed.
warning: hp-devicesettings should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.9.6b)
Device Setup Utility ver. 0.1

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.

hp-devicesettings[24540]: debug: getDeviceUri(None, rembrandt-photo, ('hp',), {'power-settings': (<built-in function gt>, 0)}, , True)
hp-devicesettings[24540]: debug: Mode=0
hp-devicesettings[24540]: debug: Cache miss: photosmart_c7200_series
hp-devicesettings[24540]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-devicesettings[24540]: debug: Searching for section [photosmart_c7200_series] in file /usr/share/hplip/data/models/models.dat
hp-devicesettings[24540]: debug: Found section [photosmart_c7200_series] in file /usr/share/hplip/data/models/models.dat
hp-devicesettings[24540]: debug: Device URI parallel:/dev/lp0 is invalid/unknown
hp-devicesettings[24540]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-devicesettings[24540]: debug: {}
hp-devicesettings[24540]: debug: Device URI parallel:/dev/lp0 is invalid/unknown
hp-devicesettings[24540]: debug: Exception: 4 (Unknown/invalid device-uri field)
error: Invalid printer name: rembrandt-photo
error: No device selected/specified or that supports this functionality.

Question: what's going wrong here? How to fix that?

Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 417262] [NEW] hp-devicesettings fails to find printer
Download full text (15.1 KiB)

This printer has no device settings. Currently, the device settings utility
is solely for setting power management options on printers with batteries.

On Sat, Aug 22, 2009 at 12:12 AM, martin_jacobs <email address hidden>wrote:

> Public bug reported:
>
> To be able to use borderless printing with my PhotoSmart C7280 connected
> via WLAN, I wan't to switch off
> "Fit-to-Page", which is not offered by CUPS printer administration.
> hp-devicesettungs fails to find device given by printer name, see trace at
> the end.
>
> All Photosmart print queues are created with hp-setup, in total I've 5
> queues of the same device with different base settings (chosen in CUPS)
> (draft, draft/duplex, best, best/duplex, photo/phototray).
>
> Print control is done by CUPS 1.3.11, which works fine. pstoraster comes
> from ghostscript 8.64 with hplip-hpijs support.
>
> Scanning based on sane-backends 1.0.19 and hpaio backend from hplip
> 3.9.6b works fine, xsane works fine, don't know why hp-check does not
> find xsane, even scanning from within gimp 2.6.7 works.
>
> *** hp-check -r -t
> ********************************************************
>
> hp-check[25441]: info: :
> Initializing. Please wait...
> Scheduler wird ausgefÃŒhrt
>
> 1.3.11
>
> Linux Schnecke 2.4.21-273-smp #1 SMP Mon Jan 17 13:15:15 UTC 2005 i686
> unknown
>
> hp-check[25441]: info: :
> hp-check[25441]: info: :---------------
> hp-check[25441]: info: :| SYSTEM INFO |
> hp-check[25441]: info: :---------------
> hp-check[25441]: info: :
> hp-check[25441]: info: :Basic system information:
> hp-check[25441]: info: :Linux Schnecke 2.4.21-273-smp #1 SMP Mon Jan 17
> 13:15:15 UTC 2005 i686 unknown
> hp-check[25441]: info: :
> hp-check[25441]: info: :Distribution:
> hp-check[25441]: info: :suse 8.1
> hp-check[25441]: info: :
> hp-check[25441]: info: :Checking Python version...
> hp-check[25441]: info: :OK, version 2.6.0 installed
> hp-check[25441]: info: :
> hp-check[25441]: info: :Checking PyQt 4.x version...
> error: NOT FOUND OR FAILED TO LOAD!
> hp-check[25441]: info: :
> hp-check[25441]: info: :Checking for CUPS...
> hp-check[25441]: info: :Status: Scheduler wird ausgefÃŒhrt
> hp-check[25441]: info: :Version: 1.3.11
> hp-check[25441]: info: :error_log is set to level: info
> hp-check[25441]: info: :
> hp-check[25441]: info: :Checking for dbus/python-dbus...
> warning: dbus daemon is not running.
> warning: python-dbus not installed.
> hp-check[25441]: info: :
> hp-check[25441]: info: :
> hp-check[25441]: info: :------------------------
> hp-check[25441]: info: :| RUNTIME DEPENDENCIES |
> hp-check[25441]: info: :------------------------
> hp-check[25441]: info: :
> hp-check[25441]: info: :
> hp-check[25441]: info: :Checking for dependency: CUPS - Common Unix
> Printing System...
> hp-check[25441]: info: :OK, found.
> hp-check[25441]: info: :
> hp-check[25441]: info: :Checking for dependency: CUPS DDK - CUPS driver
> development kit...
> warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP
> functionality may not function properly.
> hp-check[25441]: info: :
> hp-check[25441]: info: :Checking for dependency: GhostScript - PostScript
> and PDF language interpreter and previ...

Revision history for this message
martin_jacobs (martin-jacobs) wrote : Re: [Bug 417262] hp-devicesettings fails to find printer

Hi,

thanks for this explanation. Which (command line) tool hp-* do
I have to use to get borderless printing?

Regards

Martin

On Sat, 22 Aug 2009, dwelch91 wrote:

> This printer has no device settings. Currently, the device settings utility
> is solely for setting power management options on printers with batteries.
>
> On Sat, Aug 22, 2009 at 12:12 AM, martin_jacobs
> <email address hidden>wrote:
>
> > Public bug reported:
> >
> > To be able to use borderless printing with my PhotoSmart C7280 connected
> > via WLAN, I wan't to switch off
> > "Fit-to-Page", which is not offered by CUPS printer administration.
> > hp-devicesettungs fails to find device given by printer name, see trace at
> > the end.
> >
> > All Photosmart print queues are created with hp-setup, in total I've 5
> > queues of the same device with different base settings (chosen in CUPS)
> > (draft, draft/duplex, best, best/duplex, photo/phototray).
> >
> > Print control is done by CUPS 1.3.11, which works fine. pstoraster comes
> > from ghostscript 8.64 with hplip-hpijs support.
> >
> > Scanning based on sane-backends 1.0.19 and hpaio backend from hplip
> > 3.9.6b works fine, xsane works fine, don't know why hp-check does not
> > find xsane, even scanning from within gimp 2.6.7 works.
> > ...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.