mime.convs man page for CUPS. Copyright 2007-2015 by Apple Inc. Copyright 1997-2006 by Easy Software Products. These coded instructions, statements, and computer programs are the property of Apple Inc. and are protected by Federal copyright law. Distribution and use rights are outlined in the file "LICENSE.txt" which should have been included with this file. If this file is file is missing or damaged, see the license at "http://www.cups.org/".
NAMEmime.convs - mime type conversion file for cups
DESCRIPTIONThe mime.convs file defines the filters that are available for converting files from one format to another. The standard filters support text, PDF, PostScript, and many types of image files.
Additional filters are specified in files with the extension .convs in the CUPS configuration directory.
Each line in the mime.convs file is a comment, blank, or filter line. Comment lines start with the # character. Filter lines specify the source and destination MIME types along with a relative cost associated with the filter and the filter to run:
source/type destination/type cost filterThe source/type field specifies the source MIME media type that is consumed by the filter.
The destination/type field specifies the destination MIME media type that is produced by the filter.
The cost field specifies the relative cost for running the filter. A value of 100 means that the filter uses a large amount of resources while a value of 0 means that the filter uses very few resources.
The filter field specifies the filter program filename. Filenames are relative to the CUPS filter directory.
FILES/etc/cups - Typical CUPS configuration directory.
/usr/lib/cups/filter - Typical CUPS filter directory.
/usr/libexec/cups/filter - CUPS filter directory on macOS.
EXAMPLESDefine a filter that converts PostScript documents to CUPS Raster format:
application/vnd.cups-postscript application/vnd.cups-raster 50 pstoraster