]> git.ipfire.org Git - thirdparty/cups.git/blame - man/mime.convs.man
Add missing DNSSD.LIB functions.
[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.\"
e3101897 7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
ef416fc2 8.\"
dd3fdd2c 9.TH mime.convs 5 "CUPS" "26 August 2015" "Apple Inc."
ef416fc2 10.SH NAME
11mime.convs \- mime type conversion file for cups
12.SH DESCRIPTION
27e0d6f8
MS
13The \fBmime.convs\fR file defines the filters that are available for converting files from one format to another.
14The standard filters support text, PDF, PostScript, and many types of image files.
ef416fc2 15.LP
27e0d6f8 16Additional filters are specified in files with the extension \fI.convs\fR in the CUPS configuration directory.
ef416fc2 17.LP
27e0d6f8
MS
18Each line in the \fBmime.convs\fR file is a comment, blank, or filter
19line.
20Comment lines start with the # character.
21Filter lines specify the source and destination MIME types along with a relative cost associated with the filter and the filter to run:
22.nf
23
24 source/type destination/type cost filter
25
26.fi
27The \fIsource/type\fR field specifies the source MIME media type that is consumed by the filter.
28.LP
dd3fdd2c 29The \fIdestination/type\fR field specifies the destination MIME media type that is produced by the filter.
27e0d6f8
MS
30.LP
31The \fIcost\fR field specifies the relative cost for running the filter.
32A 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.
33.LP
34The \fIfilter\fR field specifies the filter program filename.
35Filenames are relative to the CUPS filter directory.
36.SH FILES
37\fI/etc/cups\fR - Typical CUPS configuration directory.
38.br
39\fI/usr/lib/cups/filter\fR - Typical CUPS filter directory.
ef416fc2 40.br
8072030b 41\fI/usr/libexec/cups/filter\fR - CUPS filter directory on macOS.
27e0d6f8
MS
42.SH EXAMPLES
43Define a filter that converts PostScript documents to CUPS Raster format:
ef416fc2 44.nf
45
27e0d6f8
MS
46 application/vnd.cups\-postscript application/vnd.cups\-raster 50 pstoraster
47
ef416fc2 48.fi
49.SH SEE ALSO
27e0d6f8
MS
50.BR cups-files.conf (5),
51.BR cupsd.conf (5),
52.BR cupsd (8),
53.BR cupsfilter (8),
54.BR mime.types (5),
55CUPS Online Help (http://localhost:631/help)
ef416fc2 56.SH COPYRIGHT
f61dfc0d 57Copyright \[co] 2007-2018 by Apple Inc.