Hi,
I am afraid this isn’t a bug but a Ghostscript limitation (or security feature, depending on your perspective),it is as the log says:
“This PostScript file was created from an encrypted PDF file.
Redistilling encrypted PDF is not permitted.”
If software allows you to directly convert a encrypted PDF to PDF, you can basically use it to remove the restriction from existing PDF files.
There are however 2 potential workarounds:
- Printing PDFs from a different viewer. Ghostscript can only detect the original encryption if this is somehow included in the data sent to the printer. I think most non-Adobe viewers could work here.
- This is probably unsuitable for an automated server workflow, but you can convert the PDF to a lossless image format like png first and then reconvert the png to PDF. Only the direct conversion of an encrypted PDF to PDF isn’t permitted.
Best regards
Robin