Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/03/2008, 03:07
wolaya
 
Fecha de Ingreso: marzo-2008
Mensajes: 1
Antigüedad: 16 años, 1 mes
Puntos: 0
Re: crear fpdf orientacion hoja horizontal

El fpdfextended en la linea 126 y 171 al momento de hacer el salto de linea no valida segun la orientacion de la hoja, hay que corregirlo por:

if($this->DefOrientation=='L' || $this->DefOrientation=='l'){
$filas = 185;
}
if($this->DefOrientation=='P' || $this->DefOrientation=='p'){
$filas = 260;
}
if($this->getY()>$filas){
$this->AddPage();
}

Aunque hace mucho tiempo espero sirva