I am trying to create a PDF file from ASP. I want to know whether there is any free tool , or is there any code to create a PDF file from ASP. If so please suggest me..
It is very very urgent.
2. I ran into this sample syntax that creates a pdf from and SQL statement and a few asp lines:
<%
'YOUR SQL STATEMENT HERE
request("idnref"
Dim oRSNew
Set oRSNew = Server.CreateObject("ADODB.Recordset"
oRSNew.open sql1, "dsn=SQL_DATABASE;uid=XXX;pwd=XXX"
response.buffer = True
response.expires = 0
'create and populate the PDF File =======================================================================
Set APToolkit = Server.CreateObject("APToolkit.Object"
APToolkit.OutputPageWidth=612
APToolkit.OutputPageHeight=792
r = APToolkit.OpenOutputFile("MEMORY"
'Set field values to equal your variables
vara = "Instructions to: & ORSNew("Client"
varb1 = "More instructions"
varb2 = "More instructions"
varb3 = "More instructions"
varb4 = "More instructions"
varb5 = "More instructions"
varb6 = "More instructions"
varb7 = "More instructions"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.