[cups] rtf to pdf conversion using cupsfilter

Paquin, Brian brian.paquin at yale.edu
Tue Sep 27 09:49:41 PDT 2016


In Mac OS X 10.9, we were able to convert RTF documents into PDF using:

cupsfilter my_document.rtf > my_document.pdf

This spits back some basic debug info, but works (see below).

But cupsfilter on OS 10.11 is missing that functionality, and returns:

cupsfilter: No filter to convert from text/rtf to application/pdf.

Any ideas how we can get this functionality back?
(we hoped it would come back in 10.12, but we get the same behavior as 10.11)

If not something simple (to add/configure), what other solutions would you recommend to convert RTFs into PDFs (the documents have complex formatting but cupsfilter worked well)?

Thank you,

Brian

$ cupsfilter ~/Desktop/my_document.rtf > my_document.pdf
DEBUG: argv[0]="cupsfilter"
DEBUG: argv[1]="1"
DEBUG: argv[2]="administrator"
DEBUG: argv[3]="my_document.rtf"
DEBUG: argv[4]="1"
DEBUG: argv[5]=""
DEBUG: argv[6]="/Users/administrator/Desktop/my_document.rtf"
DEBUG: envp[0]="<CFProcessPath>"
DEBUG: envp[1]="CONTENT_TYPE=text/rtf"
DEBUG: envp[2]="CUPS_DATADIR=/usr/share/cups"
DEBUG: envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
DEBUG: envp[4]="CUPS_SERVERBIN=/usr/libexec/cups"
DEBUG: envp[5]="CUPS_SERVERROOT=/private/etc/cups"
DEBUG: envp[6]="LANG=en_US.UTF8"
DEBUG: envp[7]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
DEBUG: envp[8]="PPD=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/Generic.ppd"
DEBUG: envp[9]="PRINTER_INFO=cupsfilter"
DEBUG: envp[10]="PRINTER_LOCATION=Unknown"
DEBUG: envp[11]="PRINTER=cupsfilter"
DEBUG: envp[12]="RIP_MAX_CACHE=128m"
DEBUG: envp[13]="USER=administrator"
DEBUG: envp[14]="CHARSET=utf-8"
DEBUG: envp[15]="FINAL_CONTENT_TYPE=application/pdf"
INFO: nstexttopdf (PID 19583) started.
DEBUG: nstexttopdf - opened PPD file "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/Generic.ppd"...
INFO: nstexttopdf (PID 19583) exited with no errors.
$


[Yale Pathology Logo]
Brian Paquin
Help Desk Support Yale Pathology ITS
---------------------------------------------------
310 Cedar St. BML B50
New Haven, CT 06520
203-785-3691-office
203-785-2403-fax




More information about the cups mailing list