Ver Mensaje Individual
  #256 (permalink)  
Antiguo 17/08/2009, 08:30
joseaculex84
 
Fecha de Ingreso: agosto-2009
Ubicación: Santiago
Mensajes: 10
Antigüedad: 14 años, 9 meses
Puntos: 1
Respuesta: generar pdf desde asp

Hola a todos....e seguido todas sus dudas y respuestas...
Gracias por ello...pero me salta una duda...

Se podra colocar una variable dentro del header...???
Etratado de realizarlo...pero no me funciona...no se si lo estare haciendo mal...
alguien me puede ayudar please...??

dejo algo del codigo que estoy realizando..

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

</head>
<body>
<%
strFecha_T = Request.Form("Fecha_T")
%>
<%
var pdf=new FPDF();
pdf.Header=function Header()
{
var Actual;
this.Image('images/Logo_LFE.JPG',20,8,70);
this.SetFont('Arial','B',12);
this.Ln(20);
this.Cell(1);
this.Cell(70,10,'COMPROBANTE DE FERIADOS',0,0,'C');
this.Cell(15);
this.Cell(30,7,'LUGAR',1,0,'C');
this.Cell(1);
this.Cell(20,7,'DIA',1,0,'C');
this.Cell(1);
this.Cell(20,7,'MES',1,0,'C');
this.Cell(1);
this.Cell(20,7,'AÑO',1,0,'C');
this.Ln(7);
this.Cell(86);
this.Cell(30,7,'LUGAR',1,0,'C');
this.Cell(1);
this.Cell(20,7,strFecha_T,1,0,'C');
this.Ln(26);

}


Gracias de Antemano!!!!