Batch filling pdf form using data from Excel
Solution 1
- Create (or extract) a high-resolution image from the PDF form.
- Create a Word document using this image as a background image.
- Add mail merge text fields in the appropriate places on top of the PDF.
- Perform the mail merge with the source Excel document.
- Divide into separate documents if necessary.
- Save As PDF from Word.
If you need them, each of these steps should have instructions somewhere on this site or elsewhere on the Internet.
Solution 2
You will need to add form fields to your PDF using Adobe Acrobat or another PDF editor which supports adding form fields. Once you have a PDF with form fields to use as your template there are a number of products that do mail merge with a PDF template and data from a CSV file.
If you have Adobe Acrobat then the company I work for sells a product called Debenu PDF Aerialist which includes a mail merge feature which will do exactly what you're looking for.
Related videos on Youtube
Devin Hunt
Updated on September 18, 2022Comments
-
Devin Hunt over 1 year
I have an excel file which contains many rows of data, each row has columns like last name, first name, gender etc. I would like to batch fill these data into a form which is in PDF format, each row should then generate a new PDF file.
The problem is that the pdf file is not of the fillable type. It's not intended to be filled out on computer, there is no textbox that allows you to enter text. It's originally supposed to be printed out and filled out by pen.
Is there a way to accomplish this?
-
Brad Patton about 11 yearsNone that I know. Most likely this would need custom programming.
-
CharlieRB about 11 yearsThis is a product recommendation request which is off topic here. That means there is a chance it could be closed. In order to improve your question, and avoid closure, you can edit your question to something like, "How can I do this?" or "Is there a way to accomplish this?", which would not be off topic.
-
Devin Hunt about 11 years@CharlieRB Thanks. I have updated my question.
-
BDM about 11 yearsYou won't be able to do this with a batch file.
-
-
Devin Hunt about 10 yearsYes, this is the correct way to do this. For each mail merge label, playing with its paragraph before/after spacing will allow us to position it on the document more accurately.