The utility ExtractEmbeddedFiles
creates a separate file for
every attachment which is embedded in the PDF document.
The attachments are exported byte for byte, so all file formats are supported.
:: :: Extract embedded files from a PDF document. Each in a separate output file. :: @echo off setlocal set CLASSPATH=./lib/bouncycastle-jdk15on-153/*;%CLASSPATH% set CLASSPATH=./lib/commons-logging-1.2/*;%CLASSPATH% set CLASSPATH=./lib/pdfbox-2.0.0/*;%CLASSPATH% set CLASSPATH=./lib/pdfunit-2016.05/*;%CLASSPATH% set TOOL=com.pdfunit.tools.ExtractEmbeddedFiles set OUT_DIR=./tmp set IN_FILE=umsatzsteuervoranmeldung-2010.pdf set PASSWD= java %TOOL% %IN_FILE% %OUT_DIR% %PASSWD% endlocal
The PDF document umsatzsteuervoranmeldung-2010.pdf
contains
the file PrePress-Qualität.joboptions
.