]>
Commit | Line | Data |
---|---|---|
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 |
11 | mime.convs \- mime type conversion file for cups | |
12 | .SH DESCRIPTION | |
27e0d6f8 MS |
13 | The \fBmime.convs\fR file defines the filters that are available for converting files from one format to another. |
14 | The standard filters support text, PDF, PostScript, and many types of image files. | |
ef416fc2 | 15 | .LP |
27e0d6f8 | 16 | Additional filters are specified in files with the extension \fI.convs\fR in the CUPS configuration directory. |
ef416fc2 | 17 | .LP |
27e0d6f8 MS |
18 | Each line in the \fBmime.convs\fR file is a comment, blank, or filter |
19 | line. | |
20 | Comment lines start with the # character. | |
21 | Filter 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 | |
27 | The \fIsource/type\fR field specifies the source MIME media type that is consumed by the filter. | |
28 | .LP | |
dd3fdd2c | 29 | The \fIdestination/type\fR field specifies the destination MIME media type that is produced by the filter. |
27e0d6f8 MS |
30 | .LP |
31 | The \fIcost\fR field specifies the relative cost for running the filter. | |
32 | 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. | |
33 | .LP | |
34 | The \fIfilter\fR field specifies the filter program filename. | |
35 | Filenames 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 |
43 | Define 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), | |
55 | CUPS Online Help (http://localhost:631/help) | |
ef416fc2 | 56 | .SH COPYRIGHT |
f61dfc0d | 57 | Copyright \[co] 2007-2018 by Apple Inc. |