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

Brian Demsky bdemsky at gmail.com
Thu May 28 23:09:38 PDT 2020


Doesn’t work on MacOS.  The filter runs from the command line fine.  I have gs installed in /opt/local/bin/gs.  But it doesn’t work.  I’m wondering if this is some sort of OS X security sandbox thing?

I get the following error in the printer log:
D [28/May/2020:23:05:33 -0700] [Job 167] printer-state=3(idle)
D [28/May/2020:23:05:33 -0700] [Job 167] printer-state-message="/opt/local/bin/gs -dNOPAUSE -dNOPROMPT -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile=%stdout -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -f /private/var/spool/cups/d00167-001 -c quit: Operation not permitted"
D [28/May/2020:23:05:33 -0700] [Job 167] printer-state-reasons=none
D [28/May/2020:23:05:33 -0700] [Client 18] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

I’m okay printing on my side by just hacking the PPD to use the printer’s native PDF support.

Brian

> On May 26, 2020, at 9:01 AM, Helge Blischke <helgeblischke at web.de> wrote:
> 
> pdfpre          - a CUPS prefilter to "normalize" PDF documents
> ===============================================================
> This filter makes a (nearly) identical copy of the input PDF
> without the use of "object streams" which are a feature of
> PDF versions 1.5 or greater and compress the parts of the
> PDF document which are written as plain text by default.
> 
> Using this filter permits printing of PDF documents which
> are otherwise not printed as expected by PDF interpreters
> that do not understand these "object streams".
> 
> The filter must be activated by the statement
> 
> *cupsPreFilter: "application/pdf 20 pdfpre"
> 
> in the printer's PPD file.
> 
> Download from: https://sourceforge.net/projects/cupsaddons/files/prefilters/ <https://sourceforge.net/projects/cupsaddons/files/prefilters/>
> 
> 
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups



More information about the cups mailing list