Click here to Skip to main content
15,908,673 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Expert,

I am developing invoice generating application using classic asp.
I have to save an html page into pdf format.
Posted

You can use PDF crowed

OR

ASPPDFLib.IPdfManager library as following :

C#
IPdfManager objPdf = new PdfManager();
IPdfDocument objDoc = objPdf.CreateDocument( Missing.Value );
objDoc.ImportFromUrl( "http://www.yourdomain.com", "scale=0.6; hyperlinks=true; drawbackground=true", Missing.Value, Missing.Value );

String strFilename = objDoc.Save( Server.MapPath("importfromurl.pdf"), false ); 
 
Share this answer
 
Comments
T. Ramesh Kumar 26-Nov-14 7:28am    
Thanks for your reply but this solution doesn't work. I want solution in classic ASP.
Without using any library.
Check the below links for classic ASP - HTML to PDF conversion . Might give some idea for a better start .

http://stackoverflow.com/questions/440905/how-can-i-create-a-pdf-file-in-classic-asp[^]

http://sourceforge.net/projects/aspdf/[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900