# Producing pdf docs, best strategy

**URL:** <https://www.ruby-forum.com/t/producing-pdf-docs-best-strategy/111305>\
**Category:** Rails\
**Created:** [August 5, 2007, 2:48pm UTC](https://www.ruby-forum.com/t/producing-pdf-docs-best-strategy/111305 "2007-08-05T14:48:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [August 5, 2007, 2:48pm UTC](https://www.ruby-forum.com/t/producing-pdf-docs-best-strategy/111305/1 "2007-08-05T14:48:00Z")

</div>

I would like to produce simple ‘contracts’ based on data stored in a DB  
and a standard template  
(simple : few data , name / address / dates … and one standard  
template document )

I can use PDF Writer or XML-FO, but I don’t know the pro-cons of  
both…

in the firts version the user will not have the capability to modify the  
texts in the template, but maybe in a second version… does it influence  
the choice ?

thanks for your suggestions

kad
