Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /display/REQ/PDF to PDFA Conversion taken on 2016-03-31. The original wiki at wiki.opf-labs.org is being decommissioned.

PDF to PDFA Conversion

Created by Matthew Bull on Sep 02, 2014 · last edited by Matthew Bull · on Sep 02, 2014 (view history)
Title PDF to PDF A Conversion
Detailed description One solution is to use ghostscript to convert PDF to Post Script to PDF/A.
Once ghostscript is installed the following bat script can be placed in a file named "pdf2pdfa.bat" and ran in a directory containing PDFs
@ECHO OFF
SET lib="%programfiles(x86)%\gs\gs9.14\lib"
MKDIR .\PDFA

for %%f in (*.pdf) do (

    echo %%~nf

    if NOT exist .\PDFA%%f  (
        %lib%\pdf2ps %%f tmp.ps
        %lib%\ps2pdf tmp.ps .\PDFA%%f
        DEL tmp.ps
    )
)
This seems to produce valid PDF/As but is slow and and is only appropriate for PDFs containing scanned images as text is converted to display only
Solution Champion MatthewBbull
Corresponding Issue(s) PDF to PDF A Conversion
Tool/code link http://www.ghostscript.com/download/gsdnld.html
Tool Registry Link
Evaluation