
16/06/2005, 09:37
|
 | | | Fecha de Ingreso: noviembre-2003 Ubicación: Lima - Perú
Mensajes: 443
Antigüedad: 21 años, 4 meses Puntos: 1 | |
a ver, yo tengo lo siguiente:
<%@language=vbscript%>
<!--#include file="libs/fpdf/fpdf.asp"-->
<%
.
.
.
// Redefinimos la función
pdf.Header=function Header()
{
this.Image('images/logo.jpg',10,8,53);
this.SetFont('Arial','B',15);
this.Ln(6);
this.Cell(65);
this.Cell(110,10,'SISTEMA DE TRÁMITE DOCUMENTARIO',1,0,'C');
this.Ln(26);
}
// Creación del objeto
set pdf=CreateJsObject("FPDF");
// Main
pdf.CreatePDF();
pdf.SetPath("libs/fpdf/");
pdf.Open();
pdf.AddPage();
.
.
.
pdf.Output();
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<Title>INS</Title>
</HEAD>
<BODY>
<P> </P>
</BODY>
</HTML>
y me da el siguiente error:
Tipo de error:
Error de compilación de Microsoft VBScript (0x800A03EA)
Error de sintaxis
/tramitedoc/reg_doc_print.asp, línea 13, columna 16
set pdf.Header == function Header()
---------------^
__________________ Tarecito |