PDF Forms Flattener
Flatten AcroForm & XFA Documents
Automate batch processing of flattening of static XFA, dynamic XFA and AcroForms into standard PDFs for easier printing, distribution and storage.
AcroForms & XFA Flattening
Flatten XFA & Acroform, including all standard barcode types
Appearance Streams
Build appearances for fields & annotations when saving the document
Import Forms Data
Populate blank form fields from external data sources
Adobe & Acrobat JS Support
Handles both Adobe or Acrobat JavaScript variations
Flatten for Print or Screen
Fine-tune the form fields & data visible in output files
Global Dates & Numerals
Preserve the date and numeric patterns in data
Get Free Trial
Available in Windows 64-bit only
Command Line Syntax
Command Line Syntax
//The command syntax for Forms Flattener must include:
PDFFormsFlattener Program executable name
-i [--input] Path to the PDF form input document
-o [--output] Path to where the output PDF document will be saved
//You can also add two optional values:
-d [--import] Path to the forms input data file. Use this value to import data into the blank fields on a PDF form document. For XFA documents this file must have extension .xdp, .xfd, or .xml. For AcroForm documents this file must have extension .xfdf, .fdf, or .xml.
-p [--asPrinted] Flatten an XFA document as if it were printed.
//For each command line option, you can use the short (“-i”) or long (“--input”) notation.
//A command statement for the PDF Forms Flattener might look like this:
PDFFormsFlattener –-input XFADocument.pdf –-output Flattened_output.pdf -–import datafile.xdp
//You don’t need to include a path name for any of these files if the input file and profile are stored in the same directory as the program executable, and if you save the output file to the same directory as well.
//But you might want to draw an input file from one directory and save the output to another. In that event you need to provide the path as well as the file name:
PDFFormsFlattener –-input C:\Datalogics\InputFiles\XFADocument.pdf –-output C:\Datalogics\FlattenedFiles\Flattened_output.pdf
//If any of the file or path names include spaces, use quotes around the name:
PDFFormsFlattener –-input "C:\Datalogics\Optimized Files\XFADocument.pdf" –-output C:\Datalogics\FlattenedFiles\Flattened_output.pdf
//The Windows installation program for Forms Flattener adds the location of the PDF Forms Flattener executable to the PATH in the Windows Environment Variables, so you can run the executable, PDFFormsFlattener.exe, from anywhere.