[cups] Trying to work around Canon MF743cdw driver bugs on MacOS Catalina

Brian Demsky bdemsky at gmail.com
Fri May 15 14:55:51 PDT 2020


Different issue.   Below is all the output (on both stdout and stderr).  If I look at the cups logging during normal printing of the same file, it passes a ton of options into the capdftopdl and has a much longer environmental variable setup.

cupsfilter -P /etc/cups/ppd/Canon_MF741C_743C__cb_df_25___25___cb_df_25___2___cb_df_25___2_.ppd -m printer/foo -e oopsla2019-lapor.pdf &> log

Brian

cupsfilter: File <E2><80><9C>/Library/Printers/Canon/CUPS_Printer/Bins/capdftopdl<E2><80><9D> permissions OK 
(040755/uid=0/gid=80).
cupsfilter: File <E2><80><9C>/Library/Printers/Canon/CUPS_Printer/Bins/commandfilefilter<E2><80><9D> permissi
ons OK (040755/uid=0/gid=80).
DEBUG: argv[0]="cupsfilter"
DEBUG: argv[1]="1"
DEBUG: argv[2]="root"
DEBUG: argv[3]="oopsla2019-lapor.pdf"
DEBUG: argv[4]="1"
DEBUG: argv[5]=""
DEBUG: argv[6]="oopsla2019-lapor.pdf"
DEBUG: envp[0]="<CFProcessPath>"
DEBUG: envp[1]="CONTENT_TYPE=application/pdf"
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=/etc/cups/ppd/Canon_MF741C_743C__cb_df_25___25___cb_df_25___2___cb_df_25___2_.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=root"
DEBUG: envp[14]="CHARSET=utf-8"
INFO: /Library/Printers/Canon/CUPS_Printer/Bins/capdftopdl (PID 6463) started.
DEBUG: capdftopdl start.
ERROR: /Library/Printers/Canon/CUPS_Printer/Bins/capdftopdl (PID 6463) stopped with status 1


> On May 15, 2020, at 1:50 PM, Helge Blischke <helgeblischke at web.de> wrote:
> 
> 
> Please add the option 
> -e
> to the command. I hope that the cupsfilter utility then executes Canon’s  capdftopdl filter, the output if which 
> is the interesting thing.
> 
> Helge
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups



More information about the cups mailing list