olaa natalia 
 
pz yo lo realizo de la siguiente manera :  
 Código PHP:
    
<?php
require('fpdf.php');
 
class PDF extends FPDF
{
 
function Header()
{
 
    $this->SetFont('Times','B',16);
    $this->Ln(0);
    $this->Cell($w,9,'Ejemplo : '.$title,'C',1);
      $this->Ln(0);
}
function Footer()
{
 
   
    $this->SetY(-35);
    $ac=0;
    $alc=4;
    $this->SetY(-19);
    $this->SetFont('Times','B',8);
    $this->Cell(0,1,'','T','C');
    $this->Ln(1);
 
}
 
function datos($rut)
{
    //ancho Contenido
    $ac=0;
    //Altura Contenido
    $alc=4;
 
    $this->SetFont('Times','B',9);
      $this->SetY(99);
    $this->SetX(130);
    //Imprimimos los titulos
    $this->Cell($ac,$alc," ".$rut,0,0,'L');
  
}
}
 
//me conecto con la BD para realizar la consulta de los datos
$dbmysql = mysql_connect(DB_HOST,DB_USER,DB_PWD);
mysql_select_db(DB_NAME,$dbmysql);
 
if (!$dbmysql)
{
    error_conexion();
    die();
}
 
$pdf=new PDF('P','mm','Letter');
$pdf->SetTitle($title);
$pdf->AddPage();
 
$consulta = mysql_query("SELECT * FROM test");
 
while ($fila = mysql_fetch_assoc($consulta))
{
    $pdf->datos($fila["nombre"]);
}
mysql_free_result($consulta);
//cerramos la conexion con la BD
mysql_close($dbmysql);
$pdf->Output();
?>    
  Espero q tesirva
Si tienes alguna duda me dises bay