This example is a variant of the previous one showing how to lay the text across multiple columns.

class PDF extends FPDF
//Current column
var $col=0;
//Ordinate of column start
var $y0;

function Header()
    //Page header
    global $title;

    //Save ordinate

function Footer()
    //Page footer
    $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');

function SetCol($col)
    //Set position at a given column

function AcceptPageBreak()
    //Method accepting or not automatic page break
        //Go to next column
        //Set ordinate to top
        //Keep on page
        return false;
        //Go back to first column
        //Page break
        return true;

function ChapterTitle($num,$label)
    $this->Cell(0,6,"Chapter $num : $label",0,1,'L',true);
    //Save ordinate

function ChapterBody($file)
    //Read text file
    //Output text in a 6 cm width column
    $this->Cell(0,5,'(end of excerpt)');
    //Go back to first column

function PrintChapter($num,$title,$file)
    //Add chapter

$pdf=new PDF();
$title='20000 Leagues Under the Seas';
$pdf->SetAuthor('Jules Verne');
$pdf->PrintChapter(1,'A RUNAWAY REEF','20k_c1.txt');
$pdf->PrintChapter(2,'THE PROS AND CONS','20k_c2.txt');


The key method used is AcceptPageBreak(). It allows to accept or not an automatic page break. By refusing it and altering the margin and current position, the desired column layout is achieved.
For the rest, not many changes; two properties have been added to the class to save the current column number and the position where columns begin, and the MultiCell() call specifies a 6 centimeter width.