{"id":3864,"date":"2022-12-20T17:28:17","date_gmt":"2022-12-20T20:28:17","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/cupsfilter-man8\/"},"modified":"2022-12-20T17:28:17","modified_gmt":"2022-12-20T20:28:17","slug":"cupsfilter-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/cupsfilter-man8\/","title":{"rendered":"cupsfilter (man8)"},"content":{"rendered":"<h1 align=\"center\">cupsfilter<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXIT STATUS\">EXIT STATUS<\/a><br \/> <a href=\"#ENVIRONMENT\">ENVIRONMENT<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#EXAMPLE\">EXAMPLE<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">cupsfilter \u2212 convert a file to another format using cups filters (deprecated)<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cupsfilter<\/b> [ <b>\u2212\u2212list\u2212filters<\/b> ] [ <b>\u2212D<\/b> ] [ <b>\u2212U<\/b> <i>user<\/i> ] [ <b>\u2212c<\/b> <i>config-file<\/i> ] [ <b>\u2212d<\/b> <i>printer<\/i> ] [ <b>\u2212e<\/b> ] [ <b>\u2212i<\/b> <i>mime\/type<\/i> ] [ <b>\u2212j<\/b> <i>job-id[,N]<\/i> ] [ <b>\u2212m<\/b> <i>mime\/type<\/i> ] [ <b>\u2212n<\/b> <i>copies<\/i> ] [ <b>\u2212o<\/b> <i>name=value<\/i> ] [ <b>\u2212p<\/b> <i>filename.ppd<\/i> ] [ <b>\u2212t<\/b> <i>title<\/i> ] [ <b>\u2212u<\/b> ] <i>filename<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>cupsfilter<\/b><\/i> 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, <b>cupsfilter<\/b> generates a PDF file. The converted file is sent to the standard output.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212list\u2212filters<\/b><\/p>\n<p style=\"margin-left:18%;\">Do not actually run the filters, just print the filters used to stdout.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212D<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"60%\">\n<p>Delete the input file after conversion.<\/p>\n<\/td>\n<td width=\"22%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212U<\/b> <i>user<\/i><\/p>\n<p style=\"margin-left:18%;\">Specifies the username passed to the filters. The default is the name of the current user.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212c<\/b> <i>config-file<\/i><\/p>\n<p style=\"margin-left:18%;\">Uses the named cups-files.conf configuration file.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212d<\/b> <i>printer<\/i><\/p>\n<p style=\"margin-left:18%;\">Uses information from the named printer.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212e<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"54%\">\n<p>Use every filter from the PPD file.<\/p>\n<\/td>\n<td width=\"28%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212i<\/b> <i>mime\/type<\/i><\/p>\n<p style=\"margin-left:18%;\">Specifies the source file type. The default file type is guessed using the filename and contents of the file.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212j<\/b> <i>job-id[,N]<\/i><\/p>\n<p style=\"margin-left:18%;\">Converts document N from the specified job. If N is omitted, document 1 is converted.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212m<\/b> <i>mime\/type<\/i><\/p>\n<p style=\"margin-left:18%;\">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.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212n<\/b> <i>copies<\/i><\/p>\n<p style=\"margin-left:18%;\">Specifies the number of copies to generate.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212o<\/b> <i>name=value<\/i><\/p>\n<p style=\"margin-left:18%;\">Specifies options to pass to the CUPS filters.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212p<\/b> <i>filename.ppd<\/i><\/p>\n<p style=\"margin-left:18%;\">Specifies the PPD file to use.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212t<\/b> <i>title<\/i><\/p>\n<p style=\"margin-left:18%;\">Specifies the document title.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212u<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"57%\">\n<p>Delete the PPD file after conversion.<\/p>\n<\/td>\n<td width=\"25%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>EXIT STATUS <a name=\"EXIT STATUS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cupsfilter<\/b> returns a non-zero exit status on any error.<\/p>\n<h2>ENVIRONMENT <a name=\"ENVIRONMENT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">All of the standard <b>cups<\/b>(1) environment variables affect the operation of <b>cupsfilter<\/b>.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/cups\/cups-files.conf <br \/> \/etc\/cups\/lxx74.convs \/etc\/cups\/pstotiff.convs <br \/> \/etc\/cups\/command.types \/etc\/cups\/lxx74.types <br \/> \/usr\/share\/cups\/mime\/braille.convs \/usr\/share\/cups\/mime\/cupsfilters.convs \/usr\/share\/cups\/mime\/cupsfilters-ghostscript.convs \/usr\/share\/cups\/mime\/cupsfilters-poppler.convs \/usr\/share\/cups\/mime\/mime.convs \/usr\/share\/cups\/mime\/pstotiff.convs <br \/> \/usr\/share\/cups\/mime\/*.types<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">CUPS printer drivers, filters, and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as <b>ippeveprinter<\/b>(1).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Unlike when printing, filters run using the <b>cupsfilter<\/b> command use the current user and security session. This may result in different output or unexpected behavior.<\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following command will generate a PDF preview of job 42 for a printer named &#8220;myprinter&#8221; and save it to a file named &#8220;preview.pdf&#8221;:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">cupsfilter -m application\/pdf -d myprinter -j 42 >preview.pdf<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cups<\/b>(1), <b>cupsd.conf<\/b>(5), <b>filter(7), mime.convs<\/b>(7), <b>mime.types<\/b>(7), CUPS Online Help (http:\/\/localhost:631\/help)<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright \u00a9 2007-2019 by Apple Inc.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  cupsfilter \u2212 convert a file to another format using cups filters (deprecated) <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,957,4],"class_list":["post-3864","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-cupsfilter","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3864"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3864\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}