Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Update April 11, 2013:</strong></p> <p>Since posting this question I have been utilizing <a href="http://www.fpdf.org/" rel="nofollow noreferrer">FPDF</a> on multiple projects where I needed to accomplish this goal. Although it cannot seem to "merge" template PDFs with the provided data, it can create the PDF from scratch.</p> <p>One example I have used, I had a high resolution PNG for printing (similar to initial question) which we had to write the customer's name and today's date clearly in the center. I simply made the background of the PDF using <a href="http://www.fpdf.org/" rel="nofollow noreferrer">FPDF->Image()</a> and write the text afterwards using <a href="http://www.fpdf.org/" rel="nofollow noreferrer">FPDF->Text()</a>.</p> <p>It was very simple after all, you will need to look up the paper sizes to determine the X,Y,W,H of the image and then base your text fields relative to those numbers.</p> <p>There was even a <a href="http://www.fpdf.org/" rel="nofollow noreferrer">Form Filling extension</a>, but I couldn't get it to work.</p> <hr> <p>It seems as though I should answer my own question, although Visions answer may be better (seems to be deleted?). I used Vasiliy Faronov's link which was a comment to my main question: <a href="https://stackoverflow.com/a/1890835/200445">https://stackoverflow.com/a/1890835/200445</a></p> <p>Here I found how to install <a href="http://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CFUQFjAA&amp;url=http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/&amp;ei=L_rrT-vqCsW7rQHXx_HpBQ&amp;usg=AFQjCNH475DC2HpzfDJGcn3AGTmkWbcC_Q&amp;sig2=PPJPpTl8dn9HeHU5wDUKOw" rel="nofollow noreferrer">pdftk</a> and run a command to merge (flatten) my FDF and PDF files. I still used the "hacky" way to generate an FDF using <a href="http://koivi.com/fill-pdf-form-fields/" rel="nofollow noreferrer">Koivi's FDF Generator</a> but it works for the most part.</p> <p>One caveat is that some characters, like single and double quotes are not inserted correctly. It may be an issue of escaping the fields, but I could not find an answer.</p> <p>Regardless, my PDF form generator is <em>working</em>, but anyone with a similar issue should look for a better solution.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload