Bug#373839: kdelibs4c2a: Unable to print to CUPS server
Package: kdelibs4c2a
Version: 4:3.5.3-1
Severity: normal
Hello!
I'm unable to print from inside KDE to a CUPS server. cupsdoprint fails
with the following message reported via KNotify:
-- snip -- snap -- snip -- snap --
A print error occurred. Error message received from system:
cupsdoprint -P 'CanonDriver' -J '' -H 'XXXXX:631' -U 'XXXXX' -o '
copies=1 orientation-requested=3' '/tmp/kde-XXXXX/konqueroroBZjMa.ps' :
execution failed with message:
client-error-bad-request
-- snap -- snip -- snap -- snip --
(-H and -U fields hidden)
The CUPS server runs Debian/Linux (stable); from there, i gathered the
following information:
Contents of access_log:
-- snip -- snap -- snip -- snap --
192.168.0.3 - - [15/Jun/2006:21:44:58 +0200] "GET /ppd/CanonDriver.ppd
HTTP/1.1" 200 29179
192.168.0.3 - - [15/Jun/2006:21:44:58 +0200] "POST /printers/CanonDriver
HTTP/1.1" 400 0
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] "POST /printers/ HTTP/1.1"
200 250
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] "POST /classes/ HTTP/1.1"
200 221
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] "POST /printers/ HTTP/1.1"
200 109
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] "POST / HTTP/1.1" 200 374
-- snap -- snip -- snap -- snip --
Contents of error_log:
-- snip -- snap -- snip -- snap --
E [15/Jun/2006:21:44:59 +0200] ReadClient: 6 IPP Read Error!
-- snap -- snip -- snap -- snip --
CUPS on print server:
-- snip -- snap -- snip -- snap --
$> dpkg -l | grep -i cups
ii cups-pdf 1.7.0a-1 PDF printer for CUPS
ii cupsys 1.1.23-10sarge Common UNIX Printing System(tm) -
server
ii cupsys-client 1.1.23-10sarge Common UNIX Printing System(tm) -
client pro
ii cupsys-pt 1.2.4-3 Tool for viewing/managing print jobs
under C
ii libcupsimage2 1.1.23-10sarge Common UNIX Printing System(tm) -
image libs
ii libcupsys2-gnu 1.1.23-10sarge Common UNIX Printing System(tm) - libs
-- snap -- snip -- snap -- snip --
Searching the web showed a similar error in Ubuntu (bug ID: 42513)
https://launchpad.net/distros/ubuntu/+source/cupsys/+bug/42513
Kind regards,
Jan
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages kdelibs4c2a depends on:
ii kdelibs-data 4:3.5.3-1 core shared data for all KDE appli
ii libacl1 2.2.37-1 Access control list shared library
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libarts1c2a 1.5.3-1 aRts sound system core components
ii libasound2 1.0.11-3 ALSA library
ii libaspell15 0.60.4-4 GNU Aspell spell-checker runtime l
ii libattr1 2.4.32-1 Extended attribute shared library
ii libaudio2 1.7-9 The Network Audio System (NAS). (s
ii libavahi-client3 0.6.10-1 Avahi client library
ii libavahi-common3 0.6.10-1 Avahi common library
ii libavahi-qt3-1 0.6.10-1 Avahi QT3 integration library
ii libbz2-1.0 1.0.3-2 high-quality block-sorting file co
ii libc6 2.3.6-13 GNU C Library: Shared libraries
ii libcomerr2 1.39-1 common error description library
ii libcupsys2 1.2.1-2 Common UNIX Printing System(tm) -
ii libfam0 2.7.0-10 Client library to control the FAM
ii libfontconfig1 2.3.2-5.1 generic font configuration library
ii libfreetype6 2.2.1-2 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.0-4 GCC support library
ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library
ii libidn11 0.5.18-2 GNU libidn library, implementation
ii libjasper-1.701-1 1.701.0-2 The JasPer JPEG-2000 runtime libra
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libkrb53 1.4.3-7 MIT Kerberos runtime libraries
ii liblua50 5.0.2-6 Main interpreter library for the L
ii liblualib50 5.0.2-6 Extension library for the Lua 5.0
ii libopenexr2c2a 1.2.2-4.2 runtime files for the OpenEXR imag
ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi
ii libpng12-0 1.2.8rel-5.1 PNG library - runtime
ii libqt3-mt 3:3.3.6-2 Qt GUI Library (Threaded runtime v
ii libsm6 1:1.0.0-4 X11 Session Management library
ii libstdc++6 4.1.0-4 The GNU Standard C++ Library v3
ii libtiff4 3.8.2-4 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.0.0-6 X11 client-side library
ii libxcursor1 1.1.5.2-5 X cursor management library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii libxi6 1:1.0.0-5 X11 Input extension library
ii libxinerama1 1:1.0.1-4 X11 Xinerama extension library
ii libxml2 2.6.24.dfsg-1 GNOME XML library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.0.2-4 X Rendering Extension client libra
ii libxslt1.1 1.1.16-2 XSLT processing library - runtime
ii libxt6 1:1.0.0-5 X11 toolkit intrinsics library
ii menu-xdg 0.2.3 freedesktop.org menu compliant win
ii perl 5.8.8-4 Larry Wall's Practical Extraction
ii xbase-clients 1:7.0.1-2 miscellaneous X clients
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages kdelibs4c2a recommends:
ii perl-suid 5.8.8-4 Runs setuid Perl scripts
-- no debconf information
Reply to: