2 .\" cupsfilter man page for CUPS.
4 .\" Copyright 2007-2019 by Apple Inc.
6 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more
9 .TH cupsfilter 8 "CUPS" "26 April 2019" "Apple Inc."
11 cupsfilter \- convert a file to another format using cups filters (deprecated)
56 is a front-end to the CUPS filter subsystem which allows you to convert a file to a specific format, just as if you had printed the file through CUPS. By default,
58 generates a PDF file. The converted file is sent to the standard output.
62 Do not actually run the filters, just print the filters used to stdout.
65 Delete the input file after conversion.
68 Specifies the username passed to the filters. The default is the name of the current user.
70 \fB\-c \fIconfig-file\fR
71 Uses the named cups-files.conf configuration file.
74 Uses information from the named printer.
77 Use every filter from the PPD file.
79 \fB\-i \fImime/type\fR
80 Specifies the source file type. The default file type is guessed using the filename and contents of the file.
82 \fB\-j \fIjob-id[,N]\fR
83 Converts document N from the specified job. If N is omitted, document 1 is converted.
85 \fB\-m \fImime/type\fR
86 Specifies the destination file type. The default file type is application/pdf. Use printer/foo to convert to the printer format defined by the filters in the PPD file.
89 Specifies the number of copies to generate.
91 \fB\-o \fIname=value\fR
92 Specifies options to pass to the CUPS filters.
94 \fB\-p \fIfilename.ppd\fR
95 Specifies the PPD file to use.
98 Specifies the document title.
101 Delete the PPD file after conversion.
104 returns a non-zero exit status on any error.
108 environment variables affect the operation of
112 /etc/cups/cups-files.conf
115 /usr/share/cups/mime/*.convs
116 /usr/share/cups/mime/*.types
118 CUPS printer drivers, filters, and backends are deprecated and will no longer be supported in a future feature release of CUPS.
119 Printers that do not support IPP can be supported using applications such as
120 .BR ippeveprinter (1).
122 Unlike when printing, filters run using the
124 command use the current user and security session. This may result in different output or unexpected behavior.
126 The following command will generate a PDF preview of job 42 for a printer named "myprinter" and save it to a file named "preview.pdf":
129 cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf
137 CUPS Online Help (http://localhost:631/help)
139 Copyright \[co] 2007-2019 by Apple Inc.