How to Convert .aspx page to .pdf file? without using iTextSharp.dll

Posted by Mahe under ASP.NET on 7/18/2012 | Points: 10 | Views : 5653 | Status : [Member] | Replies : 5
Hi,

How to Convert .aspx page to .pdf file? without using iTextSharp.dll
if .aspx page contain any controls or text, the same should appear in .pdf file in same position.

Regards,
Mahe




Responses

Posted by: Rajkatie on: 7/18/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Kindly visit following link
http://code.google.com/p/wkhtmltopdf/

Rajesh Patel
.Net Trainer(MSCD | MCT | MS)
Brainbench (Asp.Net 4.5 and C# 5.0)

Mahe, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Megan00 on: 7/18/2012 [Member] Starter | Points: 25

Up
0
Down
I recently come across a PDF component, it can realize this task through three steps.see the below link and code:
http://www.e-iceblue.com/Introduce/pdf-for-net-introduce.html
String url = "http://www.bookadventure.com/Home.aspx";
doc.LoadFromHTML(url, false, true, true);
doc.SaveToFile("sample.pdf");
doc.Close();

Never give up! Smile to the world!
http://excelcsharp.blog.com/

Mahe, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Stevnetk on: 7/30/2012 [Member] Starter | Points: 25

Up
0
Down
I use this http://www.hiqpdf.com/free_html_to_pdf_converter/ for accurate conversion of complex .aspx pages

Mahe, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 7/31/2012 [Member] Silver | Points: 25

Up
0
Down
Simila question here http://stackoverflow.com/questions/1220423/directly-convert-aspx-to-pdf

Mahe, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 7/31/2012 [Member] Silver | Points: 25

Up
0
Down
Mark as answer if it helps...,That motivates...!!!

Mahe, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response