Tizen 2.1 base
[platform/upstream/hplip.git] / fax / filters / pstotiff.types
1 #   Copyright 2010-2011 by HP.
2 #
3 ########################################################################
4 #
5 # Format of Lines:
6 #
7 #   super/type rules
8 #
9 # "rules" can be any combination of:
10 #
11 #   ( expr )                            Parenthesis for expression grouping
12 #   +                                   Logical AND
13 #   , or whitespace                     Logical OR
14 #   !                                   Logical NOT
15 #   match("pattern")                    Pattern match on filename
16 #   extension                           Pattern match on "*.extension"
17 #   ascii(offset,length)                True if bytes are valid printable ASCII
18 #                                       (CR, NL, TAB, BS, 32-126)
19 #   printable(offset,length)            True if bytes are printable 8-bit chars
20 #                                       (CR, NL, TAB, BS, 32-126, 128-254)
21 #   string(offset,"string")             True if bytes are identical to string
22 #   istring(offset,"string")            True if bytes are identical to
23 #                                       case-insensitive string
24 #   char(offset,value)                  True if byte is identical
25 #   short(offset,value)                 True if 16-bit integer is identical
26 #   int(offset,value)                   True if 32-bit integer is identical
27 #   locale("string")                    True if current locale matches string
28 #   contains(offset,range,"string")     True if the range contains the string
29 #
30 # General Notes:
31 #
32 #   MIME type names are case-insensitive.  Internally they are converted
33 #   to lowercase.  Multiple occurrences of a type will cause the provided
34 #   rules to be appended to the existing definition.  Type names are sorted
35 #   in ascending order, so if two types use the same rules to resolve a type
36 #   (e.g. doc extension for two types), the returned type will be the first
37 #   type in the sorted list.
38 #
39 #   The "printable" rule differs from the "ascii" rule in that it also
40 #   accepts 8-bit characters in the range 128-255.
41 #
42 #   String constants must be surrounded by "" if they contain whitespace.
43 #   To insert binary data into a string, use the <hex> notation.
44 #
45
46 ########################################################################
47 #
48 # Application-generated files...
49 #
50
51 #application/vnd.hplip-tiff     tiff tif string(0,MM<002A>) string(0,II<2A00>)
52 image/tiff                      tiff tif string(0,MM<002A>) string(0,II<2A00>)
53