Donate Share

TCPDF - PHP class for PDF

Code

Programming Languages: PHP

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics, last commit on 2009-11-21 git://tcpdf.git.sourceforge.net/gitroot/tcpdf/tcpdf (read-only)

Show:

What's happening?

  • Followup: RE: TCPDF ERROR: Image file has no extension...

    Nicola, Would you consider something like these changes to Image() ? grab the image type also when calling getimagesize() on line 4711: list($pixw, $pixh, $img_type) = $imsize; replace the code on lines 4739 -4746: if ($type == '') { $fileinfo = pathinfo($file); if (isset($fileinfo['extension']) AND (!$this->empty_string($fileinfo['extension']))) { $type =...

    2009-11-25 22:26:35 UTC by keith

  • Blank PDF

    I'm using TCPDF 4.8.016 on PHP 5.2.9 and Drupal's print module. I'm able to successfully generate PDF documents using the "Send PDF to the standard output" option but it seems like after a certain amount of text is sent to be rendered as a PDF, I get a PDF document with the default horizontal line across the top and no other content. Other users have reported similar behavior trying to render...

    2009-11-25 19:28:04 UTC by ezra-g

  • thead and custom header/footer

    Here is the file. Regards,

    2009-11-25 19:08:20 UTC by b-bluevision-be

  • Comment: thead and custom header/footer

    To file a valid bug you must provide a valid test-case by modifying one of the existing examples.

    2009-11-25 18:50:58 UTC by nicolaasuni

  • Send two documents for one response

    This is not strictly a TCPDF problem, but came up in development with TCPDF and I hope that someone else here already hit and solved this problem. I want to send an HTML page to the user to replace the currently viewed HTML page *and* send him a PDF document. So, one request -> two responses, or one response in two parts that don't belong together (e.g. no 206 Partial Content). Is this...

    2009-11-25 16:22:09 UTC by kai-schaetzl

  • TCPDF ERROR: Image file has no extension...

    I got a surprise today with this, when generating a PDF for emailing to a user - after that user uploads an image. In this case, the user uploaded a file without an extension, which ended up in an HTML img tag which tcpdf is asked to render. Unfortunately tcpdf failed with the error in the title of this post, ending the script so the user didn't get the email. Now I am thinking, ok, i...

    2009-11-25 02:39:56 UTC by keith

  • Followup: RE: websites down ?

    Same here... both sites seem to be down. Server is not pingable, looks like the server has trouble or they are moving to another (or both?).

    2009-11-24 21:07:41 UTC by thesilentman

  • Followup: RE: Automatic page break hints

    Thanks for your help! Unfortunately, this doesn't work at all. It behaves exactly the same whether I use the nobr attribute or not. I have version 4.8.005 of TCPDF. Do I need a newer version? Thanks again!

    2009-11-24 20:25:10 UTC by quasistomach

  • Comment: thead and custom header/footer

    Looks like it's a regress of a bug I already stated a while before. In fact it does work as long as you do not have a table in header, footer or both.

    2009-11-24 17:19:49 UTC by b-bluevision-be

  • thead and custom header/footer

    It looks like when I do extends the TCPDF class to make a custom header and footer, the thead functionnality which repeat the header of the table on each pages doesn't work anymore. Version of tcpdf I use is 4.8.016. Regards, B.

    2009-11-24 17:01:59 UTC by b-bluevision-be

Our Numbers