Provided by: cupsys_1.3.2-1ubuntu7_i386
mime.types - mime type description file for cups
The mime.types file defines the recognized file types.
Additional file types can be added to mime.types or (preferably) in
additional files in the CUPS configuration directory with the extension
Each line in the mime.types file is a comment, blank, or rule line.
Comment lines start with the # character. Rule lines start with the
MIME type name and are optionally followed by a series of file recogni‐
tion rules that are used to automatically identify print and web files:
super/type rule [ ... ruleN]
The rules may be grouped using parenthesis, joined using "+" for a log‐
ical AND and "," or whitespace for a logical OR, and negated using "!".
Rules take two forms - a filename extension by itself and functions
with test values inside parenthesis. The following functions are avail‐
Pattern match on filename
True if bytes are valid printable ASCII (CR, NL, TAB, BS, 32-126)
True if bytes are printable 8-bit chars (CR, NL, TAB, BS, 32-126,
True if bytes are identical to string
True if a case-insensitive comparison of the bytes is identical
True if byte is identical
True if 16-bit integer is identical
True if 32-bit integer is identical
True if current locale matches string
True if the range contains the string
String constants can be specified inside quotes ("") for strings con‐
taining whitespace and angle brackets (<>) for hexadecimal strings.
classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), print‐
Copyright 2007 by Apple Inc.