1cupsfilter(8)                     Apple Inc.                     cupsfilter(8)
2
3
4

NAME

6       cupsfilter - convert a file to another format using cups filters
7

SYNOPSIS

9       cupsfilter  [  --list-filters ] [ -D ] [ -U user ] [ -c config-file ] [
10       -d printer ] [ -e ] [ -i mime/type ] [ -j job-id[,N] ] [ -m mime/type ]
11       [ -n copies ] [ -o name=value ] [ -p filename.ppd ] [ -t title ] [ -u ]
12       filename
13

DESCRIPTION

15       cupsfilter is a front-end to the CUPS filter subsystem which allows you
16       to  convert a file to a specific format, just as if you had printed the
17       file through CUPS. By default, cupsfilter generates  a  PDF  file.  The
18       converted file is sent to the standard output.
19

OPTIONS

21       --list-filters
22            Do  not  actually  run the filters, just print the filters used to
23            stdout.
24
25       -D   Delete the input file after conversion.
26
27       -U user
28            Specifies the username passed to the filters. The default  is  the
29            name of the current user.
30
31       -c config-file
32            Uses the named cups-files.conf configuration file.
33
34       -d printer
35            Uses information from the named printer.
36
37       -e   Use every filter from the PPD file.
38
39       -i mime/type
40            Specifies  the  source file type. The default file type is guessed
41            using the filename and contents of the file.
42
43       -j job-id[,N]
44            Converts document N from the specified job. If N is omitted, docu‐
45            ment 1 is converted.
46
47       -m mime/type
48            Specifies  the  destination  file  type.  The default file type is
49            application/pdf. Use printer/foo to convert to the printer  format
50            defined by the filters in the PPD file.
51
52       -n copies
53            Specifies the number of copies to generate.
54
55       -o name=value
56            Specifies options to pass to the CUPS filters.
57
58       -p filename.ppd
59            Specifies the PPD file to use.
60
61       -t title
62            Specifies the document title.
63
64       -u   Delete the PPD file after conversion.
65

EXIT STATUS

67       cupsfilter returns a non-zero exit status on any error.
68

ENVIRONMENT

70       All  of the standard cups(1) environment variables affect the operation
71       of cupsfilter.
72

FILES

74       /etc/cups/cups-files.conf
75       /etc/cups/*.convs
76       /etc/cups/*.types
77       /usr/share/cups/mime/*.convs
78       /usr/share/cups/mime/*.types
79

NOTES

81       Unlike when printing, filters run using the cupsfilter command use  the
82       current  user and security session. This may result in different output
83       or unexpected behavior.
84

EXAMPLE

86       The following command will generate a PDF  preview  of  job  42  for  a
87       printer named "myprinter" and save it to a file named "preview.pdf":
88
89           cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf
90

SEE ALSO

92       cups(1),  cupsd.conf(5),  filter(7), mime.convs(7), mime.types(7), CUPS
93       Online Help (http://localhost:631/help)
94
96       Copyright © 2007-2017 by Apple Inc.
97
98
99
10011 June 2014                         CUPS                        cupsfilter(8)
Impressum