[cups.general] client-error-document-format-not-supported
Kurt Pfeifle
k1pfeifle at gmx.net
Sat Oct 6 20:19:16 BST 2007
Chris Bamford wrote:
> This printer has worked with CUPS perfectly in the past. Due to a HDD
> failure I am having to reinstall - now it won't print!
> In utter frustration I have uninstalled / reinstalled cups and foomatic
> several times...
> Now when I try to add my printer (Lexmark z600) and print a test page I
> get:
>
> cupsdoprint -P 'tmpprinter_OYfyPOZW' -J 'KDE Print Test' -H
> '/var/run/cups/cups.sock:631' -U 'root' -o '
> multiple-document-handling=separate-documents-uncollated-copies
> orientation-requested=3' '/usr/share/apps/kdeprint/testprint.ps' :
> execution failed with message:
> client-error-document-format-not-supported
You likely are bitten by a KDEPrint bug. KDEPrint is no longer comple-
tely in sync with CUPS; especially since CUPS 1.2 was released, there
are new features in CUPS which are unsupported by KDEPrint.
One of these is connecting to a CUPS server via unix domain sockets
for local printing (instead of using the localhost:631 TCP+UDP socket);
your error messages shows KDEPrint did try to connect to a CUPS server
running on '/var/run/cups/cups.sock:631' (it includes the port portion
from the TCP/UDP socket URL to the unix domain socket file name).
To work around that KDEPrint limitation (to make it behave like it be-
haved for CUPS 1.1), make sure your KDEPrint is configured to always
use localhost:631 for connections. Here's how:
* run "kaddprinterwizard --kdeconfig",
* select "CUPS Server" in left column,
* type "localhost" into "Host" field and "631" into "Port" field,
* confirm with "OK").
Which is the KDE version you're running?
--
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58
A RICOH Company ........................... D-70327 Stuttgart/Germany
More information about the kde-core-devel
mailing list