![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/03/2008, 03:07
|
| | Fecha de Ingreso: marzo-2008
Mensajes: 1
Antigüedad: 16 años, 10 meses 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 |