[cups] Trying to work around Canon MF743cdw driver bugs on MacOS Catalina
Brian Demsky
bdemsky at gmail.com
Fri May 29 17:41:19 PDT 2020
Copying gs to /usr/local/bin/gs did not work. Switching to relaxed sandboxing did.
Brian
> On May 29, 2020, at 4:22 AM, Helge Blischke <helgeblischke at web.de> wrote:
>
>
>
>> Am 29.05.2020 um 08:09 schrieb Brian Demsky <bdemsky at gmail.com>:
>>
>> 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
>>
>
> Additional hint:
> maybe you need to switch the sandboxing oc CUPS from strict too relaxed.
>
> Currently, there is no utility to do this; you need to stop cups,
> sudo edit /etc/cups/cups-files.conf and add the line
> Sandboxing relaxed
> to the end of the file
> nd restart cups.
>
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups
More information about the cups
mailing list