[cups.general] Cups ignores filename extensions?

Michael R Sweet msweet at apple.com
Thu Mar 13 15:50:59 PDT 2008


John Meshkoff wrote:
> ...
> But, if the filetype extension is included in what are purported to be matching logical OR  rules, why is the extension ignored, and, therefore, why is it even included?
> 
> Thanks for any explanaton you may be able to give on this subject,

The extension is only used when matching the document-name value of
a print file (typically the base name of the file you pass to lp or
lpr) and when serving up content via the CUPS web interface
(http://localhost:631).  Most files are matched using their contents
to avoid issues when the original filename is not supplied or has the
wrong extension, however HP-GL/2 doesn't have a standard header we
can look for so we have to test for several common strings.

If we aren't detecting Autocad's HP-GL/2 output, we'd like to fix
that - please file a bug report with a sample HP-GL/2 file from
Autocad and we'll update the HP-GL/2 rules accordingly.

     http://www.cups.org/str.php

Thanks!

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list