[Pkg-hpijs-devel] Bug#500183: hplip: hp-makeuri -c does not print cups uri

Avi Rozen avi.rozen at gmail.com
Thu Sep 25 19:21:51 UTC 2008


Package: hplip
Version: 2.8.6.b-1
Severity: normal
Tags: patch


hal-cups-utils uses hp-makeuri, but is broken due to the fact that the
-c option is broken
(see bug #496660 [1]).

According to the changelog this problem is already fixed, yet the
relevant debian patch
is not applied during build (
debian/patches/hp-makeuri-uri-only-output.dpatch ).

I've attached a patch against debian/patches/00list that fixes this.

Cheers,
Avi.


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496660


-- Package-specific info:
error: SIP not installed or version not found.
note: For troubleshooting printing issues, it is best to have the CUPS
'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file
/etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with
'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on
how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to
the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log

HP Linux Imaging and Printing System (ver. 2.8.6b)
Dependency/Version Check Utility ver. 14.0

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 machine-cycle 2.6.26-1-686 #1 SMP Wed Sep 10 16:46:13 UTC 2008
i686 GNU/Linux

Distribution:
debian testing

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

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...

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

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


------------------------
| 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 - Qt interface for Python...
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 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...
OK, found.


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


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

[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=2.8.6.20b


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

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
----------------warning: Printer is not HPLIP installed. Printers must
use the hp: or hpfax: CUPS backend to function in HPLIP.
error: Unable to connect to dbus session bus.
warning: Printer is not HPLIP installed. Printers must use the hp: or
hpfax: CUPS backend to function in HPLIP.
error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for
the proper installation of scanext.
error: 4 errors and/or warnings.
----------

  Device URI                                         Model

  -------------------------------------------------
----------------------------
  hp:/usb/officejet_5500_series?serial=MY3C1D11KS96  HP officejet 5500
series

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


Laser3
------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: http://localhost:40631/printers/laser3
PPD: /etc/cups/ppd/Laser3.ppd
PPD Description: HP LaserJet 4050 Foomatic/hpijs - HPLIP 1.6.10
Printer status: printer Laser3 is idle.  enabled since Sun 30 Sep 2007
11:07:17 AM IST
officejet_5500
--------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/officejet_5500_series?serial=MY3C1D11KS96
PPD: /etc/cups/ppd/officejet_5500.ppd
PPD Description: HP Officejet 5500 series Foomatic/hpijs, hpijs 2.8.6b
Printer status: printer officejet_5500 is idle.  enabled since Thu 25
Sep 2008 09:44:10 AM IDT
Communication status: Good

officejet_5500_fax
------------------
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/usb/officejet_5500_series?serial=MY3C1D11KS96
PPD: /etc/cups/ppd/officejet_5500_fax.ppd
PPD Description: HP Fax
Printer status: printer officejet_5500_fax is idle.  enabled since Thu
25 Sep 2008 09:43:55 AM IDT
Communication status: Good

PDF-Printer
-----------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: cups-pdf:/
PPD: /etc/cups/ppd/PDF-Printer.ppd
PPD Description: Generic PostScript Printer Foomatic/Postscript
(recommended)
Printer status: printer PDF-Printer is idle.  enabled since Sat 29 Sep
2007 09:47:55 PM IST

----------------------
| 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/officejet_5500_series?serial=MY3C1D11KS96' is a
Hewlett-Packard officejet_5500_series 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...

-----------------
| USB I/O SETUP |
-----------------


Checking for permissions of USB attached printers...

HP Device 0x3a11 at 001:005:
    Device URI: hp:/usb/officejet_5500_series?serial=MY3C1D11KS96
    Device node: /dev/bus/usb/001/005
    Mode: 0664

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


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


Done.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                   3.110          add and remove users and groups
ii  coreutils                 6.10-6         The GNU core utilities
ii  cups                      1.3.8-1lenny1  Common UNIX Printing
System(tm) -
ii  hplip-data                2.8.6.b-1      HP Linux Printing and
Imaging - da
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libcups2                  1.3.8-1lenny1  Common UNIX Printing
System(tm) -
ii  libdbus-1-3               1.2.1-3        simple interprocess
messaging syst
ii  libsnmp15                 5.4.1~dfsg-8.1 SNMP (Simple Network
Management Pr
ii  libssl0.9.8               0.9.8g-13      SSL shared libraries
ii  libusb-0.1-4              2:0.1.12-12    userspace USB programming
library
ii  lsb-base                  3.2-20         Linux Standard Base 3.2
init scrip
ii  python                    2.5.2-2        An interactive high-level
object-o
ii  python-dbus               0.82.4-2       simple interprocess
messaging syst
ii  python-imaging            1.1.6-3        Python Imaging Library
ii  python-support            0.8.4          automated rebuilding
support for P

Versions of packages hplip recommends:
ii  cups-client                1.3.8-1lenny1 Common UNIX Printing
System(tm) -
ii  hpijs                      2.8.6.b-1     HP Linux Printing and
Imaging - gs
ii  hplip-gui                  2.8.6.b-1     HP Linux Printing and
Imaging - GU

Versions of packages hplip suggests:
ii  gksu                    2.0.0-5          graphical frontend to su
ii  hplip-doc               2.8.6.b-1        HP Linux Printing and
Imaging - do
ii  kdebase-bin             4:3.5.9.dfsg.1-5 core binaries for the KDE
base mod
pn  kdeprint | gtklp | xpp  <none>           (no description available)
ii  openprinting-ppds       20080211-2+nmu1  OpenPrinting printer
support - Pos

-- no debconf information

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 00list.patch
Url: http://lists.alioth.debian.org/pipermail/pkg-hpijs-devel/attachments/20080925/c12b1aab/attachment.txt 


More information about the Pkg-hpijs-devel mailing list