simple PDF configurator available
September 23rd, 2008 by Balduin
A PDF configurator is now available for download at the vtiger forge. It includes a new version of the different PDF generator which also has been posted at the forge .
This provides a simple users interface to make changes to the PDF output without programing. It provides the following features:
- select the language, font type and font size
- select the content of header and footer
- decide which content you want to see in the bodies columns
You may give it a try if you need to modify the PDF output for quotes, orders or invoices in order to fit your company needs.
You can test it at our demo and see screenshots at the vtiger forum.




I suppose that the possibility to edit the email received by the customers is more important…
thanks the same
Great! at last support of UTF characters.
How can I configure the layout to display correctly Left To Right text like Hebrew and Arabic?
Guy,
I never dealed with this issue. The text for the PDF is taken from the DB and displayed as stored. Perhaps it is feasible to reverse the character order in the pdfcreator.php after reading it from the DB.
The text is displayed correctly. It just needs to be aligned to the Right instead to the Left (mainly the address information. header, footer etc’).
Guy,
you may change the text alignment for the colums in body.php, look for array(’Position’=>’R',’OrderCode’=>’L',’Description’=>’L',’Qty’=>’R',’Unit’=>’R',’UnitPrice’=>’R',’Discount’=>’R',’Tax’=>’R',’LineTotal’=>’R');
All the other fields are also aligned by ‘L’ or ‘R’ in body.php, header.php and footer.php. You may change it to other alignments.
Could you please tell me how to install tcpdf in Vtiger ?
is there something to setup ?
To be more precise :
in that process to install the module, It’s written in step 3 : “apply the files provided with this package” I dont understant that step because I’ve just Replace the /include/tcpdf by the tcpdf version tcpdf_4_0_027.zip I’ve download ? is it that ?
1. Make a backup of your existing files before you apply any changes.
2. a new tcpdf class version is needed. This pdf class is to large to make it available with this package.
You may download it from http://www.tcpdf.org or http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/t/tc/tcpdf/
This package is based on version tcpdf_php5 TCPDF 3.1.001 (PHP5 version).
You must delete the ‘old’ /include/tcpdf directory and replace it by the new files. Make sure that the directory name is “include\tcpdf”.
3. apply the files provided with this package
4. delete any existing Smarty cache at /Smarty/templates_c
French Localization added .
http://forums.vtiger.com/viewtopic.php?p=71443#71443
I tried to add the salutation to the header by: $pdf->text($xmargin,$ymargin,$contact_salutation). But does not work. There relevant contact has a “Mr.”.
Thanks,
Markus