4
# MIME conversions file for OpenPrinting CUPS Filters.
6
# Copyright 2007-2011 by Apple Inc.
7
# Copyright 1997-2007 by Easy Software Products.
9
# These coded instructions, statements, and computer programs are the
10
# property of Apple Inc. and are protected by Federal copyright
11
# law. Distribution and use rights are outlined in the file "LICENSE.txt"
12
# which should have been included with this file. If this file is
13
# file is missing or damaged, see the license at "http://www.cups.org/".
16
########################################################################
20
# source/type destination/type cost filter
24
# The "cost" field is used to find the least costly filters to run
25
# when converting a job file to a printable format.
27
# All filters *must* accept the standard command-line arguments
28
# (job-id, user, title, copies, options, [filename or stdin]) to
32
########################################################################
37
# CUPS file conversion rules for PostScript input when we are working with
38
# the PDF printing workflow. General PostScript input should be converted to
39
# PDF, so that pdftopdf is doing the page management on PDF data and the
40
# renderer/driver part renders PDF. An exception is made for PostScript
41
# coming from the Adobe Reader. As this PostScript cannot be converted to PDF
42
# if it comes from an encrypted PDF file, we simply override pstopdf and the
45
application/postscript application/pdf 0 pstopdf
46
application/vnd.adobe-reader-postscript application/vnd.cups-postscript 66 pstops
49
# application/pdf application/vnd.cups-pdf 66 pdftopdf
51
application/pdf application/vnd.cups-pdf 22 pdftopdf
53
application/x-cshell application/pdf 32 texttopdf
54
application/x-csource application/pdf 32 texttopdf
55
application/x-perl application/pdf 32 texttopdf
56
application/x-shell application/pdf 32 texttopdf
57
text/plain application/pdf 32 texttopdf
58
text/html application/pdf 32 texttopdf
59
image/gif application/vnd.cups-pdf 65 imagetopdf
60
image/png application/vnd.cups-pdf 65 imagetopdf
61
image/jpeg application/vnd.cups-pdf 65 imagetopdf
62
image/tiff application/vnd.cups-pdf 65 imagetopdf
63
image/x-bitmap application/vnd.cups-pdf 65 imagetopdf
64
image/x-photocd application/vnd.cups-pdf 65 imagetopdf
65
image/x-portable-anymap application/vnd.cups-pdf 65 imagetopdf
66
image/x-portable-bitmap application/vnd.cups-pdf 65 imagetopdf
67
image/x-portable-graymap application/vnd.cups-pdf 65 imagetopdf
68
image/x-portable-pixmap application/vnd.cups-pdf 65 imagetopdf
69
image/x-sgi-rgb application/vnd.cups-pdf 65 imagetopdf
70
image/x-xbitmap application/vnd.cups-pdf 65 imagetopdf
71
image/x-xpixmap application/vnd.cups-pdf 65 imagetopdf
72
image/x-xwindowdump application/vnd.cups-pdf 65 imagetopdf
73
image/x-sun-raster application/vnd.cups-pdf 65 imagetopdf
74
application/vnd.cups-pdf-banner application/pdf 32 bannertopdf
75
image/urf application/pdf 0 urftopdf
77
########################################################################
82
#application/pdf application/vnd.cups-postscript 66 pdftops
85
# application/vnd.cups-pdf application/vnd.cups-postscript 100 pdftops
87
application/vnd.cups-pdf application/vnd.cups-postscript 22 pdftops
89
#application/postscript application/vnd.cups-postscript 66 pstops
91
########################################################################
96
application/vnd.cups-pdf application/vnd.cups-raster 99 gstoraster
97
application/vnd.cups-postscript application/vnd.cups-raster 200 gstoraster
98
application/vnd.cups-pdf application/vnd.cups-raster 100 pdftoraster
99
image/gif application/vnd.cups-raster 100 imagetoraster
100
image/png application/vnd.cups-raster 100 imagetoraster
101
image/jpeg application/vnd.cups-raster 100 imagetoraster
102
image/tiff application/vnd.cups-raster 100 imagetoraster
103
image/x-bitmap application/vnd.cups-raster 100 imagetoraster
104
image/x-photocd application/vnd.cups-raster 100 imagetoraster
105
image/x-portable-anymap application/vnd.cups-raster 100 imagetoraster
106
image/x-portable-bitmap application/vnd.cups-raster 100 imagetoraster
107
image/x-portable-graymap application/vnd.cups-raster 100 imagetoraster
108
image/x-portable-pixmap application/vnd.cups-raster 100 imagetoraster
109
image/x-sgi-rgb application/vnd.cups-raster 100 imagetoraster
110
image/x-xbitmap application/vnd.cups-raster 100 imagetoraster
111
image/x-xpixmap application/vnd.cups-raster 100 imagetoraster
112
image/x-sun-raster application/vnd.cups-raster 100 imagetoraster
114
########################################################################
116
# Text filters (only for text-only printers)...
119
application/x-cshell text/plain 100 -
120
application/x-csource text/plain 100 -
121
application/x-perl text/plain 100 -
122
application/x-shell text/plain 100 -
123
text/html text/plain 100 -
124
text/css text/plain 100 -