There's instructions here http://wiki.dolibarr.org/index.php/Create_a_PDF_document_template.
Frankly, if you are not programming savvy, this method is hugely complicated. I myself find that using odt and convert PDF (although multiple steps), beats messing with the codes.
↧