man-pages/man5/mime.convs.5.html
2021-03-31 01:06:50 +01:00

110 lines
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of mime.convs</TITLE>
</HEAD><BODY>
<H1>mime.convs</H1>
Section: Apple Inc. (5)<BR>Updated: CUPS<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
mime.convs - mime type conversion file for cups (deprecated)
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The <B>mime.convs</B> 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.
<P>
Additional filters are specified in files with the extension <I>.convs</I> in the CUPS configuration directory.
<P>
Each line in the <B>mime.convs</B> 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:
<PRE>
source/type destination/type cost filter
</PRE>
The <I>source/type</I> field specifies the source MIME media type that is consumed by the filter.
<P>
The <I>destination/type</I> field specifies the destination MIME media type that is produced by the filter.
<P>
The <I>cost</I> 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.
<P>
The <I>filter</I> field specifies the filter program filename.
Filenames are relative to the CUPS filter directory.
<A NAME="lbAD">&nbsp;</A>
<H2>FILES</H2>
<I>/etc/cups</I> - Typical CUPS configuration directory.
<BR>
<I>/usr/lib/cups/filter</I> - Typical CUPS filter directory.
<BR>
<I>/usr/libexec/cups/filter</I> - CUPS filter directory on macOS.
<A NAME="lbAE">&nbsp;</A>
<H2>EXAMPLES</H2>
Define a filter that converts PostScript documents to CUPS Raster format:
<PRE>
application/vnd.cups-postscript application/vnd.cups-raster 50 pstoraster
</PRE>
<A NAME="lbAF">&nbsp;</A>
<H2>NOTES</H2>
CUPS filters are deprecated and will no longer be supported in a future feature release of CUPS.
Printers that do not support IPP can be supported using applications such as
<B><A HREF="/cgi-bin/man/man2html?1+ippeveprinter">ippeveprinter</A></B>(1).
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?5+cups-files.conf">cups-files.conf</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+cupsd.conf">cupsd.conf</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?8+cupsd">cupsd</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+cupsfilter">cupsfilter</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?5+mime.types">mime.types</A></B>(5),
CUPS Online Help (<A HREF="http://localhost:631/help)">http://localhost:631/help)</A>
<A NAME="lbAH">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright &#169; 2007-2019 by Apple Inc.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="3"><A HREF="#lbAD">FILES</A><DD>
<DT id="4"><A HREF="#lbAE">EXAMPLES</A><DD>
<DT id="5"><A HREF="#lbAF">NOTES</A><DD>
<DT id="6"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="7"><A HREF="#lbAH">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:03 GMT, March 31, 2021
</BODY>
</HTML>