filters problem?

Kurt Pfeifle kpfeifle at danka.de
Sat Jul 8 08:09:58 PDT 2006


Kurt Pfeifle <kpfeifle at danka.de> wrote (Saturday 08 July 2006 13:08):
> Marco <marco.esposito at roma1.infn.it> wrote (Friday 07 July 2006 17:56):

[...] 
> In practice however, it looks like CUPS does not follow its own rules
> for auto-typing files here.  Dunno why...
> 
> IMHO this is a bug and should be submitted to
> 
>     http://www.cups.org/str.php
> 
> for further investigation.

Looks like there is a general problem with mime-typing files based
on the simple filename extension rule alone.

F.e., if I use (in /etc/cups/mime.types) a rule of

   text/plain    txt

instead of

   text/plain    txt printable(0,1024)

and restart cupsd, I get "client-error-document-format-not-supported".
A rule not using the *.txt extension at all, just being

   text/plain    printable(0,1024)

does work just fine. This bug I could also reproduce with CUPS 1.1.23
(SUSE 10.0 packages) and self-compiled from Subversion r5704. -- See 
also http://www.cups.org/str.php?L1825 (where I've modified your own 
bug report accordingly, including a change of its headline).

Cheers,
Kurt




More information about the cups mailing list