[cups.general] mime.types

Michael R Sweet msweet at apple.com
Wed Aug 27 11:48:13 PDT 2008


Ricardo wrote:
> Does anybody have a working "match("pattern")" example?
> 
> I've added this to mime.types
> 
> application/engine-print        match("*test*")
> 
> Then I issue lp /tmp/test and it gets autotyped to text/plain. From what I understand the autotyping is done alphabetically and application/engine-print comes before text/plain. Any ideas?

Wildcard matching for print files was not supported until CUPS 1.3.
Prior releases only used it for the web interface content...

So, your type should be recognized on CUPS 1.3 and higher, but not
on earlier releases.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list