Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/01/2009, 09:22
evoarte
 
Fecha de Ingreso: julio-2002
Mensajes: 813
Antigüedad: 22 años, 8 meses
Puntos: 2
error con fpdf al cargar una imagen

he probado el tutorial basico y OK

pero pruebo el segundo y me devuelve este error:

ADODB.Stream error '800a0bba'

File could not be opened.

/pdf/fpdf/includes/images.asp, line 33

el código es este:

<%@language=javascript%>
<!--#include file="fpdf.asp"-->
<%

// Creazione dell'oggetto
pdf=new FPDF();

// Ridefinizione delle funzioni
pdf.Header=function Header()
{

this.Image('fpdf.JPG',10,8,33);
this.SetFont('Arial','B',15);
this.Cell(80);
this.Cell(30,10,'Title',1,0,'C');
this.Ln(20);
}

pdf.Footer=function Footer()
{
this.SetY(-15);
this.SetFont('Arial','I',8);
this.Cell(0,10,'Page '+ this.PageNo()+ '/{nb}',0,0,'C');
}

// Main
pdf.CreatePDF();
pdf.SetPath("fpdf/");
pdf.Open();
pdf.AddPage();
pdf.SetFont('Times','',12);
for(i=1;i<=40;i++)
pdf.Cell(0,10,'Printing line number '+i,0,1);
pdf.Output();
%>


como se deben especificar las imagenes para que las cargue?

un saludo,
josé carlos.