Skip to content

Update rule: DOCX,XLSX,PPTX to PDF/A

The original rule only covered DOCX,XLSX,PPTX to PDF, then the PDF to PDF/A rule is not chained automatically.

Need to change the rule from command line to bash script and add a second command.

Command:

lowriter --convert-to pdf "%fileFullName%" --outdir "%outputDirectory%"
gs -dPDFA -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFACompatibilityPolicy=1 -sOutputFile="%outputDirectory%%prefix%%fileName%%postfix%.pdf" "%outputDirectory%%fileName%.pdf"

Output file: %outputDirectory%%prefix%%fileName%%postfix%.pdf

Screenshot_2025-12-12_at_11.08.17

Edited by Panna Liptak