[cups.development] How to get file type information?

Michael R Sweet msweet at apple.com
Sun Nov 27 08:59:35 PST 2011


Daniel,

The MIME media type CUPS reports is the spooled file. If you want to know the original format such as an Open Office text document there is no way to get that at present...

Sent from my iPhone

On Nov 27, 2011, at 2:17 AM, daniel <daniel.howe.leon at gmail.com> wrote:

> Is it possible from CUPS to retrieve type of document? Not sure if mime/type is the way to or some other variable in CUPS.
> Has anyone encounter this situation before? Is it possible at all?
> CUPS logs some info from documents at log, but real doc name is not by default available.
> I am looking for accounting user based on type of documents.
> 
> Thanks,
> D.
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev





More information about the cups mailing list