On this Page

    Combining PDFs using PDFExtract

    Another way to get a 'combined PDF', i.e. a multi-document PDF, is to use PDFExtract in the following manner.

    DO PDFExtract -in file1.pdf -in file2.pdf -out output.pdf

    You can specify as many input PDF files as you like and they will all be combined into a single output PDF. Perhaps you would want to combine a 'Statement' and an invoice. Recall that DocOrigin JavaScript (in the form, or in a Job Processing script, or even standalone via RunScript) can use its _run function to run any application. A script could easily be crafted to run PDFExtract so as to combine PDF documents on the fly, and under scripting logic control.

    PDFExtract operates on only DocOrigin-produced PDF files.