Mmm...a me l'esempio 48 già dalla loro pagina restituisce un pdf corrotto ...
http://www.tcpdf.org/examples.php