[Pkg-hpijs-devel] Bug#457771: hplip: hp-setup fails to find PPD file

Lupe Christoph lupe at lupe-christoph.de
Tue Dec 25 14:28:47 UTC 2007

Package: hplip
Version: 2.7.10-5
Severity: important

Error message frpm hp-setup:
error: PPD not file found.An appropriate PPD file could not be found. Please check your HPLIP install, use <i>Select Other...</i>, or download one from linuxprinting.org.

Tracing it reveals an encoding mismatch (calls to time(NULL) left out):
29489 send(8, "POST / HTTP/1.1\r\nContent-Length: 163\r\nContent-Type: application/ipp\r\nHost: localhost\r\nUser-Agent: CUPS/1.3.4\r\nExpect: 100-continue\r\n\r\n", 134, 0) = 134
29489 send(8, "\1\1@\f\0\0\0\1\1G\0\22attributes-charset\0\niso-8859-1H\0\33attributes-natural-language\0\5en-usE\0\vprinter-uri\0\'ipp://localhost/printers/officejet_4100E\0\24requested-attribut
es\0\3all\3", 163, 0) = 163
29489 poll([{fd=8, events=POLLIN, revents=POLLIN}], 1, 1000) = 1
29489 recv(8, "HTTP/1.1 100 Continue\r\n\r\nHTTP/1.1 200 OK\r\nDate: Tue, 25 Dec 2007 13:57:43 GMT\r\nServer: CUPS/1.2\r\nConnection: Keep-Alive\r\nKeep-Alive: timeout=60\r\nContent-Language: en_
US\r\nContent-Type: application/ipp\r\nContent-Length: 138\r\n\r\n\1\1\4\0\0\0\0\1\1G\0\22attributes-charset\0\niso-8859-1H\0\33attributes-natural-language\0\5en-usA\0\16status-message\0\'Unsuppo
rted character set \"iso-8859-1\"!\3", 2048, 0) = 362

It is quite possible that this problem is not really in hp-setup but in
CUPS. Or maybe in some combination of setups  on this particular system.

I get an interesting error message when I run hp-setup with the C

error: Invalid locale: C.utf8

So I suppose it tries to use UTF-8, but I have no idea why it tried to
talk to CUPS in 8859-1.

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

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser             3.105                add and remove users and groups
ii  coreutils           5.97-5.3             The GNU core utilities
ii  cupsys              1.3.4-4              Common UNIX Printing System(tm) - 
ii  hplip-data          2.7.10-5             HP Linux Printing and Imaging - da
ii  libc6               2.7-4                GNU C Library: Shared libraries
ii  libcupsys2          1.3.4-4              Common UNIX Printing System(tm) - 
ii  libjpeg62           6b-14                The Independent JPEG Group's JPEG 
ii  libsane             1.0.19~cvs20070730-1 API library for scanners
ii  libsnmp15           5.4.1~dfsg-4         SNMP (Simple Network Management Pr
ii  libssl0.9.8         0.9.8g-3             SSL shared libraries
ii  libusb-0.1-4        2:0.1.12-8           userspace USB programming library
ii  lsb-base            3.1-24               Linux Standard Base 3.1 init scrip
ii  python              2.4.4-6              An interactive high-level object-o
ii  python-support      0.7.5                automated rebuilding support for p

Versions of packages hplip recommends:
ii  cupsys-client            1.3.4-4         Common UNIX Printing System(tm) - 
ii  hpijs                    2.7.10+2.7.10-5 HP Linux Printing and Imaging - gs
ii  hpijs-ppds               2.7.10+2.7.10-5 HP Linux Printing and Imaging - HP
ii  hplip-gui                2.7.10-5        HP Linux Printing and Imaging - GU
pn  openprinting-ppds        <none>          (no description available)
pn  python-reportlab         <none>          (no description available)

-- no debconf information

More information about the Pkg-hpijs-devel mailing list