Combining PDFs
This page is for anyone who needs to combine multiple PDFs.
Using 2PDF to Combine PDFs
PhixFlow generates one PDF for each record processed by a file exporter. You may want all the PDFs produced by the file exporter to be presented as pages in a single PDF. For example, each PDF is a single letter, and you want to have them in a single PDF for easy printing.
It is not possible to combine PDFs using PhixFlow. Instead, you must use the 2PDF command line tool; see fCoder 2PDF: Command Line PDF Converter - 2PDF (cmd2pdf.com)
2PDF can concatenate many PDFs into a single PDF.
The following steps provide a guideline for how to use 2PDF with PhixFlow.
Step 1: Download and Install 2PDF.
Step 2: Create
- an input directory for the individual PDFs
- an output directory for the single concatenated PDF.
Step 3: Run the Powershell command:
2pdf.exe -src "C:\Input\*.*" -dst "C:\Output" -pdf multipage:append -options template:Combined.pdf
where
"C:\Input\*.*"
is the input directory
"C:\Output"
is the output directory.
“template:Combined.pdf”
is the name of the concatenated PDF.
Step 4: 2PDF processes the PDFs, taking about 2-3 seconds per PDF.
Step 5: When processing is complete, go to your output directory and find your concatenated PDF.