]> git.ipfire.org Git - thirdparty/cups.git/blame - man/mime.convs.man
Merge pull request #5112 from paulmenzel/remove-libgcrypt-detection
[thirdparty/cups.git] / man / mime.convs.man
CommitLineData
ef416fc2 1.\"
27e0d6f8 2.\" mime.convs man page for CUPS.
ef416fc2 3.\"
dd3fdd2c 4.\" Copyright 2007-2015 by Apple Inc.
27e0d6f8 5.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 6.\"
27e0d6f8
MS
7.\" These coded instructions, statements, and computer programs are the
8.\" property of Apple Inc. and are protected by Federal copyright
9.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10.\" which should have been included with this file. If this file is
11.\" file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 12.\"
dd3fdd2c 13.TH mime.convs 5 "CUPS" "26 August 2015" "Apple Inc."
ef416fc2 14.SH NAME
15mime.convs \- mime type conversion file for cups
16.SH DESCRIPTION
27e0d6f8
MS
17The \fBmime.convs\fR file defines the filters that are available for converting files from one format to another.
18The standard filters support text, PDF, PostScript, and many types of image files.
ef416fc2 19.LP
27e0d6f8 20Additional filters are specified in files with the extension \fI.convs\fR in the CUPS configuration directory.
ef416fc2 21.LP
27e0d6f8
MS
22Each line in the \fBmime.convs\fR file is a comment, blank, or filter
23line.
24Comment lines start with the # character.
25Filter lines specify the source and destination MIME types along with a relative cost associated with the filter and the filter to run:
26.nf
27
28 source/type destination/type cost filter
29
30.fi
31The \fIsource/type\fR field specifies the source MIME media type that is consumed by the filter.
32.LP
dd3fdd2c 33The \fIdestination/type\fR field specifies the destination MIME media type that is produced by the filter.
27e0d6f8
MS
34.LP
35The \fIcost\fR field specifies the relative cost for running the filter.
36A 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.
37.LP
38The \fIfilter\fR field specifies the filter program filename.
39Filenames are relative to the CUPS filter directory.
40.SH FILES
41\fI/etc/cups\fR - Typical CUPS configuration directory.
42.br
43\fI/usr/lib/cups/filter\fR - Typical CUPS filter directory.
ef416fc2 44.br
8072030b 45\fI/usr/libexec/cups/filter\fR - CUPS filter directory on macOS.
27e0d6f8
MS
46.SH EXAMPLES
47Define a filter that converts PostScript documents to CUPS Raster format:
ef416fc2 48.nf
49
27e0d6f8
MS
50 application/vnd.cups\-postscript application/vnd.cups\-raster 50 pstoraster
51
ef416fc2 52.fi
53.SH SEE ALSO
27e0d6f8
MS
54.BR cups-files.conf (5),
55.BR cupsd.conf (5),
56.BR cupsd (8),
57.BR cupsfilter (8),
58.BR mime.types (5),
59CUPS Online Help (http://localhost:631/help)
ef416fc2 60.SH COPYRIGHT
bd5a2f28 61Copyright \[co] 2007-2017 by Apple Inc.