AddPage(); $pdf->SetFont('Arial','',14); //Table with 20 rows and 4 columns $pdf->SetWidths(array(30,50,30,40)); srand(microtime()*1000000); for($i=0;$i<20;$i++) $pdf->Row(array(GenerateSentence(),GenerateSentence(),GenerateSentence(),GenerateSentence())); $pdf->Output(); ?>