pdfformfiller 1.0-alpha is a command line utility for filling in Adobe PDF Forms.
For WWW: A php example, that uses fast Unix pipes (and no disk write permissions required on the host), is provided.
It support UTF-8 (Russian, etc.).
Proper escaping functions are provided in the php example.
Well known pdftk utility can be used for filling in PDF Forms.
However, I was not able to get the version pdftk1.4 to work with UTF-8.
It's XFDF format support UTF-8 encoding, and assumes Adobe uses an UTF-8 font by default. Whereas, Adobe Readers (at least upto version X) do not, and UTF-8 text is entered by pdftk but is not shown in its form until user clicks on the form and edits it.
In PdfFormFiller, you can use the -font option to specify a UTF-8 font to use to fill in the forms to resolve this issue.
Also, our fields input file format is much simpler then XFDF of pdftk that requires XML parsing.
Based on the Belgian iText library v. 5.2.0, http://www.itextpdf.com/
License
GNU General Public License version 2.0 (GPLv2)Follow PdfFormFillerUTF-8
User Reviews
-
Good solution to treat the pdf form filling with UTF8 characters. I managed to integrate him in an Yii application. Thanks.
-
Does it works under Windows?