Discussion:
client-error-document-format-not-supported
skylupo
2006-07-26 20:12:04 UTC
Permalink
hello all,

i'm trying to install my new photosmart 7450, and i'm obtaining the client-error-document-format-not-supported error each time i try to print a test page.

i'm running debian and kde, i installed the hplip driver (http://hplip.sourceforge.net/).

i googled a lot of course, and i found 2 solutions:

1- edit the mime.types and mime.confs files and uncomment de lines 'application/octet-stream ' at the bottom

2- in kde control panel, reconfigure the cups server to listen to localhost:631

i tried both, i restarted cups each time, with no errors at the starting, but if i try to print something (lp /etc/passwd) i get client-error-document-format-not-supported .
i get the same msg if i try to print a test page from the webadmin page of cups (http://localhost:631/admin)

i removed cups, reinstalled it, but the pb remains.
i really don't know what else i can try :(

it's like the cups server wasn't able to read the mime.types and mime.confs files.

certainly i missed something, certainly it's a stupid thing, but i can't find it.

someone to help me pleaz?
skylupo
2006-07-27 15:07:52 UTC
Permalink
nobody can help?
Post by skylupo
hello all,
i'm trying to install my new photosmart 7450, and i'm obtaining the client-error-document-format-not-supported error each time i try to print a test page.
i'm running debian and kde, i installed the hplip driver (http://hplip.sourceforge.net/).
1- edit the mime.types and mime.confs files and uncomment de lines 'application/octet-stream ' at the bottom
2- in kde control panel, reconfigure the cups server to listen to localhost:631
i tried both, i restarted cups each time, with no errors at the starting, but if i try to print something (lp /etc/passwd) i get client-error-document-format-not-supported .
i get the same msg if i try to print a test page from the webadmin page of cups (http://localhost:631/admin)
i removed cups, reinstalled it, but the pb remains.
i really don't know what else i can try :(
it's like the cups server wasn't able to read the mime.types and mime.confs files.
certainly i missed something, certainly it's a stupid thing, but i can't find it.
someone to help me pleaz?
skylupo
2006-07-29 05:14:59 UTC
Permalink
Post by skylupo
nobody can help?
Post by skylupo
hello all,
i'm trying to install my new photosmart 7450, and i'm obtaining the client-error-document-format-not-supported error each time i try to print a test page.
i'm running debian and kde, i installed the hplip driver (http://hplip.sourceforge.net/).
1- edit the mime.types and mime.confs files and uncomment de lines 'application/octet-stream ' at the bottom
2- in kde control panel, reconfigure the cups server to listen to localhost:631
i tried both, i restarted cups each time, with no errors at the starting, but if i try to print something (lp /etc/passwd) i get client-error-document-format-not-supported .
i get the same msg if i try to print a test page from the webadmin page of cups (http://localhost:631/admin)
i removed cups, reinstalled it, but the pb remains.
i really don't know what else i can try :(
it's like the cups server wasn't able to read the mime.types and mime.confs files.
certainly i missed something, certainly it's a stupid thing, but i can't find it.
someone to help me pleaz?
well, no answer :(
i need a clue, someone can give?
thx by advance
Bernd Krumböck
2006-07-29 05:54:30 UTC
Permalink
Post by skylupo
i'm running debian and kde, i installed the hplip driver
(http://hplip.sourceforge.net/).
Which debian version?
Which cups version?
Post by skylupo
1- edit the mime.types and mime.confs files and uncomment de lines
'application/octet-stream ' at the bottom
This is only helpful in special cases.
Post by skylupo
2- in kde control panel, reconfigure the cups server to listen to localhost:631
This has nothing to do with your problem. At least I can't see any
coherencies at the moment.
Post by skylupo
it's like the cups server wasn't able to read the mime.types and mime.confs files.
Permissions for mime.convs and mime.types should be 0644.
Please set "LogLevel debug" in your cupsd.conf and try to print a normal
text file (like /etc/resolv.conf).

Please send all interresting parts from your error_log file.
Maybe you should also send your mime.types and mime.convs file.


best regards!
Bernd
Kurt Pfeifle
2006-07-29 15:02:31 UTC
Permalink
Post by skylupo
i'm running debian and kde, i installed the hplip driver
(http://hplip.sourceforge.net/).
Which Debian version?
Which KDE version?
Which CUPS version?
Which HPLIP version?
So you tell us about your "solution" without mentioning what your
"problem" solved by it is? :-)
Post by skylupo
1- edit the mime.types and mime.confs files and uncomment de lines
'application/octet-stream ' at the bottom
2- in kde control panel, reconfigure the cups server to listen to localhost:631
I don't think your solutions have anything to do with the IPP error
code your $subject mentions.
Post by skylupo
i tried both, i restarted cups each time, with no errors at the
starting, but if i try to print something (lp /etc/passwd) i get
client-error-document-format-not-supported . i get the same msg if
i try to print a test page from the webadmin page of cups
(http://localhost:631/admin)
i removed cups, reinstalled it, but the pb remains.
i really don't know what else i can try :(
it's like the cups server wasn't able to read the mime.types and mime.confs files.
What are the permissions to those files (and to their parent
directory)?
Post by skylupo
certainly i missed something, certainly it's a stupid thing, but i can't find it.
someone to help me pleaz?
1. Set "LogLevel debug" in cupsd.conf.
2. Stop cupsd.
3. Make the error_log empty:
su -c "echo > /var/log/cups/error_log"
4. Start cupsd.
5. Print something (better not your password file):
lp -d printername /etc/shadow
6. Analyze every single line of /var/log/cups/error_log

If you don't get a hint from the error_log, try to see if reading
http://www.cups.org/cups-help.html will help you. If it doesn't,
paste the error log to http://cups.pastebin.com/ and tell us the
URL so we can look at it.

Cheers,
Kurt
skylupo
2006-07-30 06:20:06 UTC
Permalink
well, i'm quited confused
when trying to solve the problem, i restarted cups of course, as hp drivers too.
but after having restarted the computer, the cups error disapeared from the logs, and i got a hp driver error instead.
so i reinstalled it and the pb is over now.

really sorry for the noise, and thx for your answers.

yours
skylupo
Bernd Krumböck
2006-07-30 10:15:17 UTC
Permalink
no problem ;)

regards!
Bernd

Continue reading on narkive:
Loading...