|
Packit |
2fc92b |
.\"
|
|
Packit |
2fc92b |
.\" mime.convs man page for CUPS.
|
|
Packit |
2fc92b |
.\"
|
|
Packit |
2fc92b |
.\" Copyright 2007-2015 by Apple Inc.
|
|
Packit |
2fc92b |
.\" Copyright 1997-2006 by Easy Software Products.
|
|
Packit |
2fc92b |
.\"
|
|
Packit |
2fc92b |
.\" These coded instructions, statements, and computer programs are the
|
|
Packit |
2fc92b |
.\" property of Apple Inc. and are protected by Federal copyright
|
|
Packit |
2fc92b |
.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
|
|
Packit |
2fc92b |
.\" which should have been included with this file. If this file is
|
|
Packit |
2fc92b |
.\" file is missing or damaged, see the license at "http://www.cups.org/".
|
|
Packit |
2fc92b |
.\"
|
|
Packit |
2fc92b |
.TH mime.convs 5 "CUPS" "26 August 2015" "Apple Inc."
|
|
Packit |
2fc92b |
.SH NAME
|
|
Packit |
2fc92b |
mime.convs \- mime type conversion file for cups
|
|
Packit |
2fc92b |
.SH DESCRIPTION
|
|
Packit |
2fc92b |
The \fBmime.convs\fR file defines the filters that are available for converting files from one format to another.
|
|
Packit |
2fc92b |
The standard filters support text, PDF, PostScript, and many types of image files.
|
|
Packit |
2fc92b |
.LP
|
|
Packit |
2fc92b |
Additional filters are specified in files with the extension \fI.convs\fR in the CUPS configuration directory.
|
|
Packit |
2fc92b |
.LP
|
|
Packit |
2fc92b |
Each line in the \fBmime.convs\fR file is a comment, blank, or filter
|
|
Packit |
2fc92b |
line.
|
|
Packit |
2fc92b |
Comment lines start with the # character.
|
|
Packit |
2fc92b |
Filter lines specify the source and destination MIME types along with a relative cost associated with the filter and the filter to run:
|
|
Packit |
2fc92b |
.nf
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
source/type destination/type cost filter
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
.fi
|
|
Packit |
2fc92b |
The \fIsource/type\fR field specifies the source MIME media type that is consumed by the filter.
|
|
Packit |
2fc92b |
.LP
|
|
Packit |
2fc92b |
The \fIdestination/type\fR field specifies the destination MIME media type that is produced by the filter.
|
|
Packit |
2fc92b |
.LP
|
|
Packit |
2fc92b |
The \fIcost\fR field specifies the relative cost for running the filter.
|
|
Packit |
2fc92b |
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.
|
|
Packit |
2fc92b |
.LP
|
|
Packit |
2fc92b |
The \fIfilter\fR field specifies the filter program filename.
|
|
Packit |
2fc92b |
Filenames are relative to the CUPS filter directory.
|
|
Packit |
2fc92b |
.SH FILES
|
|
Packit |
2fc92b |
\fI/etc/cups\fR - Typical CUPS configuration directory.
|
|
Packit |
2fc92b |
.br
|
|
Packit |
2fc92b |
\fI/usr/lib/cups/filter\fR - Typical CUPS filter directory.
|
|
Packit |
2fc92b |
.br
|
|
Packit |
2fc92b |
\fI/usr/libexec/cups/filter\fR - CUPS filter directory on macOS.
|
|
Packit |
2fc92b |
.SH EXAMPLES
|
|
Packit |
2fc92b |
Define a filter that converts PostScript documents to CUPS Raster format:
|
|
Packit |
2fc92b |
.nf
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
application/vnd.cups\-postscript application/vnd.cups\-raster 50 pstoraster
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
.fi
|
|
Packit |
2fc92b |
.SH SEE ALSO
|
|
Packit |
2fc92b |
.BR cups-files.conf (5),
|
|
Packit |
2fc92b |
.BR cupsd.conf (5),
|
|
Packit |
2fc92b |
.BR cupsd (8),
|
|
Packit |
2fc92b |
.BR cupsfilter (8),
|
|
Packit |
2fc92b |
.BR mime.types (5),
|
|
Packit |
2fc92b |
CUPS Online Help (http://localhost:631/help)
|
|
Packit |
2fc92b |
.SH COPYRIGHT
|
|
Packit |
2fc92b |
Copyright \[co] 2007-2017 by Apple Inc.
|