clawsoftware / clawPDF

Open Source Virtual (Network) Printer for Windows that allows you to create PDFs, OCR text, and print images, with advanced features usually available only in enterprise solutions.
https://github.com/clawsoftware/clawPDF
GNU Affero General Public License v3.0
710 stars 152 forks source link

PDF/A-2b printing error in 0.9.3 #99

Open gravasio opened 1 year ago

gravasio commented 1 year ago

Hi, I'm trying to print with the PDF/A (long term preservation) default profile and i get this error: snip

It does happen only if the file type is PDF/A-2b and i have the same issue on multiple computers.

Any hints? Thanks

gravasio commented 1 year ago

Upon further investigation it seems that Ghostscript fails to generate the output pdf because you are specifying -dCompatibilityLevel=1.4 that doesn't work with -dPDFA=2. And last in order to generate a proper PDF-2/B it should be better to set -sPDFACompatibilityPolicy=2 and not 1 as it is now.

Giuseppe

jaydubal commented 2 months ago

@gravasio thanks, I am facing same issue. So where to change / specify this? -sPDFACompatibilityPolicy=2

aetonsi commented 2 weeks ago

was facing the same issue as out of the box clawPDF came with those settings. i just changed settings in the "PDF/A" profile to use the PDFA-3b standard instead of -2b and it works