cupsfilter(8)


NAME

   cupsfilter - convert a file to another format using cups filters

SYNOPSIS

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

DESCRIPTION

   cupsfilter 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, cupsfilter generates  a  PDF  file.  The
   converted file is sent to the standard output.

OPTIONS

   --list-filters
        Do  not  actually  run the filters, just print the filters used to
        stdout.

   -D   Delete the input file after conversion.

   -U user
        Specifies the username passed to the filters. The default  is  the
        name of the current user.

   -c config-file
        Uses the named cups-files.conf configuration file.

   -d printer
        Uses information from the named printer.

   -e   Use every filter from the PPD file.

   -i mime/type
        Specifies  the  source file type. The default file type is guessed
        using the filename and contents of the file.

   -j job-id[,N]
        Converts document N from the  specified  job.  If  N  is  omitted,
        document 1 is converted.

   -m mime/type
        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.

   -n copies
        Specifies the number of copies to generate.

   -o name=value
        Specifies options to pass to the CUPS filters.

   -p filename.ppd
        Specifies the PPD file to use.

   -t title
        Specifies the document title.

   -u   Delete the PPD file after conversion.

EXIT STATUS

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

ENVIRONMENT

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

FILES

   /etc/cups/cups-files.conf
   /etc/cups/*.convs
   /etc/cups/*.types
   /usr/share/cups/mime/*.convs
   /usr/share/cups/mime/*.types

NOTES

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

EXAMPLE

   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":

       cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf

SEE ALSO

   cups(1),  cupsd.conf(5),  filter(7), mime.convs(7), mime.types(7), CUPS
   Online Help (http://localhost:631/help)

COPYRIGHT

   Copyright  2007-2016 by Apple Inc.





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.