AspPdf is an active server component written by Persists Software Inc. With this component you can dynamically create, read and modify Portable Document Format (PDF) files. PDF is the de-facto world-wide standard for creating and exchanging platform-independent printable documents. Giving your ASP/ASP.Net-based web applications the power to generate and modify PDF documents on the fly opens endless opportunities for you and your users.
Hello World PDF example in ASP:
<%
Set Pdf = Server.CreateObject("Persits.Pdf")
Set Doc = Pdf.CreateDocument
Doc.Title = " Hello World Sample"
Doc.Creator = "William Stone"
Set Page = Doc.Pages.Add
Set Font = Doc.Fonts("Helvetica")
Params = "x=0; y=650; width=612; alignment=center; size=50"
Page.Canvas.DrawText "Hello World!", Params, Font
Filename = Doc.Save( Server.MapPath("hello.pdf"), False )
Response.Write "Success! Download your PDF file <A HREF=" & Filename & ">here</A>"
%>