Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We tend to issue certificates to our members in the form of PDF files. Till now we have been doing this manually and now we wish to automate the certificate generation part.

We need a functionality whereby my site members should be prompted for the full name. As soon as they hit the Submit button, the PDF file should get generated embedding their name in it with the current date. We already have the certificate (in the form of PDF file) with our branding, design and other text in it. We just want that our member's name should get populated at a particular place within the PDF file.

Is it possible? or are there any apps which can do such a job for me?


share|improve this question

It's definitely possible. I've done dynamic generation of PDFs before using Django, so the first thing that came to mind was using ReportLab, however, to modify existing files with ReportLab requires buying their pro-level software, so I looked up something else and came across this:

Using a combination of and should get you started if you want to roll your own Python/Django solution.

share|improve this answer

There is a way of doing this using PHP

The documentation can be found here -

You are probably looking for this section in particular -

share|improve this answer

To have the best control over it especially formatting, I would put the entire thing into a PHP program to build the output which would include the customization. Then output a PDF for the user. Editing an existing PDF file can introduce more risk because the environment can change over time, and you wouldn't know about it until you hear complaints from the users.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.