Bug#605397: hplip: Won't print anything (gives unsupported format message)
Package: hplip
Version: 3.10.5-4~bpo50+1
Severity: grave
Justification: renders package unusable
After upgrading to version 3.10.5-4~bpo50+1 I get the following message
when trying to print to my HP OfficeJet 4215:
$ lp -d officejet_4200 <<< testing
lp: Unsupported format 'text/plain'!
The following appears in CUPS' error_log:
==> /var/log/cups/access_log <==
localhost - - [29/Nov/2010:16:06:03 +0000] "POST /printers/officejet_4200 HTTP/1.1" 200 354 Create-Job successful-ok
localhost - - [29/Nov/2010:16:06:03 +0000] "POST /printers/officejet_4200 HTTP/1.1" 200 245 Send-Document client-error-document-format-not-supported
==> /var/log/cups/error_log <==
D [29/Nov/2010:16:06:03 +0000] cupsdAcceptClient: 14 from localhost (Domain)
D [29/Nov/2010:16:06:03 +0000] cupsdReadClient: 14 POST / HTTP/1.1
D [29/Nov/2010:16:06:03 +0000] cupsdSetBusyState: Active clients
D [29/Nov/2010:16:06:03 +0000] cupsdAuthorize: No authentication data provided.
D [29/Nov/2010:16:06:03 +0000] cupsdReadClient: 14 1.1 Get-Printer-Attributes 1
D [29/Nov/2010:16:06:03 +0000] Get-Printer-Attributes ipp://localhost:631/printers/officejet_4200
D [29/Nov/2010:16:06:03 +0000] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/officejet_4200) from localhost
D [29/Nov/2010:16:06:03 +0000] cupsdSetBusyState: Not busy
D [29/Nov/2010:16:06:03 +0000] cupsdReadClient: 14 POST /printers/officejet_4200 HTTP/1.1
D [29/Nov/2010:16:06:03 +0000] cupsdSetBusyState: Active clients
D [29/Nov/2010:16:06:03 +0000] cupsdAuthorize: No authentication data provided.
D [29/Nov/2010:16:06:03 +0000] cupsdReadClient: 14 1.1 Create-Job 1
D [29/Nov/2010:16:06:03 +0000] Create-Job ipp://localhost:631/printers/officejet_4200
D [29/Nov/2010:16:06:03 +0000] cupsdMarkDirty(----J-)
D [29/Nov/2010:16:06:03 +0000] cupsdSetBusyState: Active clients and dirty files
D [29/Nov/2010:16:06:03 +0000] add_job: requesting-user-name="sam"
I [29/Nov/2010:16:06:03 +0000] [Job 1986] Adding start banner page "none".
D [29/Nov/2010:16:06:03 +0000] Discarding unused job-created event...
I [29/Nov/2010:16:06:03 +0000] [Job 1986] Queued on "officejet_4200" by "sam".
D [29/Nov/2010:16:06:03 +0000] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/officejet_4200) from localhost
D [29/Nov/2010:16:06:03 +0000] cupsdSetBusyState: Dirty files
D [29/Nov/2010:16:06:03 +0000] cupsdReadClient: 14 POST /printers/officejet_4200 HTTP/1.1
D [29/Nov/2010:16:06:03 +0000] cupsdSetBusyState: Active clients and dirty files
D [29/Nov/2010:16:06:03 +0000] cupsdAuthorize: No authentication data provided.
D [29/Nov/2010:16:06:03 +0000] cupsdReadClient: 14 1.1 Send-Document 1
D [29/Nov/2010:16:06:03 +0000] Send-Document ipp://localhost:631/printers/officejet_4200
D [29/Nov/2010:16:06:03 +0000] cupsdIsAuthorized: requesting-user-name="sam"
D [29/Nov/2010:16:06:03 +0000] [Job 1986] Auto-typing file...
D [29/Nov/2010:16:06:03 +0000] [Job 1986] Request file type is text/plain.
D [29/Nov/2010:16:06:03 +0000] Send-Document client-error-document-format-not-supported: Unsupported format 'text/plain'!
E [29/Nov/2010:16:06:03 +0000] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/officejet_4200) from localhost
D [29/Nov/2010:16:06:03 +0000] cupsdSetBusyState: Dirty files
D [29/Nov/2010:16:06:03 +0000] cupsdReadClient: 14 WAITING Closing on EOF
D [29/Nov/2010:16:06:03 +0000] cupsdCloseClient: 14
The symptoms of this bug are similar to that of #381743, but I am able to print
to the other (pure PostScript) printer on the server just fine, so I think this
is an hplip-specific problem. Here's the info requested by the CUPS maintainers
in that bug:
$ grep -H "*NickName" /etc/cups/ppd/*.ppd
/etc/cups/ppd/delly.ppd:*NickName: "Dell 2330dn Laser Printer"
/etc/cups/ppd/officejet_4200.ppd:*NickName: "HP Officejet 4200 Series, hpcups 3.10.5"
$ lpstat -v
device for delly: socket://10.0.0.2
device for officejet_4200: hp:/usb/officejet_4200_series?serial=CN5A5GI0XY
$ ls -l /etc/cups/*.types /etc/cups/*.convs
-rw-r--r-- 1 root root 4409 2009-05-25 14:45 /etc/cups/mime.convs
-rw-r--r-- 1 root root 6184 2009-05-25 14:45 /etc/cups/mime.types
-rw-r--r-- 1 root root 60 2009-05-25 14:43 /etc/cups/oopstops.convs
-rw-r--r-- 1 root root 88 2009-05-25 14:43 /etc/cups/oopstops.types
-rw-r--r-- 1 root root 724 2010-07-27 17:24 /etc/cups/pstotiff.convs
-rw-r--r-- 1 root root 2084 2010-07-27 17:24 /etc/cups/pstotiff.types
-rw-r--r-- 1 root root 240 2009-06-11 11:46 /etc/cups/raw.convs
-rw-r--r-- 1 root root 211 2009-06-11 11:46 /etc/cups/raw.types
$ cat /etc/cups/*.types /etc/cups/*.convs | grep "text/plain"
text/plain txt printable(0,1024)
text/plain application/postscript 33 texttops
$ grep -H "application/vnd.cups-raster" /etc/cups/*.types /etc/cups/*.convs | grep pstoraster
/etc/cups/mime.convs:application/vnd.cups-postscript application/vnd.cups-raster 100 pstoraster
$ grep -H "application/vnd.cups-command" /etc/cups/*.types /etc/cups/*.convs
/etc/cups/mime.types:application/vnd.cups-command string(0,'#CUPS-COMMAND')
-- System Information:
Debian Release: squeeze/sid
APT prefers stable
APT policy: (550, 'stable'), (530, 'testing'), (520, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-bpo.5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (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.4.4-7 Common UNIX Printing System(tm) -
ii cups-client 1.4.4-7 Common UNIX Printing System(tm) -
ii hplip-cups 3.10.5-4~bpo50+1 HP Linux Printing and Imaging - CU
ii hplip-data 3.10.5-4~bpo50+1 HP Linux Printing and Imaging - da
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcups2 1.4.4-7 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.1-5+lenny1 simple interprocess messaging syst
ii libhpmud0 3.10.5-4~bpo50+1 HP Multi-Point Transport Driver (h
ii libsane 1.0.21-7 API library for scanners
ii libssl0.9.8 0.9.8o-3 SSL shared libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii policykit 0.9-2 framework for managing administrat
ii python 2.5.2-3 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-pexpect 2.1-1 Python module for automating inter
ii python-support 1.0.10 automated rebuilding support for P
Versions of packages hplip recommends:
ii avahi-daemon 0.6.23-3lenny2 Avahi mDNS/DNS-SD daemon
ii sane-utils 1.0.21-7 API library for scanners -- utilit
Versions of packages hplip suggests:
pn hplip-doc <none> (no description available)
pn hplip-gui <none> (no description available)
pn kdeprint | gtklp | xpp <none> (no description available)
pn python-notify <none> (no description available)
-- no debconf information
Reply to: