fill_form

Fill a PDF form

Usage

pdftl <input> fill_form <form_data> output <file> [<option>...]

Details

The fill_form operation is used to fill in a form in a PDF. The <form_data> can be the path to a file in FDF or XFDF format, or -, or PROMPT.

This operation supports text boxes, checkboxes, list-boxes, radio buttons (including multi-page synchronized groups), and choice fields with single or multiple options selected.

Examples

Complete a form in in.pdf using data from data.fdf

pdftl in.pdf fill_form data.fdf output out.pdf

Tags: in_place, forms

Source: pdftl.operations.fill_form

Read online: https://pdftl.readthedocs.io/en/latest/operations/fill_form.html

Type: Operation