Código:
<%@language="vbscript"%> <!--#include file="fpdf.asp"--> <% cadena=Request.QueryString("cadena") %> <html> <head><title>Generar PDF con ASP</title> </head> <body> <% Set pdf=CreateJsObject("FPDF") pdf.CreatePDF() pdf.SetPath("fpdf/") pdf.SetFont "Arial","",12 pdf.Open() pdf.AddPage() pdf.Cell 42,0,"Hello Gaby!" pdf.ln() pdf.Cell 42,10, "Veremos ahora de agregar cositas" pdf.ln() pdf.cell 42,10, cadena pdf.Output() pdf.Close() %> </body> </html>