5.34.8 FILL
The FILL command allows specified Acrobat form fields to be set. This command requires a field list to be pass, so values can be obtained. The form usage attribute can have a value of flatten to remove form field edit capability, remove to remove form usage rights, the default is to preserve form usage rights.
Syntax:
Command |
Keyword |
Value |
Developer notes for Command/Keyword/Value |
FILL |
DOCUMENT |
value |
Mandatory. PDF file. |
CONTENT |
value |
Mandatory. XML content file. |
|
PASSWORD |
value |
Optional. User password. |
|
MASTER |
value |
Optional. Master password |
|
NAME |
value |
Mandatory. Name of form. |
|
OUTPUT |
value |
Mandatory. Output PDF file. |
Example
FILL DOCUMENT(form.pdf) CONTENT(form.xml) NAME(insurance) OUTPUT(filled.pdf) SERVICE_EXCHANGE(*FIELD}
<?xml version="1.0" encoding="utf-8"?>
<document>
<form name="insurance" usage="flatten">
<field name="FIRM NAME" value="{FNAME}"/>
<field name="FIRM ADDRESS" value="{FADDR}"/>
</form>
</document>