ho risolto molto più semplicemente, in 2 secondi attraverso questo topic e usando fpdf

http://forum.html.it/forum/showthrea...readid=2917716